| org.netbeans.junit.diff.Diff
All known Subclasses: org.netbeans.junit.diff.NativeDiff, org.netbeans.junit.diff.LineDiff, org.netbeans.junit.diff.SimpleDiff,
Diff | public interface Diff (Code) | | This interface must be implemented by any class used as file-diff facility in assertFile functions.
It declares two functions, which are called whenever the file comparision is required. Their meaning
is identical, they only differ by arguments types.
Generally, they both take three parameters, the first two specify files being compared and the third
is the file, where comparision results are stored. Third paramtere can be null in case no additional
output except the return value is needed.
author: Jan Becicka version: 0.1 See Also: junit.framework.Assert See Also: Assert class |
Method Summary | |
public boolean | diff(java.io.File first, java.io.File second, java.io.File diff) Parameters: first - first file to compare Parameters: second - second file to compare Parameters: diff - difference file, caller can pass null value, when results are not needed. | public boolean | diff(String first, String second, String diff) Parameters: first - first file to compare Parameters: second - second file to compare Parameters: diff - difference file, caller can pass null value, when results are not needed. |
diff | public boolean diff(java.io.File first, java.io.File second, java.io.File diff) throws java.io.IOException(Code) | | Parameters: first - first file to compare Parameters: second - second file to compare Parameters: diff - difference file, caller can pass null value, when results are not needed. true iff files differ |
diff | public boolean diff(String first, String second, String diff) throws java.io.IOException(Code) | | Parameters: first - first file to compare Parameters: second - second file to compare Parameters: diff - difference file, caller can pass null value, when results are not needed. true iff files differ |
|
|