01: /*
02: * @(#) $Header: /cvs/jai-operators/src/tests/ca/forklabs/media/jai/opimage/AllTests.java,v 1.5 2007/08/16 21:26:43 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.opimage;
22:
23: import junit.framework.Test;
24: import junit.framework.TestSuite;
25:
26: /**
27: * Class {@code AllTests} is the master test suite for package
28: * {@link ca.forklabs.media.jai.opimage}.
29: *
30: * @author <a href="mailto:forklabs at dev.java.net?subject=ca.forklabs.media.jai.opimage.AllTests">Daniel Léonard</a>
31: * @version $Revision: 1.5 $
32: */
33: @SuppressWarnings("nls")
34: public class AllTests {
35:
36: //---------------------------
37: // Class methods
38: //---------------------------
39:
40: /**
41: * Builds the test suite.
42: * @return the test suite.
43: */
44: public static Test suite() {
45: TestSuite suite = new TestSuite(
46: "Tests for ca.forklabs.media.jai.opimage");
47: //$JUnit-BEGIN$
48:
49: suite.addTest(new TestSuite(DFT3DOpImageTest.class));
50: suite.addTest(new TestSuite(ImageFunction3DOpImageTest.class));
51: suite.addTest(new TestSuite(KMeansOpImageTest.class));
52: suite.addTest(new TestSuite(MedianCollectionOpImageTest.class));
53: suite.addTest(new TestSuite(UnaryFunctionOpImageTest.class));
54: suite.addTest(new TestSuite(ResourcesTest.class));
55:
56: //$JUnit-END$
57: return suite;
58: }
59:
60: /**
61: * Runs only this test.
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.5 2007/08/16 21:26:43 forklabs
73: * Operator kmeans.
74: *
75: * Revision 1.4 2007/07/05 18:31:52 forklabs
76: * New tests.
77: *
78: * Revision 1.3 2007/06/13 18:56:36 forklabs
79: * Operator mediancollection.
80: *
81: * Revision 1.2 2007/06/05 02:27:50 forklabs
82: * Operators dft3d and idft3d
83: *
84: * Revision 1.1 2007/05/03 18:32:28 forklabs
85: * Initial commit for the unaryfunction operator.
86: *
87: */
|