new class to manage icons. Showing failures,etc on a test suite.
[phpeclipse.git] / net.sourceforge.phpeclipse.phpunit / src / net / sourceforge / phpeclipse / phpunit / testpool / TestCase.java
index 5d5891a..eba77d7 100644 (file)
@@ -86,6 +86,11 @@ public class TestCase {
        public void setVerdict(String string) {
                verdict = string;
                
+               if(isFailure())
+                       parentSuite.setHasFailure();
+               if(isError())
+                       parentSuite.setHasError();
+               
        }
 
        /**