Search in sources :

Example 1 with JSUnusedAssignmentInspection

use of com.intellij.lang.javascript.inspections.JSUnusedAssignmentInspection in project intellij-plugins by JetBrains.

the class ActionScriptHighlightingTest method testUnusedVariableValues.

public void testUnusedVariableValues() throws Exception {
    enableInspectionTool(new JSUnusedAssignmentInspection());
    enableInspectionTool(new JSUnusedGlobalSymbolsInspection());
    defaultTest();
}
Also used : JSUnusedAssignmentInspection(com.intellij.lang.javascript.inspections.JSUnusedAssignmentInspection) JSUnusedGlobalSymbolsInspection(com.intellij.lang.javascript.inspections.JSUnusedGlobalSymbolsInspection)

Example 2 with JSUnusedAssignmentInspection

use of com.intellij.lang.javascript.inspections.JSUnusedAssignmentInspection in project intellij-plugins by JetBrains.

the class ActionScriptHighlightingTest method testUnusedVariableValues2.

public void testUnusedVariableValues2() throws Exception {
    enableInspectionTool(new JSUnusedAssignmentInspection());
    defaultTest();
}
Also used : JSUnusedAssignmentInspection(com.intellij.lang.javascript.inspections.JSUnusedAssignmentInspection)

Aggregations

JSUnusedAssignmentInspection (com.intellij.lang.javascript.inspections.JSUnusedAssignmentInspection)2 JSUnusedGlobalSymbolsInspection (com.intellij.lang.javascript.inspections.JSUnusedGlobalSymbolsInspection)1