diff options
Diffstat (limited to 'test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaReactome.java')
| -rw-r--r-- | test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaReactome.java | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaReactome.java b/test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaReactome.java deleted file mode 100644 index 8a8a596..0000000 --- a/test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaReactome.java +++ /dev/null | |||
| @@ -1,53 +0,0 @@ | |||
| 1 | package uk.ac.ox.cs.pagoda.global_tests; | ||
| 2 | |||
| 3 | import org.testng.annotations.Test; | ||
| 4 | import uk.ac.ox.cs.pagoda.Pagoda; | ||
| 5 | import uk.ac.ox.cs.pagoda.util.TestUtil; | ||
| 6 | |||
| 7 | import java.io.IOException; | ||
| 8 | import java.nio.file.Paths; | ||
| 9 | |||
| 10 | public class TestPagodaReactome { | ||
| 11 | |||
| 12 | @Test(groups = {"justExecute"}) | ||
| 13 | public void justExecute() throws IOException { | ||
| 14 | String ontoDir = TestUtil.getConfig().getProperty("ontoDir"); | ||
| 15 | |||
| 16 | Pagoda.builder() | ||
| 17 | .ontology(Paths.get(ontoDir, "reactome/biopax-level3-processed.owl")) | ||
| 18 | .data(Paths.get(ontoDir, "reactome/data/sample_10.ttl")) | ||
| 19 | .query(Paths.get(ontoDir, "reactome/test.sparql")) | ||
| 20 | .classify(true) | ||
| 21 | .hermit(true) | ||
| 22 | .build() | ||
| 23 | .run(); | ||
| 24 | } | ||
| 25 | |||
| 26 | @Test(groups = {"sygenia"}) | ||
| 27 | public void justExecute_sygenia() throws IOException { | ||
| 28 | String ontoDir = TestUtil.getConfig().getProperty("ontoDir"); | ||
| 29 | |||
| 30 | Pagoda.builder() | ||
| 31 | .ontology(Paths.get(ontoDir, "reactome/biopax-level3-processed.owl")) | ||
| 32 | .data(Paths.get(ontoDir, "reactome/data/sample_10.ttl")) | ||
| 33 | .query(Paths.get(ontoDir, "reactome/reactome_sygenia_queries.sparql")) | ||
| 34 | .classify(true) | ||
| 35 | .hermit(true) | ||
| 36 | .build() | ||
| 37 | .run(); | ||
| 38 | } | ||
| 39 | |||
| 40 | @Test(groups = {"existential"}) | ||
| 41 | public void justExecute_existential() throws IOException { | ||
| 42 | String ontoDir = TestUtil.getConfig().getProperty("ontoDir"); | ||
| 43 | |||
| 44 | Pagoda.builder() | ||
| 45 | .ontology(Paths.get(ontoDir, "reactome/biopax-level3-processed.owl")) | ||
| 46 | .data(Paths.get(ontoDir, "reactome/data/sample_10.ttl")) | ||
| 47 | .query(Paths.get(ontoDir, "reactome/existential_queries.sparql")) | ||
| 48 | // .query(Paths.get(ontoDir, "reactome/Queries_by_Feier-et-al.sparql")) | ||
| 49 | .build() | ||
| 50 | .run(); | ||
| 51 | } | ||
| 52 | |||
| 53 | } | ||
