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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

doogie-3
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