Changeset 146 for trunk/EventBenchCore/src/de/ugoe/cs/eventbench/assertions
- Timestamp:
- 08/07/11 18:51:58 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchCore/src/de/ugoe/cs/eventbench/assertions/FileEqualsReplay.java
r136 r146 5 5 6 6 public class FileEqualsReplay implements IReplayable { 7 7 8 8 String actualFile = null; 9 9 String expectedFile = null; … … 12 12 */ 13 13 private static final long serialVersionUID = 1L; 14 14 15 15 public void setActualFile(String s) { 16 16 actualFile = s; 17 17 } 18 18 19 19 public void setExpectedFile(String s) { 20 20 expectedFile = s; 21 21 } 22 23 public String getReplay() { 24 22 23 public String getReplay() { 24 25 25 StringBuilder currentMsgStr = new StringBuilder(800); 26 currentMsgStr.append(" <msg type=\"FileEquals\" "); 27 currentMsgStr.append("actual file=\"" + actualFile + "\" "); 28 currentMsgStr.append("expected file=\"" + expectedFile + "\""); 29 currentMsgStr.append(StringTools.ENDLINE); 30 currentMsgStr.append(" </msg>"); 26 currentMsgStr.append(" <fileEquals "); 27 currentMsgStr.append("actualFile=\"" + actualFile + "\" "); 28 currentMsgStr.append("expectedFile=\"" + expectedFile + "\"/>"); 31 29 currentMsgStr.append(StringTools.ENDLINE); 32 30 return currentMsgStr.toString(); 33 31 } 34 35 36 //???37 public String getTarget() { return "targetJo";}32 33 public String getTarget() { 34 return "targetNotUsed"; 35 } 38 36 39 37 }
Note: See TracChangeset
for help on using the changeset viewer.