use of com.intellij.lang.javascript.inspections.JSUnusedLocalSymbolsInspection in project intellij-plugins by JetBrains.
the class ActionScriptHighlightingTest method testUnusedParameterHasCreateFieldQuickFix_5.
public void testUnusedParameterHasCreateFieldQuickFix_5() throws Exception {
enableInspectionTool(new JSUnusedLocalSymbolsInspection());
doSimpleHighlightingWithInvokeFixAndCheckResult("Create Field '_bar'");
}
use of com.intellij.lang.javascript.inspections.JSUnusedLocalSymbolsInspection in project intellij-plugins by JetBrains.
the class ActionScriptHighlightingTest method testUnusedSymbols.
@JSTestOptions({ JSTestOption.WithFlexSdk })
public void testUnusedSymbols() throws Exception {
enableInspectionTool(new JSUnusedLocalSymbolsInspection());
defaultTest();
}
use of com.intellij.lang.javascript.inspections.JSUnusedLocalSymbolsInspection in project intellij-plugins by JetBrains.
the class ActionScriptHighlightingTest method testUnusedParameterHasCreateFieldQuickFix.
public void testUnusedParameterHasCreateFieldQuickFix() throws Exception {
enableInspectionTool(new JSUnusedLocalSymbolsInspection());
doSimpleHighlightingWithInvokeFixAndCheckResult("Create Field 'xxx'");
}
use of com.intellij.lang.javascript.inspections.JSUnusedLocalSymbolsInspection in project intellij-plugins by JetBrains.
the class ActionScriptHighlightingTest method testUnusedSymbols4.
@JSTestOptions(JSTestOption.WithLineMarkers)
public void testUnusedSymbols4() throws Exception {
enableInspectionTool(new JSUnusedLocalSymbolsInspection());
doSimpleHighlightingWithInvokeFixAndCheckResult("Remove unused class 'Foo'");
}
use of com.intellij.lang.javascript.inspections.JSUnusedLocalSymbolsInspection in project intellij-plugins by JetBrains.
the class ActionScriptHighlightingTest method testJSDoc.
public void testJSDoc() throws Exception {
enableInspectionTool(new JSUnusedLocalSymbolsInspection());
final String testName = getTestName(false);
doTestFor(true, testName + ".js2", testName + "_2.js2");
}
Aggregations