struts-user mailing list archives

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

Hi,

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">
		  		<classpath>
		  			    	<path refid="project.class.path"/>
		  			       	<pathelement path="${java.class.path}"/>
		  			  	  	<pathelement path="${war-file}" /> 
		  			       	        <pathelement path="${build}"/>
		  			  	  	<pathelement path="${conf-dir}" />
		  		</classpath>
		  	  <test name="RefreshTest" todir="${docsDir}"
outfile="junit.refresh.result">
		  		  <formatter type="xml"/>
		  	  </test> 		
		  	</junit>
	  </target>

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

 DEBUG [main] (Digester.java:1436) -   New
match='web-app/servlet/init-param'

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

Thanks, - Dave
-- 
View this message in context: http://www.nabble.com/How-do-I-turn-off-debug-statements-when-using-MockStrutsTestCase-with-JUnit--tp23339681p23339681.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message