diff options
author | nickl- <github@jigsoft.co.za> | 2017-10-26 00:33:39 +0200 |
---|---|---|
committer | nickl- <github@jigsoft.co.za> | 2017-10-27 17:40:48 +0200 |
commit | ce84f84a174b279ee3e8a38446ea3a1f23bf8287 (patch) | |
tree | 84c9d3258afa98cafe34c57dccc9a7c946d0e92a /src/test/javassist/compiler | |
parent | 7ef0947b75ed935d45923cb00a93a52717c7c6ed (diff) | |
download | javassist-ce84f84a174b279ee3e8a38446ea3a1f23bf8287.tar.gz javassist-ce84f84a174b279ee3e8a38446ea3a1f23bf8287.zip |
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.
Diffstat (limited to 'src/test/javassist/compiler')
-rw-r--r-- | src/test/javassist/compiler/CompTest.java | 6 |
1 files changed, 0 insertions, 6 deletions
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); |