mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
correct test info - sometimes static methods of LightQuickFixTestCase are called from other tests, so static project instance from LightQuickFixTestCase should not be used
This commit is contained in:
+2
-2
@@ -143,8 +143,8 @@ public abstract class LightQuickFixTestCase extends LightDaemonAnalyzerTestCase
|
||||
})
|
||||
.joining(" ");
|
||||
return "Test: " + testFullPath + "\n" +
|
||||
"Language level: " + PsiUtil.getLanguageLevel(getProject()) + "\n" +
|
||||
"SDK: " + ModuleRootManager.getInstance(getModule()).getSdk() + "\n" +
|
||||
"Language level: " + PsiUtil.getLanguageLevel(quickFix.getProject()) + "\n" +
|
||||
(quickFix.getProject().equals(getProject()) ? ("SDK: " + ModuleRootManager.getInstance(getModule()).getSdk() + "\n") : "") +
|
||||
"Infos: " + infos;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user