Feat: add IntelliJ integration tests for native API

- Add test JVM sources (Loop, Target) and API tests
  (AddToBootstrap/SystemClassLoaderSearch, AddToClassLoader,
  GetClassByName, GetLoadedClasses)
- Add injection module (Injection jar) for classloader tests
- Add copy-bin.bat to refresh resources/ from build output
- Remove obsolete java-loop/java-system-load tests
- Ignore IDE dirs and resources/ build artifacts
This commit is contained in:
xiaozhou233 committed 2026-08-17 00:16:24 +08:00
1 parent 6afa44f90a
commit 6bf2d31798
21 files changed
+217 -97

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
import cn.xiaozhou233.juiceagent.api.JuiceAgent;
import java.io.File;
import java.util.Arrays;
public class GetLoadedClasses {
public static void main(String[] args) {
System.load(new File("resources/libagent.dll").getAbsolutePath());
JuiceAgent.init("");
System.out.println(Arrays.toString(JuiceAgent.getLoadedClasses()));
}
}