Your browser does not support JavaScript and this site utilizes JavaScript to build content and provide links to additional information. You should either enable JavaScript in your browser settings or use a browser that supports JavaScript in order to take full advantage of this site.
1 16 package net.sf.cglib; 17 18 import junit.framework.*; 19 import net.sf.cglib.beans.*; 20 import net.sf.cglib.core.*; 21 import net.sf.cglib.proxy.*; 22 import net.sf.cglib.reflect.*; 23 import net.sf.cglib.transform.*; 24 import net.sf.cglib.transform.impl.*; 25 import net.sf.cglib.util.*; 26 27 32 public class TestAll extends TestCase { 33 34 public static String DEFAULT_DEBUG_LOACATION = System.getProperty("user.home") + 35 System.getProperty("file.separator") + "cglib-debug"; 36 37 public TestAll(String testName) { 38 super(testName); 39 } 40 41 public static Test suite() throws Exception { 42 43 44 45 System.getProperties().list(System.out); 46 TestSuite suite = new TestSuite(); 47 48 50 suite.addTest(TestEnhancer.suite()); 52 suite.addTest(TestProxy.suite()); 53 suite.addTest(TestDispatcher.suite()); 54 suite.addTest(TestProxyRefDispatcher.suite()); 55 suite.addTest(TestLazyLoader.suite()); 56 suite.addTest(TestNoOp.suite()); 57 suite.addTest(TestMixin.suite()); 58 suite.addTest(TestInterfaceMaker.suite()); 59 60 suite.addTest(TestBulkBean.suite()); 62 suite.addTest(TestBeanMap.suite()); 63 suite.addTest(TestImmutableBean.suite()); 64 suite.addTest(TestBeanCopier.suite()); 65 suite.addTest(TestBeanGenerator.suite()); 66 67 suite.addTest(TestDelegates.suite()); 69 suite.addTest(TestFastClass.suite()); 70 71 suite.addTest(TestKeyFactory.suite()); 73 suite.addTest(TestTinyBitSet.suite()); 74 75 suite.addTest(TestParallelSorter.suite()); 77 78 suite.addTest(TestTransformingLoader.suite()); 80 suite.addTest(TestAddClassInit.suite()); 81 suite.addTest(TestProvideFields.suite()); 82 suite.addTest(TestAddDelegate.suite()); 83 suite.addTest(TestInterceptFields.suite()); 84 suite.addTest(TestDemo.suite()); 85 86 return suite; 90 } 91 92 public static void main(String args[])throws Exception { 93 94 95 if(System.getProperty(DebuggingClassWriter.DEBUG_LOCATION_PROPERTY) == null){ 96 System.setProperty(DebuggingClassWriter.DEBUG_LOCATION_PROPERTY,DEFAULT_DEBUG_LOACATION); 97 } 98 String [] testCaseName = {TestAll.class.getName()}; 99 junit.textui.TestRunner.main(testCaseName); 100 101 102 103 } 104 } 105 106
| Popular Tags
|