X-Git-Url: http://git.phpeclipse.com 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 7812b67..5d5891a 100644 --- 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 @@ -21,6 +21,11 @@ public class TestCase { private TestSuite parentSuite; + private String testName; + private String testID; + private String verdict; + private String parentTestSuiteName; + @@ -28,16 +33,14 @@ public class TestCase { * @param testName * @param testID */ - public TestCase(String testName, String testID) { + public TestCase(String testID, String testName, String parentTestSuiteName) { this.testName = testName; this.testID = testID; + this.parentTestSuiteName = parentTestSuiteName; } - String testName; - String testID; - String verdict; /** * @return @@ -65,8 +68,11 @@ public class TestCase { */ public void setTestID(String string) { testID = string; + } + + /** * @param string */ @@ -80,10 +86,6 @@ public class TestCase { public void setVerdict(String string) { verdict = string; - - - - } /** @@ -91,6 +93,7 @@ public class TestCase { */ public void setParentSuite(TestSuite suite) { this.parentSuite = suite; + suite.setName(parentTestSuiteName); }