1 6 7 package com.hp.hpl.jena.test; 8 9 import junit.framework.TestSuite; 10 import junit.framework.Test; 11 12 19 public class TestPackage extends TestSuite { 20 21 static public Test suite() { 22 return new TestPackage(); 23 } 24 25 26 private TestPackage() { 27 super("jena"); 28 addTest("Enhanced", com.hp.hpl.jena.enhanced.test.TestPackage.suite()); 29 addTest("Graph", com.hp.hpl.jena.graph.test.TestPackage.suite()); 30 addTest( com.hp.hpl.jena.mem.test.TestMemPackage.suite() ); 31 addTest("Model", com.hp.hpl.jena.rdf.model.test.TestPackage.suite()); 32 addTest("N3", com.hp.hpl.jena.n3.test.N3TestSuite.suite()); 33 addTest("RDQL", com.hp.hpl.jena.rdql.test.RDQLTestSuite.suite()); 34 addTest("XML Output", com.hp.hpl.jena.xmloutput.test.TestPackage.suite()); 35 addTest("Util", com.hp.hpl.jena.util.test.TestPackage.suite()); 36 addTest( com.hp.hpl.jena.util.iterator.test.TestPackage.suite() ); 37 addTest("Mega", com.hp.hpl.jena.regression.MegaTestSuite.suite()); 38 addTest( com.hp.hpl.jena.rdf.arp.test.TestPackage.suite()); 39 40 addTest( com.hp.hpl.jena.rdf.arp.test.SAX2RDFTest.suite()); 41 addTest( "Vocabularies", com.hp.hpl.jena.vocabulary.test.TestVocabularies.suite() ); 42 addTest( com.hp.hpl.jena.rdf.arp.test.MoreTests.suite()); 43 addTest( com.hp.hpl.jena.rdf.arp.test.URITests.suite()); 44 addTest( com.hp.hpl.jena.shared.test.TestSharedPackage.suite() ); 45 addTest("Reasoners", com.hp.hpl.jena.reasoner.test.TestPackage.suite()); 46 addTest("Composed graphs", com.hp.hpl.jena.graph.compose.test.TestPackage.suite() ); 47 addTest( "Ontology", com.hp.hpl.jena.ontology.impl.test.TestPackage.suite() ); 48 addTest( "DAML", com.hp.hpl.jena.ontology.daml.impl.test.TestPackage.suite() ); 49 50 } 51 52 private void addTest(String name, TestSuite tc) { 53 tc.setName(name); 54 addTest(tc); 55 } 56 57 } 58 59 | Popular Tags |