Search in sources :

Example 1 with CssUnknownTargetInspection

use of com.intellij.psi.css.inspections.invalid.CssUnknownTargetInspection in project intellij-plugins by JetBrains.

the class FlexHighlightingTest method testRefsInEmbed.

public void testRefsInEmbed() throws Exception {
    doTestFor(true, getTestName(false) + ".as");
    enableInspectionTool(new CssUnknownTargetInspection());
    doTestFor(true, getTestName(false) + ".css");
}
Also used : CssUnknownTargetInspection(com.intellij.psi.css.inspections.invalid.CssUnknownTargetInspection)

Example 2 with CssUnknownTargetInspection

use of com.intellij.psi.css.inspections.invalid.CssUnknownTargetInspection in project intellij-plugins by JetBrains.

the class FlexHighlightingTest method testFlexWithCss.

@JSTestOptions({ JSTestOption.WithCssSupportLoader, JSTestOption.WithFlexFacet })
public void testFlexWithCss() throws Exception {
    //enableInspectionTool(new FlexCssStrayBraceInspection());
    registerCommonCssInspections();
    enableInspectionTool(new CssUnknownTargetInspection());
    defaultTest();
    doTestFor(true, getTestName(false) + ".css");
}
Also used : CssUnknownTargetInspection(com.intellij.psi.css.inspections.invalid.CssUnknownTargetInspection)

Aggregations

CssUnknownTargetInspection (com.intellij.psi.css.inspections.invalid.CssUnknownTargetInspection)2