01: /*
02: * @(#) $Header: /cvs/jai-operators/src/tests/ca/forklabs/media/jai/AllTests.java,v 1.6 2007/07/05 00:07:41 forklabs Exp $
03: *
04: * Copyright (C) 2007 Forklabs Daniel Léonard
05: *
06: * This program is free software; you can redistribute it and/or
07: * modify it under the terms of the GNU General Public License
08: * as published by the Free Software Foundation; either version 2
09: * of the License, or (at your option) any later version.
10: *
11: * This program is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14: * GNU General Public License for more details.
15: *
16: * You should have received a copy of the GNU General Public License
17: * along with this program; if not, write to the Free Software
18: * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19: */
20:
21: package ca.forklabs.media.jai;
22:
23: import junit.framework.Test;
24: import junit.framework.TestSuite;
25:
26: /**
27: * Class {@code AllTests} is the master test suite for the
28: * <em>jai-operators</em> project.
29: *
30: * @author <a href="mailto:forklabs at dev.java.net?subject=ca.forklabs.media.jai.AllTests">Daniel Léonard</a>
31: * @version $Revision: 1.6 $
32: */
33: @SuppressWarnings("nls")
34: public class AllTests {
35:
36: /**
37: * Builds the test suite.
38: * @return the test suite.
39: */
40: public static Test suite() {
41: TestSuite suite = new TestSuite(
42: "Master test suite for the jai-operators project");
43: //$JUnit-BEGIN$
44:
45: suite.addTest(new TestSuite(CollectionDescriptorTest.class));
46: suite.addTest(new TestSuite(DescriptorUtilTest.class));
47: suite.addTest(new TestSuite(FormatDataTypeTest.class));
48: suite.addTest(new TestSuite(OpImageUtilTest.class));
49: suite.addTest(new TestSuite(ParameterBlockUtilTest.class));
50: suite.addTest(new TestSuite(RasterAdapterTest.class));
51: suite.addTest(new TestSuite(SimpleCollectionImageTest.class));
52:
53: suite.addTest(ca.forklabs.media.jai.operator.AllTests.suite());
54: suite.addTest(ca.forklabs.media.jai.opimage.AllTests.suite());
55:
56: //$JUnit-END$
57: return suite;
58: }
59:
60: /**
61: * Runs only this test suite.
62: * @param args ignored.
63: */
64: public static void main(String... args) {
65: junit.swingui.TestRunner.run(AllTests.class);
66: }
67:
68: }
69:
70: /*
71: * $Log: AllTests.java,v $
72: * Revision 1.6 2007/07/05 00:07:41 forklabs
73: * New tests.
74: *
75: * Revision 1.5 2007/06/11 22:20:59 forklabs
76: * A class to help descriptors in collection and renderable collection mode.
77: *
78: * Revision 1.4 2007/06/07 23:13:56 forklabs
79: * Fixed a bug, the default constructor initializes the underlying collection.
80: *
81: * Revision 1.3 2007/06/07 21:55:05 forklabs
82: * Utilities for help descriptor validation.
83: *
84: * Revision 1.2 2007/05/03 20:23:57 forklabs
85: * Class ParameterBlockUtil.
86: *
87: * Revision 1.1 2007/05/03 18:31:28 forklabs
88: * Intial commit for RasterAdapter.
89: *
90: */
|