Search in sources :

Example 6 with CssInvalidPropertyValueInspection

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

the class FlexHighlightingTest method testFlexSpecificFunctionsInCss.

@JSTestOptions({ JSTestOption.WithCssSupportLoader, JSTestOption.WithFlexFacet })
public void testFlexSpecificFunctionsInCss() throws Exception {
    enableInspectionTool(new CssInvalidElementInspection());
    enableInspectionTool(new CssInvalidPropertyValueInspection());
    enableInspectionTool(new CssInvalidFunctionInspection());
    doTestFor(true, getTestName(false) + ".css");
}
Also used : CssInvalidFunctionInspection(com.intellij.psi.css.inspections.invalid.CssInvalidFunctionInspection) CssInvalidPropertyValueInspection(com.intellij.psi.css.inspections.invalid.CssInvalidPropertyValueInspection) CssInvalidElementInspection(com.intellij.psi.css.inspections.CssInvalidElementInspection)

Example 7 with CssInvalidPropertyValueInspection

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

the class FlexHighlightingTest method testHtmlCss.

@JSTestOptions({ JSTestOption.WithCssSupportLoader, JSTestOption.WithFlexFacet })
public void testHtmlCss() throws Exception {
    enableInspectionTool(new CssInvalidPropertyValueInspection());
    enableInspectionTool(new CssInvalidHtmlTagReferenceInspection());
    enableInspectionTool(new CssUnknownPropertyInspection());
    doTestFor(true, getTestName(false) + ".html");
}
Also used : CssUnknownPropertyInspection(com.intellij.psi.css.inspections.CssUnknownPropertyInspection) CssInvalidPropertyValueInspection(com.intellij.psi.css.inspections.invalid.CssInvalidPropertyValueInspection) CssInvalidHtmlTagReferenceInspection(com.intellij.psi.css.inspections.invalid.CssInvalidHtmlTagReferenceInspection)

Aggregations

CssInvalidPropertyValueInspection (com.intellij.psi.css.inspections.invalid.CssInvalidPropertyValueInspection)7 CssUnknownPropertyInspection (com.intellij.psi.css.inspections.CssUnknownPropertyInspection)2 CssInvalidHtmlTagReferenceInspection (com.intellij.psi.css.inspections.invalid.CssInvalidHtmlTagReferenceInspection)2 VirtualFile (com.intellij.openapi.vfs.VirtualFile)1 CssInvalidElementInspection (com.intellij.psi.css.inspections.CssInvalidElementInspection)1 CssInvalidFunctionInspection (com.intellij.psi.css.inspections.invalid.CssInvalidFunctionInspection)1