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.49 2008/01/02 12:04:41 andy_seaborne Exp $
05: */
06:
07: package com.hp.hpl.jena.rdf.model.test;
08:
09: import junit.framework.*;
10:
11: /**
12: Collected test suite for the .graph package.
13: @author jjc + kers
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 ("Model");
25: addTest("TestModel", TestModelFactory.suite());
26: addTest("TestModelFactory", TestModelFactory.suite());
27: addTest("TestSimpleListStatements", TestSimpleListStatements
28: .suite());
29: addTest("TestModelPolymorphism", TestModelPolymorphism.suite());
30: addTest("TestSimpleSelector", TestSimpleSelector.suite());
31: addTest("TestStatements", TestStatements.suite());
32: addTest("TestRDFNodes", TestRDFNodes.suite());
33: addTest("TestReifiedStatements", TestReifiedStatements.suite());
34: addTest("TestIterators", TestIterators.suite());
35: addTest("TestContains", TestContains.suite());
36: addTest("TestLiteralImpl", TestLiteralImpl.suite());
37: addTest("TestResourceImpl", TestResourceImpl.suite());
38: addTest("TestHiddenStatements", TestHiddenStatements.suite());
39: addTest("TestNamespace", TestNamespace.suite());
40: addTest("TestModelBulkUpdate", TestModelBulkUpdate.suite());
41: addTest("TestConcurrency", TestConcurrency.suite());
42: addTest("TestModelMakerImpl", TestModelMakerImpl.suite());
43: addTest("TestModelPrefixMapping", TestModelPrefixMapping
44: .suite());
45: addTest(TestContainers.suite());
46: addTest("TestStandardModels", TestStandardModels.suite());
47: addTest("TestQuery", TestQuery.suite());
48: addTest("TestSelectors", TestSelectors.suite());
49: addTest("TestModelEvents", TestModelEvents.suite());
50: addTest("TestReaderEvents", TestReaderEvents.suite());
51: addTest("TestList", TestList.suite());
52: addTest("TestAnonID", TestAnonID.suite());
53: addTestSuite(TestLiteralsInModel.class);
54: addTest(TestRemoveSPO.suite());
55: addTest(TestListSubjectsEtc.suite());
56: addTest(TestModelExtract.suite());
57: addTest(TestModelRead.suite());
58: addTestSuite(TestPropertyImpl.class);
59: addTestSuite(TestRemoveBug.class);
60: }
61:
62: private void addTest(String name, TestSuite tc) {
63: tc.setName(name);
64: addTest(tc);
65: }
66:
67: }
68:
69: /*
70: (c) Copyright 2003, 2004, 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP
71: All rights reserved.
72:
73: Redistribution and use in source and binary forms, with or without
74: modification, are permitted provided that the following conditions
75: are met:
76:
77: 1. Redistributions of source code must retain the above copyright
78: notice, this list of conditions and the following disclaimer.
79:
80: 2. Redistributions in binary form must reproduce the above copyright
81: notice, this list of conditions and the following disclaimer in the
82: documentation and/or other materials provided with the distribution.
83:
84: 3. The name of the author may not be used to endorse or promote products
85: derived from this software without specific prior written permission.
86:
87: THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
88: IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
89: OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
90: IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
91: INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
92: NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
93: DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
94: THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
95: (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
96: THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
97: */
|