- Timestamp:
- 10/03/11 23:06:06 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/EventBenchCore/src/de/ugoe/cs/eventbench/assertions/FileEqualsReplay.java
r217 r229 6 6 /** 7 7 * <p> 8 * This class defines the fileEquals assertion type. This type does have two 9 * parameters, actualFile and expectedFile. 8 * This class defines the replay for file equals assertions. 10 9 * </p> 11 10 * 12 * @author jeffrey.hall 13 * @version 1.0 14 * 11 * @author Jeffrey Hall, Steffen Herbold 12 * @version 2.0 15 13 */ 16 14 public class FileEqualsReplay implements IReplayable { … … 27 25 28 26 /** 27 * <p> 29 28 * Id for object serialization. 29 * </p> 30 30 */ 31 31 private static final long serialVersionUID = 1L; 32 32 33 33 /** 34 * <p> 35 * Constructor. Creates a new FileEqualsReplay. 36 * </p> 34 37 * 38 * @param expectedFile 39 * name and path of the expected file 35 40 * @param actualFile 36 * The file that should be equal to expectedFile.41 * name and path of the actual file 37 42 */ 38 public void setActualFile(String actualFile) { 43 public FileEqualsReplay(String expectedFile, String actualFile) { 44 this.expectedFile = expectedFile; 39 45 this.actualFile = actualFile; 40 46 } 41 47 42 /** 43 * @param exptectedFile 44 * The file that is used as the reference. 45 */ 46 public void setExpectedFile(String expectedFile) { 47 this.expectedFile = expectedFile; 48 } 49 50 /** 51 * Returns the string that has to be written to the replay file. 48 /* 49 * (non-Javadoc) 50 * 51 * @see de.ugoe.cs.eventbench.data.IReplayable#getReplay() 52 52 */ 53 53 public String getReplay() { … … 64 64 } 65 65 66 /** 67 * No target used by fileEquals. 66 /* 67 * (non-Javadoc) 68 * 69 * @see de.ugoe.cs.eventbench.data.IReplayable#getTarget() 68 70 */ 71 @Override 69 72 public String getTarget() { 70 73 return "targetNotUsed";
Note: See TracChangeset
for help on using the changeset viewer.