You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by do...@apache.org on 2009/03/04 16:27:34 UTC

svn commit: r750049 - /ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/TestRunContainer.java

Author: doogie
Date: Wed Mar  4 15:27:33 2009
New Revision: 750049

URL: http://svn.apache.org/viewvc?rev=750049&view=rev
Log:
Set the counts on the run junit ant helper, so that the document
element has the correct values(was always 0 before).

Modified:
    ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/TestRunContainer.java

Modified: ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/TestRunContainer.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/TestRunContainer.java?rev=750049&r1=750048&r2=750049&view=diff
==============================================================================
--- ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/TestRunContainer.java (original)
+++ ofbiz/trunk/framework/testtools/src/org/ofbiz/testtools/TestRunContainer.java Wed Mar  4 15:27:33 2009
@@ -129,6 +129,7 @@
 
             // run the tests
             suite.run(results);
+            test.setCounts(results.runCount(), results.failureCount(), results.errorCount());
             xml.endTestSuite(test);            
 
             // dispay the results