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