Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
unit test failure w/junit task

unit test failure w/junit task

2003-03-05       - By Erik Price
Reply:     1     2     3     4     5     6     7     8  

Hi,

I just started using the <junit> task with <junitreport>, which is
great.  In my very first unit test, which simply asserted something
which I knew to be true, everything worked perfectly.

However, I've written a couple of "real" unit tests since then and I've
gotten an error message I've never seen before.  This is in my report:

testProjectNameHardCoded Error Native Library C:\WINNT\jvb.dll already
loaded in another classloader

Does anyone know what that one means?  That particular unit test really
can't fail, either -- it tests to see if a string in the unit test
matches a hard-coded string in the project, which I know for a fact
match.  So there's something going wrong with either JUnit or ant, or
... well I don't really know.


Thanks,


Erik



©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.