diff options
| author | Ronca <alessandro.a.ronca@gmail.com> | 2015-05-06 18:11:08 +0100 |
|---|---|---|
| committer | Ronca <alessandro.a.ronca@gmail.com> | 2015-05-06 18:11:08 +0100 |
| commit | fbbbfbeb79097e5ce8f9ff2682d2c21368971654 (patch) | |
| tree | 02962a710fe27ea1c7a2704a356b7f663a42cb52 /test/uk/ac/ox/cs/pagoda/junit/PagodaDBPedia.java | |
| parent | 58e6d87cb604702e7b307bad73c4fd42a694c3ec (diff) | |
| download | ACQuA-fbbbfbeb79097e5ce8f9ff2682d2c21368971654.tar.gz ACQuA-fbbbfbeb79097e5ce8f9ff2682d2c21368971654.zip | |
Switch from JUnit to TestNG.
Plus minor fixes.
Diffstat (limited to 'test/uk/ac/ox/cs/pagoda/junit/PagodaDBPedia.java')
| -rw-r--r-- | test/uk/ac/ox/cs/pagoda/junit/PagodaDBPedia.java | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/test/uk/ac/ox/cs/pagoda/junit/PagodaDBPedia.java b/test/uk/ac/ox/cs/pagoda/junit/PagodaDBPedia.java deleted file mode 100644 index 37ffb44..0000000 --- a/test/uk/ac/ox/cs/pagoda/junit/PagodaDBPedia.java +++ /dev/null | |||
| @@ -1,27 +0,0 @@ | |||
| 1 | package uk.ac.ox.cs.pagoda.junit; | ||
| 2 | |||
| 3 | import static org.junit.Assert.fail; | ||
| 4 | |||
| 5 | import org.junit.Test; | ||
| 6 | |||
| 7 | import uk.ac.ox.cs.pagoda.tester.PagodaTester; | ||
| 8 | import uk.ac.ox.cs.pagoda.tester.Statistics; | ||
| 9 | |||
| 10 | public class PagodaDBPedia { | ||
| 11 | |||
| 12 | @Test | ||
| 13 | public void test() { | ||
| 14 | PagodaTester.main( | ||
| 15 | PagodaTester.onto_dir + "dbpedia/integratedOntology-all-in-one-minus-datatype.owl", | ||
| 16 | PagodaTester.onto_dir + "dbpedia/data/dbpedia-minus-datatype-new.ttl", | ||
| 17 | PagodaTester.onto_dir + "dbpedia/atomic.sparql" | ||
| 18 | ); | ||
| 19 | |||
| 20 | Statistics stat = new Statistics("output/log4j.log"); | ||
| 21 | String diff = stat.diff("results-backup/benchmark/dbpedia.out"); | ||
| 22 | AllTests.copy("output/log4j.log", "results-backup/current/dbpedia.out"); | ||
| 23 | if (!diff.isEmpty()) | ||
| 24 | fail(diff); | ||
| 25 | } | ||
| 26 | |||
| 27 | } | ||
