KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > AllJdk5Tests


1 /**************************************************************************************
2  * Copyright (c) Jonas BonŽr, Alexandre Vasseur. All rights reserved. *
3  * http://aspectwerkz.codehaus.org *
4  * ---------------------------------------------------------------------------------- *
5  * The software in this package is published under the terms of the LGPL license *
6  * a copy of which has been included with this distribution in the license.txt file. *
7  **************************************************************************************/

8 package test;
9
10 import junit.framework.Test;
11 import junit.framework.TestCase;
12 import junit.framework.TestSuite;
13 import test.annotation.DefaultValueTest;
14 import test.deployment.HotDeployedTest;
15
16 /**
17  * JDK 5 specific tests.
18  *
19  * @author <a HREF="mailto:alex AT gnilux DOT com">Alexandre Vasseur</a>
20  */

21 public class AllJdk5Tests extends TestCase {
22
23     public static Test suite() {
24         TestSuite suite = new TestSuite("All JDK 5 tests");
25
26         suite.addTestSuite(DefaultValueTest.class);
27         suite.addTestSuite(HotDeployedTest.class);
28         suite.addTestSuite(CflowBelowTest.class);
29
30         // bug fix tests
31
suite.addTestSuite(FieldGetOutOfWeaver.class);
32         suite.addTestSuite(InterfaceDefinedMethodTest.class);
33         suite.addTestSuite(CtorExecution.class);
34         suite.addTestSuite(MixinTest.class);
35         suite.addTestSuite(CustomProceedChangeTargetTest.class);
36         suite.addTestSuite(PerInstanceSerializationTest.class);
37         suite.addTestSuite(QNameTest.class);
38         suite.addTestSuite(AfterReturningThrowingTest.class);
39
40         return suite;
41     }
42
43     public static void main(String JavaDoc[] args) {
44         junit.textui.TestRunner.run(suite());
45     }
46
47 }
48
Popular Tags