Plugin testing error: NoClassDefFoundError "PathMacroFilter"
Im trying to create a test for a IntelliJ IDEA 14 plugin. I configured my Run/Debug configurations like in here: https://confluence.jetbrains.com/display/IntelliJIDEA/Tests+Prerequisites
But got this error:
2015-01-29 14:22:08,479 INFO #com.intellij.ide.plugins.PluginManager - 3 plugins initialized in 1161 ms
2015-01-29 14:22:08,481 INFO #com.intellij.ide.plugins.PluginManager - Loaded bundled plugins: IDEA CORE
2015-01-29 14:22:08,482 INFO #com.intellij.ide.plugins.PluginManager - Loaded custom plugins: TestEye transformation analysis (1.0)
2015-01-29 14:22:08,482 INFO #com.intellij.ide.plugins.PluginManager - Disabled plugins: FileBrowser (1.0)
java.lang.NoClassDefFoundError: com/intellij/openapi/application/PathMacroFilter
My test fixture is empty, I just can't get any test to run:
public class MyDummy extends LightCodeInsightFixtureTestCase{
@Override
protected String getBasePath() {
String s = PathManager.getJarPathForClass(MyDummy .class);
return new File(s, "../../../..").getPath();
}
public void testNotReallyMuch() {
Integer i = new Integer(0);
}
}
Any ideas why is this happening?
Please sign in to leave a comment.
Please try deleting and recreating your IntelliJ Platform plugin SDK.