public SlimTestXmlFormatter( TestExecutionReport.TestResult testResult, SlimTestSystem slimSystem) { this.testResult = testResult; instructions = slimSystem.getInstructions(); results = slimSystem.getInstructionResults(); expectations = slimSystem.getExpectations(); slimTables = slimSystem.getTestTables(); }
protected String createEvaluationMessage(String actual, String expected) { try { table.appendCellToRow(getRow(), actual); } catch (Throwable e) { return failMessage(actual, SlimTestSystem.exceptionToString(e)); } return expected; }