private TestSuite parentSuite;
+ private String testName;
+ private String testID;
+ private String verdict;
+ private String parentTestSuiteName;
+
* @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
*/
public void setTestID(String string) {
testID = string;
+
}
+
+
/**
* @param string
*/
public void setVerdict(String string) {
verdict = string;
-
-
-
-
}
/**
*/
public void setParentSuite(TestSuite suite) {
this.parentSuite = suite;
+ suite.setName(parentTestSuiteName);
}