/test/kilim/test/AllWoven.java
http://github.com/kilim/kilim · Java · 40 lines · 31 code · 4 blank · 5 comment · 1 complexity · 8ba581ff56f5d4721dcdc96fafb2fc17 MD5 · raw file
- /* Copyright (c) 2006, Sriram Srinivasan
- *
- * You may distribute this software under the terms of the license
- * specified in the file "License"
- */
- package kilim.test;
- import junit.framework.Test;
- import junit.framework.TestSuite;
- public class AllWoven extends TestSuite {
- private static Class lambdaClass;
- private static boolean java8;
- static {
- try {
- lambdaClass = AllWoven.class.getClassLoader().loadClass("kilim.test.TestLambda");
- java8 = true;
- }
- catch (ClassNotFoundException ex) {}
- }
- public static Test suite() {
- TestSuite ret = new AllWoven();
- ret.addTestSuite(TestPrefThread.class);
- ret.addTestSuite(TestYield.class);
- ret.addTestSuite(TestInterface.class);
- ret.addTestSuite(TestAbstractExtends.class);
- if (java8)
- ret.addTestSuite(lambdaClass);
- ret.addTestSuite(TestYieldExceptions.class);
- ret.addTestSuite(TestYieldJSR.class);
- ret.addTestSuite(TestMailbox.class);
- ret.addTestSuite(TestLock.class);
- ret.addTestSuite(TestGenerics.class);
- ret.addTestSuite(TestIO.class);
- ret.addTestSuite(TestHTTP.class);
- return ret;
- }
- }