use of com.intellij.lang.javascript.inspections.JSMethodCanBeStaticInspection in project intellij-plugins by JetBrains.
the class ActionScriptHighlightingTest method testMethodCanBeStatic.
public void testMethodCanBeStatic() throws Exception {
enableInspectionTool(new JSMethodCanBeStaticInspection());
doSimpleHighlightingWithInvokeFixAndCheckResult("Make 'static'");
}
use of com.intellij.lang.javascript.inspections.JSMethodCanBeStaticInspection in project intellij-plugins by JetBrains.
the class FlexUnitHighlightingTest method testMethodInSuite2.
@JSTestOptions({ JSTestOption.WithFlexFacet, JSTestOption.WithFlexUnit4 })
public void testMethodInSuite2() throws Exception {
enableInspectionTool(new JSMethodCanBeStaticInspection());
doTest(getBasePath() + getTestName(false) + ".as", true, false, true);
}
use of com.intellij.lang.javascript.inspections.JSMethodCanBeStaticInspection in project intellij-plugins by JetBrains.
the class ActionScriptHighlightingTest method testMethodCanBeStaticImplicitVars.
@JSTestOptions({ JSTestOption.WithGumboSdk })
public void testMethodCanBeStaticImplicitVars() throws Exception {
enableInspectionTool(new JSMethodCanBeStaticInspection());
doTestFor(true, getTestName(false) + ".mxml");
}
use of com.intellij.lang.javascript.inspections.JSMethodCanBeStaticInspection in project intellij-plugins by JetBrains.
the class ActionScriptHighlightingTest method testMethodCanBeStatic4.
public void testMethodCanBeStatic4() throws Exception {
enableInspectionTool(new JSMethodCanBeStaticInspection());
defaultTest();
}
use of com.intellij.lang.javascript.inspections.JSMethodCanBeStaticInspection in project intellij-plugins by JetBrains.
the class ActionScriptHighlightingTest method testMethodCanBeStatic3.
public void testMethodCanBeStatic3() throws Exception {
enableInspectionTool(new JSMethodCanBeStaticInspection());
doSimpleHighlightingWithInvokeFixAndCheckResult("Make 'static'");
}
Aggregations