@Override public boolean dependsOn(ModelItem modelItem) { WsdlRunTestCaseTestStep callStep = getModelItem(); return modelItem == callStep || modelItem == callStep.getTestCase() || modelItem == callStep.getTestCase().getTestSuite() || modelItem == callStep.getTestCase().getTestSuite().getProject(); }
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; }