diff options
author | shifujun <shifujun@foxmail.com> | 2023-12-12 14:10:23 +0800 |
---|---|---|
committer | shifujun <shifujun@foxmail.com> | 2023-12-12 14:10:23 +0800 |
commit | 9dbf9e030b98245226a6ea4e9a005b2b62f6036c (patch) | |
tree | 7237c9da54cc883fe73ca59b833c260891974012 /src/test/javassist/JvstTest2.java | |
parent | fbd20b1e112b3e74f6d970a8ced839e8ee0bab87 (diff) | |
download | javassist-9dbf9e030b98245226a6ea4e9a005b2b62f6036c.tar.gz javassist-9dbf9e030b98245226a6ea4e9a005b2b62f6036c.zip |
Minimal changes make IDEA 2023.2 work out-of-box
Correct maven-compiler-plugin JDK version for IDEA import Compiler bytecode version.
Remove JvstTestRoot's constructor, otherwise IDEA cannot show Run icon aside testMethod.
Another way is adding suite() static method to those classes.
Now we can clone and open project with IDEA 2023.2. Debug single test case with IDEA is very useful.
Diffstat (limited to 'src/test/javassist/JvstTest2.java')
-rw-r--r-- | src/test/javassist/JvstTest2.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/test/javassist/JvstTest2.java b/src/test/javassist/JvstTest2.java index 5d01961d..334282d5 100644 --- a/src/test/javassist/JvstTest2.java +++ b/src/test/javassist/JvstTest2.java @@ -14,9 +14,6 @@ import test2.DefineClassCapability; @SuppressWarnings({"rawtypes","unused"}) @FixMethodOrder(MethodSorters.NAME_ASCENDING) public class JvstTest2 extends JvstTestRoot { - public JvstTest2(String name) { - super(name); - } public void testInsertAt() throws Exception { CtClass cc = sloader.get("test2.InsertAt"); |