1 package gov.nasa.jpf.jvm; 20 21 import junit.framework.TestSuite; 22 23 import junit.textui.TestRunner; 24 25 26 29 public class TestFieldJPF extends TestJPF { 30 static String testClass = "gov.nasa.jpf.jvm.TestField"; 31 32 public TestFieldJPF (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(TestFieldJPF.class); 42 } 43 44 45 public void testReadInstance () { 46 String [] args = { testClass, "testReadInstance" }; 47 runJPFnoException(args); 48 } 49 50 public void testReadStatic () { 51 String [] args = { testClass, "testReadStatic" }; 52 runJPFnoException(args); 53 } 54 55 public void testWriteInstance () { 56 String [] args = { testClass, "testWriteInstance" }; 57 runJPFnoException(args); 58 } 59 60 public void testWriteStatic () { 61 String [] args = { testClass, "testWriteStatic" }; 62 runJPFnoException(args); 63 } 64 } | Popular Tags |