コード例 #1
0
 /**
  * Runs one soapUI TestCase
  *
  * @param testCase single TestCase
  */
 protected void run(TestCase testCase) {
   testCase.addTestRunListener(listener);
   TestRunner runner = testCase.run(new PropertiesMap(), false);
   assertThat(runner.getStatus())
       .describedAs(
           "TestCase [" + testCase.getLabel() + "] failed because of [" + runner.getReason() + "]")
       .isEqualTo(TestRunner.Status.FINISHED);
 }
コード例 #2
0
 @Override
 public void testCaseAdded(final TestCase testCase) {
   Utils.log("Adding TestCase \"" + testCase.getLabel() + "\" to model");
   getBridge(testCase).addTestCasePrxy(testCase);
 }