KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > hp > hpl > jena > graph > compose > 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.7 2005/02/21 11:52:08 andy_seaborne Exp $
5 */

6
7 package com.hp.hpl.jena.graph.compose.test;
8
9 /**
10     @author kers
11 */

12
13 import com.hp.hpl.jena.graph.compose.*;
14
15 import junit.framework.TestSuite;
16
17 /**
18  *
19  * @author bwm
20  * @version $Name: $ $Revision: 1.7 $ $Date: 2005/02/21 11:52:08 $
21  */

22 public class TestPackage extends Object JavaDoc {
23     
24     public static TestSuite suite() {
25         TestSuite result = new TestSuite();
26         suite( result, Intersection.class );
27         suite( result, Union.class );
28         suite( result, Difference.class );
29     /* */
30         result.addTest( TestDelta.suite() );
31         result.addTest( TestUnion.suite() );
32         result.addTest( TestDisjointUnion.suite() );
33         result.addTest( TestDifference.suite() );
34         result.addTest( TestIntersection.suite() );
35         result.addTest( TestMultiUnion.suite() );
36     /* */
37         result.addTest( TestPolyadicPrefixMapping.suite() );
38         return result;
39     }
40
41     public static TestSuite suite(TestSuite suite,Class JavaDoc c) {
42         suite.addTest(new TestCaseBasic("test1",c));
43         suite.addTest(new TestCaseBasic("test2",c));
44         suite.addTest(new TestCaseBasic("test3",c));
45         suite.addTest(new TestCaseBasic("test4",c));
46         suite.addTest(new TestCaseBasic("test5",c));
47         suite.addTest(new TestCaseBasic("test6",c));
48         suite.addTest(new TestCaseBasic("test7",c));
49         suite.addTest(new TestCaseBasic("test8",c));
50         suite.addTest(new TestCaseBasic("test9",c));
51         suite.addTest(new TestCaseBasic("test10",c));
52         suite.addTest(new TestCaseBasic("test11",c));
53         suite.addTest(new TestCaseBasic("test12",c));
54         suite.addTest(new TestCaseBasic("test13",c));
55         suite.addTest(new TestCaseBasic("test14",c));
56         suite.addTest(new TestCaseBasic("test15",c));
57         suite.addTest(new TestCaseBasic("test16",c));
58         suite.addTest(new TestCaseBasic("test17",c));
59         suite.addTest(new TestCaseBasic("test18",c));
60         suite.addTest(new TestCaseBasic("test19",c));
61 // suite.addTest(new TestCaseBasic("test20"));
62
suite.addTest(new TestCaseBasic("test97",c));
63         
64         suite.addTest(new TestCaseBasic("testModelEquals",c));
65         suite.addTest(new TestCaseBasic("testMatch",c));
66         // suite.addTest(new TestCaseBasic("testWriterAndReader",c));
67
// suite.addTest(new TestCaseBasic("testNTripleReader",c));
68
// suite.addTest(new TestCaseBasic("testWriterInterface",c));
69
// suite.addTest(new TestCaseBasic("testReaderInterface",c));
70

71         //suite.addTest(new TestCaseBugs("bug36"));
72

73         return suite;
74     }
75 }
76
77
78 /*
79     (c) Copyright 2003, 2004, 2005 Hewlett-Packard Development Company, LP
80     All rights reserved.
81
82     Redistribution and use in source and binary forms, with or without
83     modification, are permitted provided that the following conditions
84     are met:
85
86     1. Redistributions of source code must retain the above copyright
87        notice, this list of conditions and the following disclaimer.
88
89     2. Redistributions in binary form must reproduce the above copyright
90        notice, this list of conditions and the following disclaimer in the
91        documentation and/or other materials provided with the distribution.
92
93     3. The name of the author may not be used to endorse or promote products
94        derived from this software without specific prior written permission.
95
96     THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
97     IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
98     OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
99     IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
100     INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
101     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
102     DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
103     THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
104     (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
105     THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
106 */

107
Popular Tags