Search in sources :

Example 1 with CssSelectorSuffix

use of com.intellij.psi.css.CssSelectorSuffix in project intellij-plugins by JetBrains.

the class FlexCssNavigationTest method testCssStyleReference2.

@JSTestOptions({ JSTestOption.WithCssSupportLoader, JSTestOption.WithFlexFacet })
public void testCssStyleReference2() throws Exception {
    PsiElement[] elements = findTargetElements(getTestName(false) + ".css");
    boolean flag = false;
    for (PsiElement element : elements) {
        if (element instanceof CssSelectorSuffix) {
            flag = true;
        }
    }
    assertTrue(flag);
}
Also used : CssSelectorSuffix(com.intellij.psi.css.CssSelectorSuffix) PsiElement(com.intellij.psi.PsiElement) JSTestOptions(com.intellij.lang.javascript.JSTestOptions)

Aggregations

JSTestOptions (com.intellij.lang.javascript.JSTestOptions)1 PsiElement (com.intellij.psi.PsiElement)1 CssSelectorSuffix (com.intellij.psi.css.CssSelectorSuffix)1