From ce84f84a174b279ee3e8a38446ea3a1f23bf8287 Mon Sep 17 00:00:00 2001 From: nickl- Date: Thu, 26 Oct 2017 00:33:39 +0200 Subject: Upgrade junit from ver 3 to 4. There were minimal changes: Some tests had their own runners these were discontinued as IDEs/maven run the tests anyway. Removed the main methods for these. 2 tests were dependent on the running order so added the test sorter. All tests succeed on junit 4 with legacy support. --- src/test/javassist/compiler/CompTest.java | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/test/javassist/compiler') diff --git a/src/test/javassist/compiler/CompTest.java b/src/test/javassist/compiler/CompTest.java index 6a1d5424..158552e3 100644 --- a/src/test/javassist/compiler/CompTest.java +++ b/src/test/javassist/compiler/CompTest.java @@ -113,12 +113,6 @@ public class CompTest extends TestCase { assertEquals("(int,char[],String)", s); } - public static void main(String[] args) { - // junit.textui.TestRunner.run(suite()); - junit.awtui.TestRunner.main(new String[] { - "javassist.compiler.CompTest" }); - } - public static Test suite() { TestSuite suite = new TestSuite("Compiler Tests"); suite.addTestSuite(CompTest.class); -- cgit v1.2.3