infinitest - compiler error and missing dependency
-
benrady (at gmail)
- Assigned user set to benrady (at gmail)
I think this might be the same as issue #7 Added Workspace jars not recognized, but if you can post the project would be very helpful.
-
Jeanne Boyarsky
I'd rather the project not be on the public internet so I'm e-mailing it to you.
I am able to reproduce the problem in two ways. (I tested again because I wanted to make sure it still happened with the slightly smaller version of the project I am e-mailing.)
1) Remove toLowerCase() from line 137 of PostCommon.java. This creates unit test failures.
2) Infinitest correctly identifies two failing tests and marks them with errors in the problems view
3) Restore toLowerCase() which should get rid of the unit test failures.
4) Infinitetest ran 8 test classes including the one with the two failures. The infinitest bar is red however there are no errors in the problems view shown.
5) Project > Clean project
6) Now infinitest shows one problem in the problems view. "NoClassDefFoundError (net/jforum/cache/CacheEngine) in PostCommonTest." PostCommonTest was the class that had the failing test in this exercise.1) Turn Post.setText into "hi" - Now it fails the appropriate tests and adds the NoClassDefFound on CacheEngine.
2) Revert Post.setText - tests don't run again
3) Clean project
4) Note NoClassDefFound is back. -
benrady (at gmail)
- State changed from new to released
This is likely fixed in 5.1.68 as part of the fix for issue #7 Added Workspace jars not recognized.
Please verify. If the problem still exists, consider uploading an example workspace that reproduces the problem
-
Jeanne Boyarsky
Yes. Upgrading to 5.1.68 solved both problems.
Thank you.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.