KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2   (c) Copyright 2002, 2004, 2005 Hewlett-Packard Development Company, LP
3   [See end of file]
4   $Id: TestPackage.java,v 1.20 2005/02/21 11:52:48 andy_seaborne Exp $
5 */

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

16
17 public class TestPackage extends TestSuite {
18
19     static public TestSuite suite() {
20         return new TestPackage();
21     }
22     
23     /** Creates new TestPackage */
24     private TestPackage() {
25         super("graph");
26         addTest( TestTripleCache.suite() );
27         addTest( TestNodeCache.suite() );
28         addTest( "TestNode", TestNode.suite() );
29         addTest( "TestTriple", TestTriple.suite() );
30         addTest( TestNodeToTriplesMap.suite() );
31         addTest( TestSimpleReifierTripleMap.suite() );
32         addTest( TestSimpleReifierFragmentsMap.suite() );
33         addTest( "TestReifier", TestReifier.suite() );
34         addTest( "TestTypedLiterals", TestTypedLiterals.suite() );
35         addTest( "TestGraphQuery", TestGraphQueryPackage.suite() );
36         addTest( "TestFactory", TestFactory.suite() );
37         addTest( "TestGraph", TestGraph.suite() );
38         addTest( "TestSimpleGraphMaker", TestSimpleGraphMaker.suite() );
39         addTest( "TestFileGraph", TestFileGraph.suite() );
40         addTest( "TestFileGraphMaker", TestFileGraphMaker.suite() );
41         addTest( TestGraphExtract.suite() );
42         addTest( "TestCapabilities", TestCapabilities.suite() );
43         addTest( "TestGraphUtils", TestGraphUtils.suite() );
44         addTest( "TestGraphPrefixMapping", TestGraphPrefixMapping.suite() );
45         }
46
47     private void addTest(String JavaDoc name, TestSuite tc) {
48         tc.setName(name);
49         addTest(tc);
50     }
51
52 }
53
54 /*
55     (c) Copyright 2002, 2004, 2005 Hewlett-Packard Development Company, LP
56     All rights reserved.
57
58     Redistribution and use in source and binary forms, with or without
59     modification, are permitted provided that the following conditions
60     are met:
61
62     1. Redistributions of source code must retain the above copyright
63        notice, this list of conditions and the following disclaimer.
64
65     2. Redistributions in binary form must reproduce the above copyright
66        notice, this list of conditions and the following disclaimer in the
67        documentation and/or other materials provided with the distribution.
68
69     3. The name of the author may not be used to endorse or promote products
70        derived from this software without specific prior written permission.
71
72     THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
73     IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
74     OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
75     IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
76     INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
77     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
78     DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
79     THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
80     (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
81     THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
82 */
Popular Tags