Testing a Custom Language plugin

Hi again, this may be related to my problems with AstWrapperPsiElement

How should one test a Custom Language plugin?  I would like to set up a JUnit suite, and I have been looking at the Groovy plugin test code.

However, this code seems to rely on classes that are not in my IDEA SDK.  For example,  IdeaTestApplication, ProjectManagerEx, PersistentFS, JavaPsiFacadeEx and IdeaLogger.

Thanks again
Peter

2 comments
Comment actions Permalink

You need to add idea.jar to your IDEA-JDK for these classes.

0
Comment actions Permalink

Thank you Yann!

Add idea.jar to the SDK jars fixed both problems.

Thanks for the quick response.
Peter

0

Please sign in to leave a comment.