@Override
  public boolean dependsOn(ModelItem modelItem) {
    WsdlRunTestCaseTestStep callStep = getModelItem();

    return modelItem == callStep
        || modelItem == callStep.getTestCase()
        || modelItem == callStep.getTestCase().getTestSuite()
        || modelItem == callStep.getTestCase().getTestSuite().getProject();
  }
예제 #2
0
  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;
  }