1 package gov.nasa.jpf.jvm; 20 21 import gov.nasa.jpf.jvm.TestJPF; 22 import junit.framework.TestSuite; 23 import junit.textui.TestRunner; 24 25 28 public class TestWaitJPF extends TestJPF { 29 static String testClass = "gov.nasa.jpf.jvm.TestWait"; 30 31 public TestWaitJPF (String name) { 32 super(name); 33 } 34 35 public static void main (String [] args) { 36 TestRunner.run(suite()); 37 } 38 39 public static TestSuite suite () { 40 return new TestSuite(TestWaitJPF.class); 41 } 42 43 44 public void testSimpleWait () { 45 String [] args = { testClass, "testSimpleWait" }; 46 runJPFnoException(args); 47 } 48 49 public void testLoopedWait () { 50 String [] args = { testClass, "testLoopedWait" }; 51 runJPFnoException(args); 52 } 53 54 public void testInterruptedWait () { 55 String [] args = { testClass, "testInterruptedWait" }; 56 runJPFnoException(args); 57 } 58 59 } 60 61 | Popular Tags |