From: <Gou...@ne...> - 2003-08-18 10:57:20
|
I was having the same problem using JUnits Swing UI with HtmlUnit, when 'reload classes ...' option was checked. It does not happen when you uncheck this option. It seems for me that JUnits class loader mixes up the classes, probably loading already loaded logging classes again. By the way, I was disturbed by 'info'-level messages about disabled redirects, so I'm running tests locally with java -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog -Dorg.apache.commons.logging.simplelog.defaultlog=warn junit.textui.TestRunner mytests.SmokeTests Regards Alexei Goussev __________________________________________________________________ McAfee VirusScan Online from the Netscape Network. Comprehensive protection for your entire computer. Get your free trial today! http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397 Get AOL Instant Messenger 5.1 free of charge. Download Now! http://aim.aol.com/aimnew/Aim/register.adp?promo=380455 |