7475767778798081
} catch (AssertionError e) { response = new FailureResponse(Failure.createFailure(e)); } currentTestCase.setResponseContext(new ResponseContext(response, new HashMap<String, Serializable>())); resp.setStatus(200); }
124125126127128129130
} // We don't expose it as it is can be used in a wrong manner, rather use update response method private void setResponse(DriverResponse response) { responseContext = new ResponseContext(response, new HashMap<String, Serializable>()); }
127128129130131132133134
} catch (AssertionError e) { response = new FailureResponse(Failure.createFailure(e)); } setResponseContext(new ResponseContext(response, new HashMap<String, Serializable>())); resp.setStatus(200); }