git://secure.phpeclipse.com
/
phpeclipse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
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
diff --git
a/net.sourceforge.phpeclipse.phpunit/src/net/sourceforge/phpeclipse/phpunit/testpool/TestCase.java
b/net.sourceforge.phpeclipse.phpunit/src/net/sourceforge/phpeclipse/phpunit/testpool/TestCase.java
index
5d5891a
..
eba77d7
100644
(file)
--- a/
net.sourceforge.phpeclipse.phpunit/src/net/sourceforge/phpeclipse/phpunit/testpool/TestCase.java
+++ b/
net.sourceforge.phpeclipse.phpunit/src/net/sourceforge/phpeclipse/phpunit/testpool/TestCase.java
@@
-86,6
+86,11
@@
public class TestCase {
public void setVerdict(String string) {
verdict = string;
+ if(isFailure())
+ parentSuite.setHasFailure();
+ if(isError())
+ parentSuite.setHasError();
+
}
/**