Package net.sf.parteg.base.testcasetree.actions

Examples of net.sf.parteg.base.testcasetree.actions.TestCaseGraphAddNodeAction


  private TCGTransition createTCGPart(
      TCGNode in_oTCGNode,
      String in_sTransitionNamePrefix)
  {
    // create new node in TestCaseGraph
    TestCaseGraphAddNodeAction oAction =
      new TestCaseGraphAddNodeAction(this, in_oTCGNode);
    oAction.execute();
   
    // constraints checken
    if(checkCoverageCriteria() == false)
    {
      oAction.reverse();
      return null;
    }
    else
    {
      // new node - set name
      TCGNode oNewTCGNode = oAction.getNode();
      oNewTCGNode.setName("tmp " + String.valueOf(getTestCaseGraph().getNodes().size()));
      oNewTCGNode.setInvariant(null);
     
      // copy all parameters of the predecessor
      TCGParameterHelperClass.copyParameters(in_oTCGNode, oNewTCGNode);
View Full Code Here

TOP

Related Classes of net.sf.parteg.base.testcasetree.actions.TestCaseGraphAddNodeAction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.