Changeset 217 for trunk/EventBenchCore/src/de
- Timestamp:
- 09/28/11 11:54:32 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchCore/src/de/ugoe/cs/eventbench/assertions/FileEqualsReplay.java
r150 r217 4 4 import de.ugoe.cs.util.StringTools; 5 5 6 /** 7 * <p> 8 * This class defines the fileEquals assertion type. This type does have two 9 * parameters, actualFile and expectedFile. 10 * </p> 11 * 12 * @author jeffrey.hall 13 * @version 1.0 14 * 15 */ 6 16 public class FileEqualsReplay implements IReplayable { 7 17 18 /** 19 * The file that should be equal to expectedFile. 20 */ 8 21 String actualFile = null; 22 23 /** 24 * The file that is used as the reference. 25 */ 9 26 String expectedFile = null; 27 10 28 /** 11 29 * Id for object serialization. … … 13 31 private static final long serialVersionUID = 1L; 14 32 15 public void setActualFile(String s) { 16 actualFile = s; 33 /** 34 * 35 * @param actualFile 36 * The file that should be equal to expectedFile. 37 */ 38 public void setActualFile(String actualFile) { 39 this.actualFile = actualFile; 17 40 } 18 41 19 public void setExpectedFile(String s) { 20 expectedFile = s; 42 /** 43 * @param exptectedFile 44 * The file that is used as the reference. 45 */ 46 public void setExpectedFile(String expectedFile) { 47 this.expectedFile = expectedFile; 21 48 } 22 49 50 /** 51 * Returns the string that has to be written to the replay file. 52 */ 23 53 public String getReplay() { 24 54 … … 34 64 } 35 65 66 /** 67 * No target used by fileEquals. 68 */ 36 69 public String getTarget() { 37 70 return "targetNotUsed";
Note: See TracChangeset
for help on using the changeset viewer.