use of com.intellij.lang.javascript.inspections.JSUnusedLocalSymbolsInspection in project intellij-plugins by JetBrains.
the class ActionScriptHighlightingTest method testHighlightThingsFromUnopenedNamespaces.
public void testHighlightThingsFromUnopenedNamespaces() throws Exception {
enableInspectionTool(new JSUnusedLocalSymbolsInspection());
final String testName = getTestName(false);
doTestFor(true, testName + ".js2");
}
use of com.intellij.lang.javascript.inspections.JSUnusedLocalSymbolsInspection in project intellij-plugins by JetBrains.
the class ActionScriptHighlightingTest method testUnusedParameterHasCreateFieldQuickFix_3.
public void testUnusedParameterHasCreateFieldQuickFix_3() throws Exception {
enableInspectionTool(new JSUnusedLocalSymbolsInspection());
doSimpleHighlightingWithInvokeFixAndCheckResult("Create Field 'value'");
}
use of com.intellij.lang.javascript.inspections.JSUnusedLocalSymbolsInspection in project intellij-plugins by JetBrains.
the class ActionScriptHighlightingTest method testUnresolvedThisInCallback.
@JSTestOptions({ JSTestOption.WithFlexSdk })
public void testUnresolvedThisInCallback() throws Exception {
enableInspectionTool(new JSUnusedLocalSymbolsInspection());
final String testName = getTestName(false);
doTestFor(true, testName + ".js2");
}
use of com.intellij.lang.javascript.inspections.JSUnusedLocalSymbolsInspection in project intellij-plugins by JetBrains.
the class ActionScriptHighlightingTest method testUnusedSymbols3.
public void testUnusedSymbols3() throws Exception {
enableInspectionTool(new JSUnusedLocalSymbolsInspection());
defaultTest();
}
use of com.intellij.lang.javascript.inspections.JSUnusedLocalSymbolsInspection in project intellij-plugins by JetBrains.
the class ActionScriptHighlightingTest method testUnusedParameterHasAssignToFieldQuickFix_3.
public void testUnusedParameterHasAssignToFieldQuickFix_3() throws Exception {
enableInspectionTool(new JSUnusedLocalSymbolsInspection());
doSimpleHighlightingWithInvokeFixAndCheckResult("Assign parameter 'xxx' to field");
}
Aggregations