* tests/regression/base/All.java,
[cacao.git] / tests / regression / base / TestPatcher.java
index 841760826f719915382f2ab4af585b7e5dd27162..cbf8a1339db1571825e6093c62fe76e30c0d6ad8 100644 (file)
 */
 
 
-import junit.framework.*;
-import junit.textui.*;
+import org.junit.Test;
+import static org.junit.Assert.*;
 
 import java.io.*;
 
-public class TestPatcher extends TestCase {
-    public static void main(String[] args) {
-        TestRunner.run(suite());
-    }
-
-    public static Test suite() {
-        return new TestSuite(TestPatcher.class);
-    }
-
+public class TestPatcher {
     static boolean doit = true;
 
     final static int    i = 123;
@@ -45,6 +37,7 @@ public class TestPatcher extends TestCase {
     final static double d = 789.012;
     final static Object o = new Object();
 
+    @Test
     public void testNormal() {
         invokestatic();
         invokespecial();