Closed kjarrio closed 2 years ago
Wow! Thanks, @kjarrio ! I'll check it out soon.
I'm unsure why the build failed, I tried to replicate it here with same parameters, but hope the latest commit will fix it.
Looks like there are still some issues with mocking.
Looks like:
/home/runner/work/intellij-plugin-v4/intellij-plugin-v4/src/test/java/org/antlr/intellij/plugin/editor/Issue559Test.java:51: error: package ToolWindowHeadlessManagerImpl does not exist
return new ToolWindowHeadlessManagerImpl.MockToolWindow(getProject()) {
^
/home/runner/work/intellij-plugin-v4/intellij-plugin-v4/src/test/java/org/antlr/intellij/plugin/editor/Issue559Test.java:55: error: method does not override or implement a method from a supertype
@Override
^
Just removed those, I am going to have a better look on how to trigger these errors on my local env
yeah, there is an issue with the MockToolWindow, it is probably only available in some different version of IDEA... will figure out a different way to test this
Apparently the MockToolWindow isn't available but I created one
thanks, @kjarrio !
Unfortunately, I have to back this out. The initComponents() function somehow freezes entire IDE with 2022.3 release. :( sorry!
Signed-off-by: Kjartan Olason olasonk@gmail.com
@@ -1,5 +1,23 @@