use of com.intellij.lang.javascript.inspections.JSUnusedGlobalSymbolsInspection in project intellij-plugins by JetBrains.
the class ActionScriptHighlightingTest method testUnusedGlobalSymbols5.
public void testUnusedGlobalSymbols5() throws Exception {
enableInspectionTool(new JSUnusedGlobalSymbolsInspection());
doTestFor(true, getTestName(false) + ".as");
}
use of com.intellij.lang.javascript.inspections.JSUnusedGlobalSymbolsInspection in project intellij-plugins by JetBrains.
the class ActionScriptHighlightingTest method testUnusedVariableValues.
public void testUnusedVariableValues() throws Exception {
enableInspectionTool(new JSUnusedAssignmentInspection());
enableInspectionTool(new JSUnusedGlobalSymbolsInspection());
defaultTest();
}
use of com.intellij.lang.javascript.inspections.JSUnusedGlobalSymbolsInspection in project intellij-plugins by JetBrains.
the class ActionScriptHighlightingTest method testUnusedGlobalSymbols4.
public void testUnusedGlobalSymbols4() throws Exception {
enableInspectionTool(new JSUnusedGlobalSymbolsInspection());
defaultTest();
}
use of com.intellij.lang.javascript.inspections.JSUnusedGlobalSymbolsInspection in project intellij-plugins by JetBrains.
the class FlexHighlightingTest method testMxmlConstructor.
@JSTestOptions({ JSTestOption.WithFlexFacet })
public void testMxmlConstructor() throws Exception {
enableInspectionTool(new JSUnusedGlobalSymbolsInspection());
doTestFor(true, getTestName(false) + ".mxml");
}
use of com.intellij.lang.javascript.inspections.JSUnusedGlobalSymbolsInspection in project intellij-plugins by JetBrains.
the class FlexUnitHighlightingTest method testNoUnusedHighlighting.
@JSTestOptions({ JSTestOption.WithFlexFacet, JSTestOption.WithFlexUnit4 })
public void testNoUnusedHighlighting() throws Exception {
enableInspectionTool(new JSUnusedGlobalSymbolsInspection() {
});
doTest(getBasePath() + getTestName(false) + ".as", true, false, true);
}
Aggregations