X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=tests%2Fregression%2Fbase%2FTestPatcher.java;h=cbf8a1339db1571825e6093c62fe76e30c0d6ad8;hb=528c824602be8a4ff95abd12eb0bf6f077582f90;hp=841760826f719915382f2ab4af585b7e5dd27162;hpb=964d7046a937ac1f22779930bb140f2e2a443bfa;p=cacao.git diff --git a/tests/regression/base/TestPatcher.java b/tests/regression/base/TestPatcher.java index 841760826..cbf8a1339 100644 --- a/tests/regression/base/TestPatcher.java +++ b/tests/regression/base/TestPatcher.java @@ -23,20 +23,12 @@ */ -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();