hablutzel1 / GenerateTestCases

Behaviour Driven Development plugin for IntelliJ IDEA
18 stars 11 forks source link

ClassCastException when should description contains ';' symbol #29

Open hablutzel1 opened 12 years ago

hablutzel1 commented 12 years ago

ClassCastException: com.intellij.psi.impl.source.tree.PsiWhiteSpaceImpl cannot be cast to com.intellij.psi.impl.source.javadoc.PsiDocTokenImpl: com.intellij.psi.impl.source.tree.PsiWhiteSpaceImpl cannot be cast to com.intellij.psi.impl.source.javadoc.PsiDocTokenImpl

hablutzel1 commented 12 years ago

Error only happens when the ';' symbol is found in the first line:

/**
     * @should a;
     * @should
     */
    void foo() {

    }

Furthermore to trigger the error caret should be moved from one @should to the other

Error has been observed from IDEA 111.24 version upwards