You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
chibash 4c998e0e31 updates testJIRA150 since it sometimes fails 3 days ago
..
annotation JvstTest test case. 12 years ago
javassist updates testJIRA150 since it sometimes fails 3 days ago
resources fixes GitHub Issue 462 (Internal class issues in the Java 21) 6 months ago
scoped Fixes to javassist.scopepool 6 years ago
test/javassist fix CodeConverter.replaceArrayAccess leads to java.util.ConcurrentModificationException 4 years ago
test1 changes CtClass#toClass() and ClassPool#toClass() etc. to support Java 11, 5 years ago
test2 changes test code because package java.rmi.activation.ActivationGroupDesc does not exist any longer. 2 years ago
test3 add a new CodeConverter method:redirectMethodCallToStatic 5 years ago
test4 support bootstrap method coping when using code coping 3 months ago
test5 adds CtBehavior#insertAfter(String,boolean,boolean) for Issue #275 4 years ago
testproxy Squash compiler warnings in tests. 6 years ago
DefineClassCapability.java changes CtClass#toClass() and ClassPool#toClass() etc. to support Java 11, 5 years ago
Jassist150.java Squash compiler warnings in tests. 6 years ago
Readme.txt Add missing unit test 6 years ago
Test.java fixed Issue #263 4 years ago
VisibleTop.java Squash compiler warnings in tests. 6 years ago
VisibleTop2.java Squash compiler warnings in tests. 6 years ago

Readme.txt

# How to run tests

Requirements:
Java JDK 9
Maven

1) Build jar file and move it to the top level folder.

> mvn package
> mv ./target/javassist*-GA.jar ./javaassist.jar

2) Check that ./src/test/javassist/JvstTestRoot.PATH and .JAR_PATH point to the compiled jar file.
The default is "../../".

3) Run Tests

> mvn test
> mvn surefire:test