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

    return modelItem == callStep
        || modelItem == callStep.getTestCase()
        || modelItem == callStep.getTestCase().getTestSuite()
        || modelItem == callStep.getTestCase().getTestSuite().getProject();
  }
Exemplo n.º 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;
  }