1 16 package org.apache.commons.collections.buffer; 17 18 import junit.framework.Test; 19 import junit.framework.TestCase; 20 import junit.framework.TestSuite; 21 22 30 public class TestAll extends TestCase { 31 32 public TestAll(String testName) { 33 super(testName); 34 } 35 36 public static void main(String args[]) { 37 String [] testCaseName = { TestAll.class.getName() }; 38 junit.textui.TestRunner.main(testCaseName); 39 } 40 41 public static Test suite() { 42 TestSuite suite = new TestSuite(); 43 44 suite.addTest(TestBoundedFifoBuffer.suite()); 45 suite.addTest(TestBoundedFifoBuffer2.suite()); 46 suite.addTest(TestCircularFifoBuffer.suite()); 47 suite.addTest(TestPriorityBuffer.suite()); 48 suite.addTest(TestUnboundedFifoBuffer.suite()); 49 50 suite.addTest(TestBlockingBuffer.suite()); 51 suite.addTest(TestPredicatedBuffer.suite()); 52 suite.addTest(TestSynchronizedBuffer.suite()); 53 suite.addTest(TestTransformedBuffer.suite()); 54 suite.addTest(TestUnmodifiableBuffer.suite()); 55 56 return suite; 57 } 58 59 } 60 | Popular Tags |