use of com.intellij.lang.javascript.inspections.UnterminatedStatementJSInspection in project intellij-plugins by JetBrains.
the class FlexHighlightingTest method testEmbedInNodes.
@JSTestOptions({ JSTestOption.WithFlexSdk, JSTestOption.WithJsSupportLoader })
public void testEmbedInNodes() throws Exception {
enableInspectionTool(new UnterminatedStatementJSInspection());
final String testName = getTestName(false);
final Collection<HighlightInfo> infoCollection = doTestFor(true, testName + ".mxml");
findAndInvokeIntentionAction(infoCollection, "Terminate statement", myEditor, myFile);
checkResultByFile(BASE_PATH + "/" + testName + "_after.mxml");
}
Aggregations