use of com.sixrr.inspectjs.validity.BadExpressionStatementJSInspection in project intellij-plugins by JetBrains.
the class ActionScriptHighlightingTest method testImportInClass.
@JSTestOptions({ JSTestOption.WithUnusedImports })
public void testImportInClass() throws Exception {
enableInspectionTool(new BadExpressionStatementJSInspection());
doTestFor(true);
}
use of com.sixrr.inspectjs.validity.BadExpressionStatementJSInspection in project intellij-plugins by JetBrains.
the class FlexHighlightingTest method testStateReferences.
@JSTestOptions({ JSTestOption.WithJsSupportLoader, JSTestOption.WithFlexSdk })
public void testStateReferences() throws Exception {
enableInspectionTool(new BadExpressionStatementJSInspection());
defaultTest();
}
use of com.sixrr.inspectjs.validity.BadExpressionStatementJSInspection in project intellij-plugins by JetBrains.
the class ActionScriptHighlightingTest method testConditionalBlocks.
@JSTestOptions(JSTestOption.WithFlexFacet)
public void testConditionalBlocks() throws Exception {
FlexTestUtils.modifyBuildConfiguration(myModule, bc -> bc.getCompilerOptions().setAllOptions(Collections.singletonMap("compiler.define", "CONFIG::debugging\t")));
enableInspectionTool(new BadExpressionStatementJSInspection());
defaultTest();
}
Aggregations