KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*****************************************************************************
2  * Source code information
3  * -----------------------
4  * Original author Ian Dickinson, HP Labs Bristol
5  * Author email Ian.Dickinson@hp.com
6  * Package Jena 2
7  * Web http://sourceforge.net/projects/jena/
8  * Created 17-Jun-2003
9  * Filename $RCSfile: TestPackage.java,v $
10  * Revision $Revision: 1.4 $
11  * Release status $State: Exp $
12  *
13  * Last modified on $Date: 2005/02/21 12:16:34 $
14  * by $Author: andy_seaborne $
15  *
16  * (c) Copyright 2002, 2003, 2004, 2005 Hewlett-Packard Development Company, LP
17  * (see footer for full conditions)
18  *****************************************************************************/

19
20 // Package
21
///////////////
22
package com.hp.hpl.jena.reasoner.dig.test;
23
24
25 // Imports
26
///////////////
27
import junit.framework.*;
28
29
30 /**
31  * <p>
32  * Collected unit tests for DIG adapter
33  * </p>
34  *
35  * @author Ian Dickinson, HP Labs
36  * (<a HREF="mailto:Ian.Dickinson@hp.com" >email</a>)
37  * @version CVS $Id: TestPackage.java,v 1.4 2005/02/21 12:16:34 andy_seaborne Exp $
38  */

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

92
93
Popular Tags