use of com.twinsoft.convertigo.beans.core.ITestCaseContainer in project convertigo by convertigo.
the class GetTestPlatform method createRequestableElement.
private Element createRequestableElement(Document document, RequestableObject requestable) {
Element e_requestable = createDatabaseObjectElement(document, requestable);
if (requestable instanceof IVariableContainer) {
handleIVariableContainer(document, e_requestable, (IVariableContainer) requestable);
}
if (requestable instanceof ITestCaseContainer) {
for (TestCase testcase : ((ITestCaseContainer) requestable).getTestCasesList()) {
Element e_testcase = createDatabaseObjectElement(document, testcase);
handleIVariableContainer(document, e_testcase, testcase);
e_requestable.appendChild(e_testcase);
}
}
return e_requestable;
}
Aggregations