cancel
Showing results for 
Search instead for 
Did you mean: 

Unit Test java file error

kelumpang
Champ in-the-making
Champ in-the-making
Hi,

I'm new to workflow/activiti. I'm using activiti designer 5.9.1, eclipse indigo SR 2 64 bit, and Java 7.  I tried to generate a unit test for a simple flow design but the generated java file seems error. it seems the org.junit.* and org.activiti.* can not be resolved.

What should I do?

Thanks a lot.

Kelumpang.
2 REPLIES 2

rpomeroy
Champ in-the-making
Champ in-the-making
I have a somewhat related issue.  In the generated JUnit the file path (on Windows) is not a valid Java String - it's using un-escaped "\"'s in the path.  We should at least be generating paths using the system agnostic "/" path separators.

Also, using absolute paths is pretty brittle. Would be nice if it used classpath resources instead.

Regards,

Ron

kelumpang
Champ in-the-making
Champ in-the-making
Hi Ron,

Thanks for commenting…
I've gotten the solution. The unit test is working now.

thanks a lot


Kelumpang