This commit is contained in:
Alexey Kudravtsev
2013-06-24 10:35:39 +04:00
parent 561df51557
commit dd3ff76e33
2 changed files with 2 additions and 2 deletions
@@ -194,7 +194,7 @@ public abstract class DaemonAnalyzerTestCase extends CodeInsightTestCase {
}
protected void enableInspectionTool(@NotNull InspectionProfileEntry tool){
assert !(tool instanceof InspectionToolWrapper) : tool;
//assert !(tool instanceof InspectionToolWrapper) : tool;
InspectionToolWrapper wrapper = InspectionToolRegistrar.wrapTool(tool);
final String shortName = wrapper.getShortName();
final HighlightDisplayKey key = HighlightDisplayKey.find(shortName);
@@ -466,7 +466,7 @@ public abstract class LightPlatformTestCase extends UsefulTestCase implements Da
enableInspectionTool(myAvailableInspectionTools, wrapper);
}
protected void enableInspectionTool(@NotNull InspectionProfileEntry tool) {
assert !(tool instanceof InspectionToolWrapper) : tool;
//assert !(tool instanceof InspectionToolWrapper) : tool;
enableInspectionTool(myAvailableInspectionTools, InspectionToolRegistrar.wrapTool(tool));
}