01: /*****************************************************************************
02: * Source code information
03: * -----------------------
04: * Original author Ian Dickinson, HP Labs Bristol
05: * Author email Ian.Dickinson@hp.com
06: * Package Jena 2
07: * Web http://sourceforge.net/projects/jena/
08: * Created 17-Jun-2003
09: * Filename $RCSfile: TestPackage.java,v $
10: * Revision $Revision: 1.8 $
11: * Release status $State: Exp $
12: *
13: * Last modified on $Date: 2008/01/02 12:10:28 $
14: * by $Author: andy_seaborne $
15: *
16: * (c) Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP
17: * (see footer for full conditions)
18: *****************************************************************************/package com.hp.hpl.jena.reasoner.dig.test;
19:
20: // Imports
21: ///////////////
22: import junit.framework.*;
23:
24: /**
25: * <p>
26: * Collected unit tests for DIG adapter
27: * </p>
28: *
29: * @author Ian Dickinson, HP Labs
30: * (<a href="mailto:Ian.Dickinson@hp.com" >email</a>)
31: * @version CVS $Id: TestPackage.java,v 1.8 2008/01/02 12:10:28 andy_seaborne Exp $
32: */
33: public class TestPackage extends TestSuite {
34: static public TestSuite suite() {
35: return new TestPackage();
36: }
37:
38: /** Creates new TestPackage */
39: private TestPackage() {
40: super ("reasoner.dig");
41: addTestSuite(TestConsistency.class);
42: //addTestSuite( TestRacer.class ); Racer is no longer the default test target
43: addTestSuite(TestPellet.class);
44: addTest("TestDigReasoner", TestDigReasoner.suite());
45: }
46:
47: private void addTest(String name, TestSuite tc) {
48: tc.setName(name);
49: addTest(tc);
50: }
51:
52: }
53:
54: /*
55: (c) Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008 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: */
|