Changeset 146


Ignore:
Timestamp:
08/07/11 18:51:58 (13 years ago)
Author:
jhall
Message:

bug fixes

File:
1 edited

Legend:

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

    r136 r146  
    55 
    66public class FileEqualsReplay implements IReplayable { 
    7          
     7 
    88        String actualFile = null; 
    99        String expectedFile = null; 
     
    1212         */ 
    1313        private static final long serialVersionUID = 1L; 
    14          
     14 
    1515        public void setActualFile(String s) { 
    1616                actualFile = s; 
    1717        } 
    18          
     18 
    1919        public void setExpectedFile(String s) { 
    2020                expectedFile = s; 
    2121        } 
    22          
    23         public String getReplay() {  
    24                  
     22 
     23        public String getReplay() { 
     24 
    2525                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 + "\"/>"); 
    3129                currentMsgStr.append(StringTools.ENDLINE); 
    3230                return currentMsgStr.toString(); 
    3331        } 
    34          
    35          
    36         //??? 
    37         public String getTarget() { return "targetJo"; } 
     32 
     33        public String getTarget() { 
     34                return "targetNotUsed"; 
     35        } 
    3836 
    3937} 
Note: See TracChangeset for help on using the changeset viewer.