mirror of
https://github.com/xiaozhou233/JuiceAgent.git
synced 2026-12-05 21:15:56 +08:00
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:
1 parent
6afa44f90a
commit
6bf2d31798
21 files changed
+217
-97
No files matched your search
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
||||
@@ -0,0 +1,5 @@
|
||||
public class Injection {
|
||||
public static void test() {
|
||||
System.out.println("Injection Invoked!");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
public class Target {
|
||||
public static void targetTest() {
|
||||
System.out.println("Target test!");
|
||||
System.out.println("Modified!");
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user