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