diff options
| author | RncLsn <rnc.lsn@gmail.com> | 2015-05-15 17:32:22 +0100 |
|---|---|---|
| committer | RncLsn <rnc.lsn@gmail.com> | 2015-05-15 17:32:22 +0100 |
| commit | 1b6a128137e5d7a6ff75566869232fc054afabef (patch) | |
| tree | 3def49c3c9c1e2ebebc49b82d9eb562b6d097cad /test/uk/ac/ox/cs/pagoda/global_tests/PagodaLUBM.java | |
| parent | bd995407098d1b0c79c17a28b0b23a2c24a493c6 (diff) | |
| download | ACQuA-1b6a128137e5d7a6ff75566869232fc054afabef.tar.gz ACQuA-1b6a128137e5d7a6ff75566869232fc054afabef.zip | |
Testing and fixing. Executed successfully on UOBM{1,2,3,4,5,6,7,8}.
Diffstat (limited to 'test/uk/ac/ox/cs/pagoda/global_tests/PagodaLUBM.java')
| -rw-r--r-- | test/uk/ac/ox/cs/pagoda/global_tests/PagodaLUBM.java | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/test/uk/ac/ox/cs/pagoda/global_tests/PagodaLUBM.java b/test/uk/ac/ox/cs/pagoda/global_tests/PagodaLUBM.java new file mode 100644 index 0000000..2014ec1 --- /dev/null +++ b/test/uk/ac/ox/cs/pagoda/global_tests/PagodaLUBM.java | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | package uk.ac.ox.cs.pagoda.global_tests; | ||
| 2 | |||
| 3 | import org.testng.annotations.Test; | ||
| 4 | import uk.ac.ox.cs.pagoda.util.TestUtil; | ||
| 5 | |||
| 6 | import java.io.IOException; | ||
| 7 | import java.nio.file.Paths; | ||
| 8 | |||
| 9 | public class PagodaLUBM { | ||
| 10 | |||
| 11 | private void testN(int number ) throws IOException { | ||
| 12 | String ontoDir = TestUtil.getConfig().getProperty("ontoDir"); | ||
| 13 | TestGlobalCorrectness.test(Paths.get(ontoDir, "lubm/univ-bench.owl"), | ||
| 14 | Paths.get(ontoDir, "lubm/data/lubm" + number + ".ttl"), | ||
| 15 | Paths.get(ontoDir, "lubm/queries/test.sparql"), | ||
| 16 | Paths.get(ontoDir, "lubm/lubm" + number + ".json")); | ||
| 17 | } | ||
| 18 | |||
| 19 | @Test | ||
| 20 | public void test1() throws IOException { | ||
| 21 | testN(1); | ||
| 22 | } | ||
| 23 | |||
| 24 | } | ||
