Changeset 147 for trunk/EventBenchCore
- Timestamp:
- 08/07/11 18:52:48 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchCore/src/de/ugoe/cs/eventbench/assertions/TextEqualsReplay.java
r136 r147 5 5 6 6 public class TextEqualsReplay implements IReplayable { 7 7 8 8 private String expectedValue = null; 9 9 private String target = null; … … 12 12 */ 13 13 private static final long serialVersionUID = 1L; 14 14 15 15 public void setExpectedValue(String s) { 16 16 expectedValue = s; 17 17 } 18 18 19 19 public void setTarget(String s) { 20 20 target = s; 21 21 } 22 23 public String getReplay() { 24 22 23 public String getReplay() { 24 25 25 StringBuilder currentMsgStr = new StringBuilder(400); 26 currentMsgStr.append(" <msg type=\"TextEquals\" "); 27 currentMsgStr.append("expected value=\"" + expectedValue + "\" "); 28 currentMsgStr.append("target=\"" + target + "\" "); 26 currentMsgStr.append(" <textEquals expectedValue=\"" + expectedValue + "\">"); 29 27 currentMsgStr.append(StringTools.ENDLINE); 30 currentMsgStr.append(" </msg>"); 28 currentMsgStr.append("<target>"); 29 currentMsgStr.append(StringTools.ENDLINE); 30 currentMsgStr.append(target); 31 currentMsgStr.append(StringTools.ENDLINE); 32 currentMsgStr.append("</target>"); 33 currentMsgStr.append(StringTools.ENDLINE); 34 currentMsgStr.append("</textEquals>"); 31 35 currentMsgStr.append(StringTools.ENDLINE); 32 36 return currentMsgStr.toString(); 33 37 } 34 35 //??? 36 public String getTarget() { return target; } 38 39 40 public String getTarget() { 41 return target; 42 } 37 43 38 44 }
Note: See TracChangeset
for help on using the changeset viewer.