KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > hp > hpl > jena > test > TestPackage


1 /*
2   (c) Copyright 2003, 2004, 2005 Hewlett-Packard Development Company, LP
3   [See end of file]
4   $Id: TestPackage.java,v 1.30 2005/04/11 13:55:52 jeremy_carroll Exp $
5 */

6
7 package com.hp.hpl.jena.test;
8
9 import junit.framework.TestSuite;
10 import junit.framework.Test;
11
12 /**
13  * All developers should edit this file to add their tests.
14  * Please try to name your tests and test suites appropriately.
15  * Note, it is better to name your test suites on creation
16  * rather than in this file.
17  * @author jjc
18  */

19 public class TestPackage extends TestSuite {
20
21     static public Test suite() {
22         return new TestPackage();
23     }
24
25     /** Creates new TestPackage */
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 JavaDoc name, TestSuite tc) {
53         tc.setName(name);
54         addTest(tc);
55     }
56
57 }
58
59 /*
60     (c) Copyright 2003, 2004, 2005 Hewlett-Packard Development Company, LP
61     All rights reserved.
62
63     Redistribution and use in source and binary forms, with or without
64     modification, are permitted provided that the following conditions
65     are met:
66
67     1. Redistributions of source code must retain the above copyright
68        notice, this list of conditions and the following disclaimer.
69
70     2. Redistributions in binary form must reproduce the above copyright
71        notice, this list of conditions and the following disclaimer in the
72        documentation and/or other materials provided with the distribution.
73
74     3. The name of the author may not be used to endorse or promote products
75        derived from this software without specific prior written permission.
76
77     THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
78     IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
79     OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
80     IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
81     INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
82     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
83     DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
84     THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
85     (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
86     THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
87 */
Popular Tags