public TestCase createTestCase(TestCaseGraphHelper in_oTCGHelper)
{
TCGNode oNode = (TCGNode)getElement();
// if composite state: try test generation for each sub state
if(TCGNodeHelperClass.nodeHasNoSubNodes(oNode)) {
TestCaseGeneratorRunner oRunner = new TestCaseGeneratorRunner(in_oTCGHelper);
// initialize the runtime state
oRunner.searchBackwardsFromNodeWithEventConditionConjunction(
oNode, null, null, false);
// oRunner.getRuntimeState().setActiveNode(oNode);
// oRunner.searchBackwardsFromNode(oNode);
return oRunner.getCreatedTestCase();
}
else
return createTestCaseForSubNode(in_oTCGHelper,oNode);
}