Changeset 149 for trunk


Ignore:
Timestamp:
08/08/11 14:53:16 (13 years ago)
Author:
jhall
Message:

added replacement of characters not compatible with xml format

Location:
trunk/EventBenchCore/src/de/ugoe/cs/eventbench/assertions
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/EventBenchCore/src/de/ugoe/cs/eventbench/assertions/FileEqualsReplay.java

    r146 r149  
    2323        public String getReplay() { 
    2424 
     25                StringTools.xmlEntityReplacement(actualFile); 
     26                StringTools.xmlEntityReplacement(expectedFile); 
     27 
    2528                StringBuilder currentMsgStr = new StringBuilder(800); 
    2629                currentMsgStr.append("  <fileEquals "); 
  • trunk/EventBenchCore/src/de/ugoe/cs/eventbench/assertions/TextEqualsReplay.java

    r147 r149  
    2323        public String getReplay() { 
    2424 
     25                StringTools.xmlEntityReplacement(expectedValue); 
     26                 
    2527                StringBuilder currentMsgStr = new StringBuilder(400); 
    2628                currentMsgStr.append(" <textEquals expectedValue=\"" + expectedValue + "\">"); 
Note: See TracChangeset for help on using the changeset viewer.