Search in sources :

Example 1 with CssUnitlessNumberInspection

use of com.intellij.psi.css.inspections.bugs.CssUnitlessNumberInspection in project intellij-plugins by JetBrains.

the class FlexHighlightingTest method testFlexWithCss3.

@JSTestOptions({ JSTestOption.WithCssSupportLoader, JSTestOption.WithFlexFacet })
public void testFlexWithCss3() throws Exception {
    enableInspectionTool(new CssUnitlessNumberInspection());
    enableInspectionTool(new CssNegativeValueInspection());
    enableInspectionTool(new CssNoGenericFontNameInspection());
    enableInspectionTool((LocalInspectionTool) Class.forName("org.jetbrains.w3validators.css.W3CssValidatorInspection").newInstance());
    doTestFor(true, getTestName(false) + ".css");
}
Also used : CssUnitlessNumberInspection(com.intellij.psi.css.inspections.bugs.CssUnitlessNumberInspection) CssNoGenericFontNameInspection(com.intellij.psi.css.inspections.bugs.CssNoGenericFontNameInspection) CssNegativeValueInspection(com.intellij.psi.css.inspections.CssNegativeValueInspection)

Aggregations

CssNegativeValueInspection (com.intellij.psi.css.inspections.CssNegativeValueInspection)1 CssNoGenericFontNameInspection (com.intellij.psi.css.inspections.bugs.CssNoGenericFontNameInspection)1 CssUnitlessNumberInspection (com.intellij.psi.css.inspections.bugs.CssUnitlessNumberInspection)1