aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/javassist/bytecode
diff options
context:
space:
mode:
authornickl- <github@jigsoft.co.za>2017-10-26 00:33:39 +0200
committernickl- <github@jigsoft.co.za>2017-10-27 17:40:48 +0200
commitce84f84a174b279ee3e8a38446ea3a1f23bf8287 (patch)
tree84c9d3258afa98cafe34c57dccc9a7c946d0e92a /src/test/javassist/bytecode
parent7ef0947b75ed935d45923cb00a93a52717c7c6ed (diff)
downloadjavassist-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/bytecode')
-rw-r--r--src/test/javassist/bytecode/BytecodeTest.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/test/javassist/bytecode/BytecodeTest.java b/src/test/javassist/bytecode/BytecodeTest.java
index a859f248..a9b6e538 100644
--- a/src/test/javassist/bytecode/BytecodeTest.java
+++ b/src/test/javassist/bytecode/BytecodeTest.java
@@ -826,12 +826,6 @@ public class BytecodeTest extends TestCase {
assertEquals("(I)V", cPool2.getUtf8Info(cPool2.getMethodTypeInfo(mtIndex)));
}
- public static void main(String[] args) {
- // junit.textui.TestRunner.run(suite());
- junit.awtui.TestRunner.main(new String[] {
- "javassist.bytecode.BytecodeTest" });
- }
-
public static Test suite() {
TestSuite suite = new TestSuite("Bytecode Tests");
suite.addTestSuite(BytecodeTest.class);