Package fitnesse.testsystems.slim.results

Examples of fitnesse.testsystems.slim.results.SlimExceptionResult


      try {
        final String key = a.getInstruction().getId();
        final Object returnValue = instructionResults.get(key);
        //Exception management
        if (returnValue != null && returnValue instanceof String && ((String)returnValue).startsWith(EXCEPTION_TAG)) {
          SlimExceptionResult exceptionResult = makeExceptionResult(key, (String) returnValue);
          if (exceptionResult.isStopTestException()) {
            stopTestCalled = true;
          }
          if (exceptionResult.isStopSuiteException()) {
            stopTestCalled = stopSuiteCalled = true;
          }
          exceptionResult = a.getExpectation().evaluateException(exceptionResult);
          if (exceptionResult != null) {
            testExceptionOccurred(a, exceptionResult);
View Full Code Here


      }
    }
  }

  private SlimExceptionResult makeExceptionResult(String resultKey, String resultString) {
    SlimExceptionResult exceptionResult = new SlimExceptionResult(resultKey, resultString);
    return exceptionResult;
  }
View Full Code Here

TOP

Related Classes of fitnesse.testsystems.slim.results.SlimExceptionResult

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.