From f2909a748a300f94cf6067fc84416e408d3e6de8 Mon Sep 17 00:00:00 2001 From: RncLsn Date: Wed, 6 May 2015 18:11:08 +0100 Subject: Switch from JUnit to TestNG. Plus minor fixes. --- test/uk/ac/ox/cs/pagoda/junit/JAIR_PAGOdA.java | 173 ------------------------- 1 file changed, 173 deletions(-) delete mode 100644 test/uk/ac/ox/cs/pagoda/junit/JAIR_PAGOdA.java (limited to 'test/uk/ac/ox/cs/pagoda/junit/JAIR_PAGOdA.java') diff --git a/test/uk/ac/ox/cs/pagoda/junit/JAIR_PAGOdA.java b/test/uk/ac/ox/cs/pagoda/junit/JAIR_PAGOdA.java deleted file mode 100644 index 2a148cc..0000000 --- a/test/uk/ac/ox/cs/pagoda/junit/JAIR_PAGOdA.java +++ /dev/null @@ -1,173 +0,0 @@ -package uk.ac.ox.cs.pagoda.junit; - -import org.junit.Test; - -import uk.ac.ox.cs.pagoda.tester.PagodaTester; - -public class JAIR_PAGOdA { - - public void lubm1() { - String[] args = new String[] { - PagodaTester.onto_dir + "lubm/univ-bench.owl", - PagodaTester.onto_dir + "lubm/data/lubm1.ttl", - PagodaTester.onto_dir + "lubm/queries/test.sparql" - }; - PagodaTester.main(args); - AllTests.copy("output/log4j.log", "/home/yzhou/java-workspace/test-share/results_new/lubm1/pagoda"); - } - - - public void lubm1_conj() { - String[] args = new String[] { - PagodaTester.onto_dir + "lubm/univ-bench.owl", - PagodaTester.onto_dir + "lubm/data/lubm1.ttl", - PagodaTester.onto_dir + "lubm/queries/test_pellet.sparql" - }; - PagodaTester.main(args); - AllTests.copy("output/log4j.log", "/home/yzhou/java-workspace/test-share/results_new/lubm1/pagoda_conj"); - } - - - public void lubm1_rolledUp() { - String[] args = new String[] { - "/home/yzhou/backup/20141212/univ-bench-queries.owl", - PagodaTester.onto_dir + "lubm/data/lubm1.ttl", - PagodaTester.onto_dir + "lubm/queries/atomic_lubm.sparql" - }; - PagodaTester.main(args); - AllTests.copy("output/log4j.log", "/home/yzhou/java-workspace/test-share/results_new/lubm1/pagoda_rolledUp"); - } - - - public void uobm1() { - String[] args = new String[] { - PagodaTester.onto_dir + "uobm/univ-bench-dl.owl", - PagodaTester.onto_dir + "uobm/data/uobm1.ttl", - PagodaTester.onto_dir + "uobm/queries/standard.sparql" - }; - PagodaTester.main(args); - AllTests.copy("output/log4j.log", "/home/yzhou/java-workspace/test-share/results_new/uobm1/pagoda"); - } - - - public void uobm1_conj() { - String[] args = new String[] { - PagodaTester.onto_dir + "uobm/univ-bench-dl.owl", - PagodaTester.onto_dir + "uobm/data/uobm1.ttl", - PagodaTester.onto_dir + "uobm/queries/standard_pellet.sparql" - }; - PagodaTester.main(args); - AllTests.copy("output/log4j.log", "/home/yzhou/java-workspace/test-share/results_new/uobm1/pagoda_conj"); - } - - - public void uobm1_rolledUp() { - String[] args = new String[] { - "/home/yzhou/backup/20141212/univ-bench-dl-queries.owl", - PagodaTester.onto_dir + "uobm/data/uobm1.ttl", - PagodaTester.onto_dir + "uobm/queries/atomic_uobm.sparql" - }; - PagodaTester.main(args); -// AllTests.copy("output/log4j.log", "/home/yzhou/java-workspace/test-share/results_new/uobm1/pagoda_rolledUp"); - } - - - public void fly() { - String[] args = new String[] { - PagodaTester.onto_dir + "fly/fly_anatomy_XP_with_GJ_FC_individuals.owl", - null, - PagodaTester.onto_dir + "fly/queries/fly_pellet.sparql" - }; - PagodaTester.main(args); -// AllTests.copy("output/log4j.log", "/home/yzhou/java-workspace/test-share/results_new/fly/pagoda"); - } - - @Test - public void fly_conj() { - String[] args = new String[] { - PagodaTester.onto_dir + "fly/fly_anatomy_XP_with_GJ_FC_individuals.owl", - null, - PagodaTester.onto_dir + "fly/queries/fly_pellet.sparql" - }; - PagodaTester.main(args); - AllTests.copy("output/log4j.log", "/home/yzhou/java-workspace/test-share/results_new/fly/pagoda_conj"); - } - - - public void fly_rolledUp() { - PagodaTester.main(new String[] { -// PagodaTester.onto_dir + "fly/fly_anatomy_XP_with_GJ_FC_individuals.owl", - PagodaTester.onto_dir + "fly/fly-all-in-one_rolledUp.owl", - null, - PagodaTester.onto_dir + "fly/queries/fly_atomic.sparql" - }); -// AllTests.copy("output/log4j.log", "/home/yzhou/java-workspace/test-share/results_new/fly/pagoda_rolledUp"); - } - - public void dbpedia() { - PagodaTester.main( - PagodaTester.onto_dir + "dbpedia/integratedOntology-all-in-one-minus-datatype.owl", - PagodaTester.onto_dir + "dbpedia/data/dbpedia-minus-datatype-new.ttl", - PagodaTester.onto_dir + "dbpedia/queries/atomic_ground.sparql" - , "dbpedia.ans" - ); - -// AllTests.copy("output/log4j.log", "/home/yzhou/java-workspace/test-share/results_new/dbpedia/pagoda"); - } - - public void npd() { - PagodaTester.main( - PagodaTester.onto_dir + "npd/npd-all-minus-datatype.owl", - PagodaTester.onto_dir + "npd/data/npd-data-dump-minus-datatype-new.ttl", - PagodaTester.onto_dir + "npd/queries/atomic_ground.sparql" - , "npd.ans" - ); - -// AllTests.copy("output/log4j.log", "/home/yzhou/java-workspace/test-share/results_new/npd/pagoda"); - } - - public void reactome() { - PagodaTester.main( - PagodaTester.onto_dir + "bio2rdf/reactome/biopax-level3-processed.owl", - PagodaTester.onto_dir + "bio2rdf/reactome/graph sampling/reactome_sample_10.ttl", -// null, -// PagodaTester.onto_dir + "bio2rdf/reactome/queries/atomic_ground.sparql" - PagodaTester.onto_dir + "bio2rdf/reactome/queries/example.sparql" - , "pagoda_reactome.ans" - ); - AllTests.copy("log4j.log", "output/jair/pagoda_reactome.example"); - -// AllTests.copy("output/log4j.log", "/home/yzhou/java-workspace/test-share/results_new/reactome/pagoda_10p"); - } - - public void chembl() { - PagodaTester.main( - PagodaTester.onto_dir + "bio2rdf/chembl/cco-noDPR.ttl", - PagodaTester.onto_dir + "bio2rdf/chembl/graph sampling/sample_1.nt", -// PagodaTester.onto_dir + "bio2rdf/chembl/queries/atomic_ground.sparql" - PagodaTester.onto_dir + "bio2rdf/chembl/queries/example.sparql" - , "pagoda_chembl.ans" - ); - AllTests.copy("log4j.log", "output/jair/pagoda_chembl.example"); -// AllTests.copy("output/log4j.log", "/home/yzhou/java-workspace/test-share/results_new/chembl/pagoda_1p"); - } - - public void uniprot() { - PagodaTester.main( - PagodaTester.onto_dir + "bio2rdf/uniprot/core-sat-processed.owl", - PagodaTester.onto_dir + "bio2rdf/uniprot/graph sampling/sample_1.nt", -// null, -// PagodaTester.onto_dir + "bio2rdf/uniprot/queries/atomic_ground.sparql" - PagodaTester.onto_dir + "bio2rdf/uniprot/queries/example.sparql" - , "pagoda_uniprot.ans" - ); - AllTests.copy("log4j.log", "output/jair/pagoda_uniprot.example"); -// AllTests.copy("output/log4j.log", "/home/yzhou/java-workspace/test-share/results_new/uniprot/pagoda_1p"); - } - - - public static void main(String... args) { - new JAIR_PAGOdA().fly(); - } - -} -- cgit v1.2.3