Writing tests for a large framework

Hi guys. I'm working on tests for the OFBiz integration plugin, and i have a question. I'd like to test references towards an XML definition from a java file. The pattern are similar as the one that follows :
        .methodCallParameter(0, PsiJavaPatterns.psiMethod()
Wich means the tests for this kind of pattern will only work if i have a package structure, and a java module running right ?
And i didn't find any example on how to properly setup a fixture project in tests, adding referenced classes to the project etc.
Is there any leads on how to do this ?
Thanks a lot for your help
1 comment
Comment actions Permalink

Try using LightJavaCodeInsightFixtureTestCase for Java-dependent tests.


Please sign in to leave a comment.