Skip to content

Commit

Permalink
tests: disable GidsApplet
Browse files Browse the repository at this point in the history
... because it cannot be instrumented properly:
```
spoon.compiler.ModelBuildingException: Config cannot be resolved to a variable at /Users/runner/work/JCProfilerNext/JCProfilerNext/tests/GidsApplet_ctor_0es07gtp/sources_original/TransmitManager.java:104
	at spoon.support.compiler.jdt.JDTBasedSpoonCompiler.report(JDTBasedSpoonCompiler.java:649) ~[JCProfilerNext-1.0-SNAPSHOT.jar:?]
	at spoon.support.compiler.jdt.JDTBasedSpoonCompiler.reportProblems(JDTBasedSpoonCompiler.java:631) ~[JCProfilerNext-1.0-SNAPSHOT.jar:?]
	at spoon.support.compiler.jdt.JDTBasedSpoonCompiler.build(JDTBasedSpoonCompiler.java:118) ~[JCProfilerNext-1.0-SNAPSHOT.jar:?]
	at spoon.support.compiler.jdt.JDTBasedSpoonCompiler.build(JDTBasedSpoonCompiler.java:99) ~[JCProfilerNext-1.0-SNAPSHOT.jar:?]
	at spoon.Launcher.buildModel(Launcher.java:781) ~[JCProfilerNext-1.0-SNAPSHOT.jar:?]
	at jcprofiler.instrumentation.Instrumenter.buildModel(Instrumenter.java:124) ~[JCProfilerNext-1.0-SNAPSHOT.jar:?]
	at jcprofiler.instrumentation.Instrumenter.addMissingClasses(Instrumenter.java:175) ~[JCProfilerNext-1.0-SNAPSHOT.jar:?]
	at jcprofiler.instrumentation.Instrumenter.process(Instrumenter.java:64) ~[JCProfilerNext-1.0-SNAPSHOT.jar:?]
	at jcprofiler.JCProfiler.run(JCProfiler.java:51) ~[JCProfilerNext-1.0-SNAPSHOT.jar:?]
	at jcprofiler.Main.main(Main.java:79) [JCProfilerNext-1.0-SNAPSHOT.jar:?]
```
  • Loading branch information
lzaoral committed Dec 2, 2023
1 parent b65051b commit 5856252
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,9 @@
"repo": "https://github.com/vletoux/GidsApplet",
"path": "src/com/mysmartlogon/gidsApplet",
"jckit": "221",
"subtests": []
"failure": {
"reason": "Instrumentation: Config cannot be resolved to a variable"
}
},
{
"name": "GidsApp",
Expand Down

0 comments on commit 5856252

Please sign in to comment.