示例#1
0
  /** We need to check that we are not pointing at testcase in original testsuite */
  public void afterCopy(WsdlTestSuite oldTestSuite, WsdlTestCase oldTestCase) {
    super.afterCopy(oldTestSuite, oldTestCase);

    if (targetTestCase != null && oldTestSuite == targetTestCase.getTestSuite()) {
      setTargetTestCase(getTestCase().getTestSuite().getTestCaseByName(targetTestCase.getName()));
    }
  }
  public boolean resolve() {
    WsdlTestCase tCase = testStep.getTestCase().getTestSuite().addNewTestCase("New Test Case");
    testStep.setTargetTestCase(tCase);
    resolved = true;

    Analytics.trackAction(SoapUIActions.CREATE_TEST_CASE.getActionName());

    return resolved;
  }
示例#3
0
  @Override
  public void afterLoad() {
    setTargetTestCase(findTargetTestCase());

    super.afterLoad();
  }