1 package gov.nasa.jpf.jvm; 20 21 import junit.framework.TestSuite; 22 23 import junit.textui.TestRunner; 24 25 26 29 public class TestArrayJPF extends TestJPF { 30 static String testClass = "gov.nasa.jpf.jvm.TestArray"; 31 32 public TestArrayJPF (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(TestArrayJPF.class); 42 } 43 44 public void test2DArray () { 45 String [] args = { testClass, "test2DArray" }; 46 runJPFnoException(args); 47 } 48 49 public void test2DStringArray () { 50 String [] args = { testClass, "test2DStringArray" }; 51 runJPFnoException(args); 52 } 53 54 public void testAoBX () { 55 String [] args = { testClass, "testAoBX" }; 56 runJPFnoException(args); 57 } 58 59 public void testCharArray () { 60 String [] args = { testClass, "testCharArray" }; 61 runJPFnoException(args); 62 } 63 64 65 public void testIntArray () { 66 String [] args = { testClass, "testIntArray" }; 67 runJPFnoException(args); 68 } 69 70 public void testStringArray () { 71 String [] args = { testClass, "testStringArray" }; 72 runJPFnoException(args); 73 } 74 } | Popular Tags |