use of com.intellij.lang.javascript.inspections.JSUnusedLocalSymbolsInspection in project intellij-plugins by JetBrains.
the class FlexHighlightingTest method testPredefinedFunReference.
@JSTestOptions({ JSTestOption.WithFlexSdk, JSTestOption.WithJsSupportLoader, JSTestOption.WithUnusedImports })
public void testPredefinedFunReference() throws Exception {
enableInspectionTool(new JSUnusedLocalSymbolsInspection());
doTestFor(true, getTestName(false) + ".mxml", "getFoo.swc");
}
use of com.intellij.lang.javascript.inspections.JSUnusedLocalSymbolsInspection in project intellij-plugins by JetBrains.
the class ActionScriptHighlightingTest method testRemoveMethodWithAsdoc.
public void testRemoveMethodWithAsdoc() throws Exception {
enableInspectionTool(new JSUnusedLocalSymbolsInspection());
doHighlightingWithInvokeFixAndCheckResult("Remove unused method 'Unused'", "js2");
}
use of com.intellij.lang.javascript.inspections.JSUnusedLocalSymbolsInspection in project intellij-plugins by JetBrains.
the class ActionScriptHighlightingTest method testHighlightInternalThingsFromOtherFiles.
public void testHighlightInternalThingsFromOtherFiles() throws Exception {
enableInspectionTool(new JSUnusedLocalSymbolsInspection());
final String testName = getTestName(false);
doTestFor(true, testName + ".js2", testName + "_2.js2");
}
use of com.intellij.lang.javascript.inspections.JSUnusedLocalSymbolsInspection in project intellij-plugins by JetBrains.
the class ActionScriptHighlightingTest method testUnusedSymbols2.
public void testUnusedSymbols2() throws Exception {
enableInspectionTool(new JSUnusedLocalSymbolsInspection());
defaultTest();
}
use of com.intellij.lang.javascript.inspections.JSUnusedLocalSymbolsInspection in project intellij-plugins by JetBrains.
the class ActionScriptHighlightingTest method testAnyAttrInE4X.
@JSTestOptions({ JSTestOption.WithUnusedImports })
public void testAnyAttrInE4X() throws Exception {
enableInspectionTool(new JSUnusedLocalSymbolsInspection());
defaultTest();
}
Aggregations