01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17:
18: /* $Id$ */
19:
20: package org.apache.xmlgraphics;
21:
22: import org.apache.xmlgraphics.image.codec.png.PNGEncoderTest;
23: import org.apache.xmlgraphics.ps.PSEscapeTestCase;
24: import org.apache.xmlgraphics.ps.dsc.events.DSCValueParserTestCase;
25: import org.apache.xmlgraphics.ps.dsc.tools.DSCToolsTestCase;
26: import org.apache.xmlgraphics.util.ServiceTest;
27: import org.apache.xmlgraphics.util.io.ASCII85InputStreamTestCase;
28: import org.apache.xmlgraphics.util.io.ASCII85OutputStreamTestCase;
29: import org.apache.xmlgraphics.util.io.Base64Test;
30:
31: import junit.framework.Test;
32: import junit.framework.TestSuite;
33:
34: /**
35: * Test suite for basic functionality of XML Graphics Commons.
36: */
37: public class StandardTestSuite {
38:
39: /**
40: * Builds the test suite
41: * @return the test suite
42: */
43: public static Test suite() {
44: TestSuite suite = new TestSuite(
45: "Basic functionality test suite for XML Graphics Commons");
46: //$JUnit-BEGIN$
47: suite.addTest(new TestSuite(Base64Test.class));
48: suite.addTest(new TestSuite(ASCII85InputStreamTestCase.class));
49: suite.addTest(new TestSuite(ASCII85OutputStreamTestCase.class));
50: suite.addTest(new TestSuite(PNGEncoderTest.class));
51: suite.addTest(new TestSuite(ServiceTest.class));
52: suite.addTest(new TestSuite(PSEscapeTestCase.class));
53: suite.addTest(new TestSuite(DSCValueParserTestCase.class));
54: suite.addTest(new TestSuite(DSCToolsTestCase.class));
55: //$JUnit-END$
56: return suite;
57: }
58: }
|