001: /*
002: * @(#) $Header: /cvs/jai-operators/src/tests/ca/forklabs/media/jai/operator/AllTests.java,v 1.10 2007/08/16 21:26:43 forklabs Exp $
003: *
004: * Copyright (C) 2007 Forklabs Daniel Léonard
005: *
006: * This program is free software; you can redistribute it and/or
007: * modify it under the terms of the GNU General Public License
008: * as published by the Free Software Foundation; either version 2
009: * of the License, or (at your option) any later version.
010: *
011: * This program is distributed in the hope that it will be useful,
012: * but WITHOUT ANY WARRANTY; without even the implied warranty of
013: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
014: * GNU General Public License for more details.
015: *
016: * You should have received a copy of the GNU General Public License
017: * along with this program; if not, write to the Free Software
018: * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
019: */
020:
021: package ca.forklabs.media.jai.operator;
022:
023: import junit.framework.Test;
024: import junit.framework.TestSuite;
025:
026: /**
027: * Class {@code AllTests} is the master test suite for package
028: * {@link ca.forklabs.media.jai.operator}.
029: *
030: * @author <a href="mailto:forklabs at dev.java.net?subject=ca.forklabs.media.jai.operator.AllTests">Daniel Léonard</a>
031: * @version $Revision: 1.10 $
032: */
033: @SuppressWarnings("nls")
034: public class AllTests {
035:
036: //---------------------------
037: // Class methods
038: //---------------------------
039:
040: /**
041: * Builds the test suite.
042: * @return the test suite.
043: */
044: public static Test suite() {
045: TestSuite suite = new TestSuite(
046: "Tests for ca.forklabs.media.jai.operator");
047: //$JUnit-BEGIN$
048:
049: suite.addTest(new TestSuite(
050: ApplyToCollectionDescriptorTest.class));
051: suite.addTest(new TestSuite(AutoRescaleDescriptorTest.class));
052: suite.addTest(new TestSuite(DFT3DCompatibilityTest.class));
053: suite.addTest(new TestSuite(DFT3DDescriptorTest.class));
054: suite.addTest(new TestSuite(IDFT3DDescriptorTest.class));
055: suite
056: .addTest(new TestSuite(
057: ImageFunction3DDescriptorTest.class));
058: suite.addTest(new TestSuite(KMeansDescriptorTest.class));
059: suite.addTest(new TestSuite(
060: MedianCollectionDescriptorTest.class));
061: suite
062: .addTest(new TestSuite(
063: PeriodicShift3DDescriptorTest.class));
064: suite.addTest(new TestSuite(PipelineDescriptorTest.class));
065: suite.addTest(new TestSuite(
066: SpectralHomomorphicDescriptorTest.class));
067: suite
068: .addTest(new TestSuite(
069: SpectralFilterDescriptorTest.class));
070: suite.addTest(new TestSuite(UnaryFunctionDescriptorTest.class));
071: suite.addTest(new TestSuite(ResourcesTest.class));
072:
073: //$JUnit-END$
074: return suite;
075: }
076:
077: /**
078: * Runs only this test.
079: * @param args ignored.
080: */
081: public static void main(String... args) {
082: junit.swingui.TestRunner.run(AllTests.class);
083: }
084:
085: }
086:
087: /*
088: * $Log: AllTests.java,v $
089: * Revision 1.10 2007/08/16 21:26:43 forklabs
090: * Operator kmeans.
091: *
092: * Revision 1.9 2007/07/17 16:12:41 forklabs
093: * Operator spectralfilter.
094: *
095: * Revision 1.8 2007/07/05 18:31:52 forklabs
096: * New tests.
097: *
098: * Revision 1.7 2007/06/13 18:56:36 forklabs
099: * Operator mediancollection.
100: *
101: * Revision 1.6 2007/06/05 20:44:47 forklabs
102: * Operator periodicshift3d.
103: *
104: * Revision 1.5 2007/06/05 02:27:51 forklabs
105: * Operators dft3d and idft3d
106: *
107: * Revision 1.4 2007/05/25 21:21:45 forklabs
108: * Operator "applytocollection"
109: *
110: * Revision 1.3 2007/05/03 20:24:40 forklabs
111: * Operator "autorescale"
112: *
113: * Revision 1.2 2007/05/03 19:51:52 forklabs
114: * The pipeline descriptor.
115: *
116: * Revision 1.1 2007/05/03 18:32:27 forklabs
117: * Initial commit for the unaryfunction operator.
118: *
119: */
|