KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > hp > hpl > jena > rdf > model > 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.37 2005/04/12 13:35:45 chris-dollin Exp $
5 */

6
7 package com.hp.hpl.jena.rdf.model.test;
8
9 import junit.framework.*;
10
11 /**
12     Collected test suite for the .graph package.
13     @author jjc + kers
14 */

15
16 public class TestPackage extends TestSuite {
17
18     static public TestSuite suite() {
19         return new TestPackage();
20     }
21     
22     /** Creates new TestPackage */
23     private TestPackage() {
24         super("Model");
25         addTest( "TestModel", TestModelFactory.suite() );
26         addTest( "TestModelFactory", TestModelFactory.suite() );
27         addTest( "TestSimpleListStatements", TestSimpleListStatements.suite() );
28         addTest( "TestModelPolymorphism", TestModelPolymorphism.suite() );
29         addTest( "TestSimpleSelector", TestSimpleSelector.suite() );
30         addTest( "TestStatements", TestStatements.suite() );
31         addTest( "TestRDFNodes", TestRDFNodes.suite() );
32         addTest( "TestReifiedStatements", TestReifiedStatements.suite() );
33         addTest( "TestIterators", TestIterators.suite() );
34         addTest( "TestContains", TestContains.suite() );
35         addTest( "TestLiteralImpl", TestLiteralImpl.suite() );
36         addTest( "TestResourceImpl", TestResourceImpl.suite() );
37         addTest( "TestHiddenStatements", TestHiddenStatements.suite() );
38         addTest( "TestNamespace", TestNamespace.suite() );
39         addTest( "TestModelBulkUpdate", TestModelBulkUpdate.suite() );
40         addTest( "TestConcurrency", TestConcurrency.suite() ) ;
41         addTest( "TestModelMakerImpl", TestModelMakerImpl.suite() );
42         addTest( "TestModelPrefixMapping", TestModelPrefixMapping.suite() );
43         addTest( "TestModelSpec", TestModelSpec.suite() );
44         addTest( "TestModelSpecMore", TestModelSpecMore.suite() );
45         addTest( "TestModelSpecRevised", TestModelSpecRevised.suite() );
46         addTest( TestModelSpecFactory.suite() );
47         addTest( TestModelSource.suite() );
48         addTest( TestContainers.suite() );
49         addTest( "TestStandardModels", TestStandardModels.suite() );
50         addTest( "TestQuery", TestQuery.suite() );
51         addTest( "TestSelectors", TestSelectors.suite() );
52         addTest( "TestModelEvents", TestModelEvents.suite() );
53         addTest( "TestReaderEvents", TestReaderEvents.suite() );
54         addTest( "TestList", TestList.suite() );
55         addTest( "TestAnonID", TestAnonID.suite() );
56         addTest( TestListSubjectsEtc.suite() );
57         addTest( TestModelExtract.suite() );
58         addTest( TestModelRead.suite() );
59         addTest( TestModelSpecWithSchema.suite() );
60         }
61
62     private void addTest(String JavaDoc name, TestSuite tc) {
63         tc.setName(name);
64         addTest(tc);
65     }
66
67 }
68
69 /*
70     (c) Copyright 2003, 2004, 2005 Hewlett-Packard Development Company, LP
71     All rights reserved.
72
73     Redistribution and use in source and binary forms, with or without
74     modification, are permitted provided that the following conditions
75     are met:
76
77     1. Redistributions of source code must retain the above copyright
78        notice, this list of conditions and the following disclaimer.
79
80     2. Redistributions in binary form must reproduce the above copyright
81        notice, this list of conditions and the following disclaimer in the
82        documentation and/or other materials provided with the distribution.
83
84     3. The name of the author may not be used to endorse or promote products
85        derived from this software without specific prior written permission.
86
87     THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
88     IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
89     OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
90     IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
91     INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
92     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
93     DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
94     THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
95     (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
96     THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
97 */
Popular Tags