01: /*
02: (c) Copyright 2003, 2004, 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP
03: [See end of file]
04: $Id: TestPackage.java,v 1.25 2008/01/02 12:08:41 andy_seaborne Exp $
05: */
06:
07: package com.hp.hpl.jena.ontology.impl.test;
08:
09: import junit.framework.*;
10:
11: /**
12: Collected test suite for the .ontology.impl package.
13: @author Ian Dickinson
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 ("ontology.impl");
25: addTest("TestOntGraph", TestOntGraph.suite());
26: addTest("TestResource", TestResource.suite());
27: addTest("TestAxioms", TestAxioms.suite());
28: addTest("TestClassExpression", TestClassExpression.suite());
29: addTest("TestOntDocumentManager", TestOntDocumentManager
30: .suite());
31: addTest("TestOntology", TestOntology.suite());
32: addTest("TestProperty", TestProperty.suite());
33: addTest("TestListSyntaxCategories", TestListSyntaxCategories
34: .suite());
35: addTest("TestCreate", TestCreate.suite());
36: addTest("TestIndividual", TestIndividual.suite());
37: addTest("TestAllDifferent", TestAllDifferent.suite());
38: addTestSuite(TestOntModelSpec.class);
39: addTest(new TestSuite(TestOntReasoning.class));
40: addTest(new TestSuite(TestOntModel.class));
41: addTest(new TestSuite(TestBugReports.class));
42: addTest(new TestSuite(TestOntClass.class));
43: addTest(new TestSuite(TestFrameView.class));
44: addTest(new TestSuite(TestOntTools.class));
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 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: */
|