I'm facing a weird error. I have the following projects with the dependencies shown (a -> b means a depends on b)
storagemanager->util
stindex->util
stindex->storagemanager


I have made a unit test in the storagemanager project that uses a public static method in a class located in the util project. When I compile and run the test in Eclipse it works fine. Under maven, the source and unit test files compile fine, but if I run the tests the test cases invoking the method fail. If I copy the static method into the unit test itself, then the test passes.

Does anyone know what's going on? I don't want to duplicate utility methods in *all* my unit testcases because of this...

Omair


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to