diff options
| author | RncLsn <rnc.lsn@gmail.com> | 2015-06-10 17:12:36 +0100 |
|---|---|---|
| committer | RncLsn <rnc.lsn@gmail.com> | 2015-06-10 17:12:36 +0100 |
| commit | 3a276b7c7836e56a171ab753b018913ce022ba8e (patch) | |
| tree | a6c25a1f68a5ff68e7b92d94f08aac19412c9b72 /test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaUOBM.java | |
| parent | 6e8ee40e41d84e0466153802a2c9b4ae88af3544 (diff) | |
| download | ACQuA-3a276b7c7836e56a171ab753b018913ce022ba8e.tar.gz ACQuA-3a276b7c7836e56a171ab753b018913ce022ba8e.zip | |
Small changes.
Diffstat (limited to 'test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaUOBM.java')
| -rw-r--r-- | test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaUOBM.java | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaUOBM.java b/test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaUOBM.java index bdfb818..1d9f1e6 100644 --- a/test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaUOBM.java +++ b/test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaUOBM.java | |||
| @@ -79,7 +79,7 @@ public class TestPagodaUOBM { | |||
| 79 | answersCorrectness_sygenia(1); | 79 | answersCorrectness_sygenia(1); |
| 80 | } | 80 | } |
| 81 | 81 | ||
| 82 | @Test(groups = {"heavy",}, dataProvider = "UOBMNumbers") | 82 | @Test(groups = {"heavy"}, dataProvider = "UOBMNumbers") |
| 83 | public void answersCorrectness_sygenia_allBlanks(int number) throws IOException { | 83 | public void answersCorrectness_sygenia_allBlanks(int number) throws IOException { |
| 84 | String ontoDir = TestUtil.getConfig().getProperty("ontoDir"); | 84 | String ontoDir = TestUtil.getConfig().getProperty("ontoDir"); |
| 85 | // Path answers = Paths.get(File.createTempFile("answers", ".json").getAbsolutePath()); | 85 | // Path answers = Paths.get(File.createTempFile("answers", ".json").getAbsolutePath()); |
| @@ -99,4 +99,19 @@ public class TestPagodaUOBM { | |||
| 99 | // CheckAnswers.assertSameAnswers(answers, givenAnswers); | 99 | // CheckAnswers.assertSameAnswers(answers, givenAnswers); |
| 100 | } | 100 | } |
| 101 | 101 | ||
| 102 | @Test(groups = {"justExecute"}) | ||
| 103 | public void justExecute_existentialQueries() throws IOException { | ||
| 104 | String ontoDir = TestUtil.getConfig().getProperty("ontoDir"); | ||
| 105 | |||
| 106 | Pagoda.builder() | ||
| 107 | .ontology(Paths.get(ontoDir, "uobm/univ-bench-dl.owl")) | ||
| 108 | .data(Paths.get(ontoDir, "uobm/data/uobm1.ttl")) | ||
| 109 | .query(Paths.get(ontoDir, "uobm/queries/existential_queries.sparql")) | ||
| 110 | // .answer(answers) | ||
| 111 | .classify(true) | ||
| 112 | .hermit(true) | ||
| 113 | .skolem(false) | ||
| 114 | .build() | ||
| 115 | .run(); | ||
| 116 | } | ||
| 102 | } | 117 | } |
