Package net.sf.parteg.base.testcasegraph.testgoals

Examples of net.sf.parteg.base.testcasegraph.testgoals.TestGoalBase


      m_oTestCaseRunnerState = oRunnerState.copy();
      // determine last state
      TCGNode oStartNode = in_oNode;
      // a transition sequence was found?
      if(!m_oTestCaseRunnerState.getTestGoalsToSatisfy().isEmpty()) {
        TestGoalBase oTestGoal = m_oTestCaseRunnerState.getTestGoalsToSatisfy().get(0);
        if(oTestGoal instanceof TestGoalTransitionSequence) {
          TestGoalTransitionSequence oTestGoalTransitionSequence =
            (TestGoalTransitionSequence)oTestGoal;
          TCGNode oSequenceEndNode = oTestGoalTransitionSequence.getEndNode();
          if(oSequenceEndNode != null) {
View Full Code Here


    // check if the current search process is influenced by a given
    // test goal (e.g. transition sequence)
    boolean bNormalSearchAllowed = true;
    if(!m_oTestCaseRunnerState.getTestGoalsToSatisfy().isEmpty()) {
      TestGoalBase oTestGoalToSatisfy = m_oTestCaseRunnerState.getTestGoalsToSatisfy().get(0);
      if(oTestGoalToSatisfy instanceof TestGoalTransitionSequence) {
        TestGoalTransitionSequence oTestGoalToSatisfySpec =
          (TestGoalTransitionSequence)oTestGoalToSatisfy;
        Pair<TCGNode, TCGTransition> oPredefinedNodeTransitionPair =
          oTestGoalToSatisfySpec.getEndNodeTransitionPair();
View Full Code Here

    boolean bFirstTestGoalIsEmptyTransitionSequence = false;
    TestGoalGuardConditions oTestGuardGoal = null;
    TestGoalTransitionSequence oTestGoalToSatisfySpec = null;
    if(!m_oTestCaseRunnerState.getTestGoalsToSatisfy().isEmpty()) {
      int nIndexForGuardCondition = 0;
      TestGoalBase oTestGoalToSatisfy = m_oTestCaseRunnerState.getTestGoalsToSatisfy().get(0);
      if(oTestGoalToSatisfy instanceof TestGoalTransitionSequence) {
        nIndexForGuardCondition = 1;
        oTestGoalToSatisfySpec =
          (TestGoalTransitionSequence)oTestGoalToSatisfy;
        if(oTestGoalToSatisfySpec.getTransitionSequence().isEmpty()) {
          bFirstTestGoalIsEmptyTransitionSequence = true;
        }
      }
      if(m_oTestCaseRunnerState.getTestGoalsToSatisfy().size() > nIndexForGuardCondition) {
        TestGoalBase oSecondGoal =
          m_oTestCaseRunnerState.getTestGoalsToSatisfy().get(nIndexForGuardCondition);
        if(oSecondGoal instanceof TestGoalGuardConditions) {
          oTestGuardGoal = (TestGoalGuardConditions)oSecondGoal;
        }
      }
View Full Code Here

TOP

Related Classes of net.sf.parteg.base.testcasegraph.testgoals.TestGoalBase

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.