Search in sources :

Example 6 with JSUnusedGlobalSymbolsInspection

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

the class ActionScriptHighlightingTest method globalUnusedTestWith2Files.

private void globalUnusedTestWith2Files() throws IOException {
    enableInspectionTool(new JSUnusedGlobalSymbolsInspection());
    String testName = getTestName(false);
    doTestFor(true, testName + ".js2", testName + "_2.js2");
}
Also used : JSUnusedGlobalSymbolsInspection(com.intellij.lang.javascript.inspections.JSUnusedGlobalSymbolsInspection)

Aggregations

JSUnusedGlobalSymbolsInspection (com.intellij.lang.javascript.inspections.JSUnusedGlobalSymbolsInspection)6 JSTestOptions (com.intellij.lang.javascript.JSTestOptions)1 JSUnusedAssignmentInspection (com.intellij.lang.javascript.inspections.JSUnusedAssignmentInspection)1