1 13 14 package org.eclipse.jdt.internal.junit.runner; 15 16 public class FailedComparison { 17 18 private final String fExpected; 19 private final String fActual; 20 21 public FailedComparison(String expected, String actual) { 22 fExpected = expected; 23 fActual = actual; 24 } 25 26 public String getActual() { 27 return fActual; 28 } 29 30 public String getExpected() { 31 return fExpected; 32 } 33 34 void sendMessages(MessageSender sender) { 35 sender.sendMessage(MessageIds.EXPECTED_START); 36 sender.sendMessage(getExpected()); 37 sender.sendMessage(MessageIds.EXPECTED_END); 38 39 sender.sendMessage(MessageIds.ACTUAL_START); 40 sender.sendMessage(getActual()); 41 sender.sendMessage(MessageIds.ACTUAL_END); 42 } 43 44 } 45 | Popular Tags |