struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From laredotornado <>
Subject How do I turn off debug statements when using MockStrutsTestCase with JUnit?
Date Fri, 01 May 2009 21:02:49 GMT


I'm using the latest version of MockStrutsTestCase to test my Struts 1.3
application.  I'm using Ant 1.6.  I have Ant Junit tasks that look like ...

	  <target name="run-refresh-test" depends="build-tests">
		  	<junit dir="${build}" fork="true" haltonfailure="true">
		  			    	<path refid="project.class.path"/>
		  			       	<pathelement path="${java.class.path}"/>
		  			  	  	<pathelement path="${war-file}" /> 
		  			       	        <pathelement path="${build}"/>
		  			  	  	<pathelement path="${conf-dir}" />
		  	  <test name="RefreshTest" todir="${docsDir}"
		  		  <formatter type="xml"/>

but when I run my test case, my result outfile contains all these lines

 DEBUG [main] ( -   New

I think this might have something to do with MockStrutsTestCase.  Anyone
know how to turn debugging off?

Thanks, - Dave
View this message in context:
Sent from the Struts - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message