From c7dbc7c61c7094ea4ec49bd630023f23b92fd9d1 Mon Sep 17 00:00:00 2001 From: RncLsn Date: Mon, 18 May 2015 18:27:32 +0100 Subject: Configured Maven and improved executable class and tests. --- .../ox/cs/pagoda/global_tests/TestPagodaNPD.java | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaNPD.java (limited to 'test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaNPD.java') diff --git a/test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaNPD.java b/test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaNPD.java new file mode 100644 index 0000000..939ee6e --- /dev/null +++ b/test/uk/ac/ox/cs/pagoda/global_tests/TestPagodaNPD.java @@ -0,0 +1,38 @@ +package uk.ac.ox.cs.pagoda.global_tests; + +import org.testng.annotations.Test; +import uk.ac.ox.cs.pagoda.Pagoda; +import uk.ac.ox.cs.pagoda.util.TestUtil; + +import java.io.IOException; +import java.nio.file.Paths; + +public class TestPagodaNPD { + + public static final String ANSWER_PATH = "~/PagodaNPDWithoutDatatype.json"; + + @Test + public void justExecuteNPDWithoutDataType() { + String ontoDir = TestUtil.getConfig().getProperty("ontoDir"); + Pagoda pagoda = Pagoda.builder() + .ontology(Paths.get(ontoDir, "npd/npd-all-minus-datatype.owl")) + .data(Paths.get(ontoDir, "npd/data/npd-data-dump-minus-datatype-new.ttl")) + .query(Paths.get(ontoDir, "npd/queries/atomic.sparql")) + .answer(ANSWER_PATH) + .classify(true) + .hermit(true) + .build(); + pagoda.run(); + } + + @Test + public void testNPDwithoutDataType() throws IOException { + // TODO implement + } + + @Test + public void testNPD() throws IOException { + // TODO implement + } + +} -- cgit v1.2.3