org.fest.assertions.internal
Class BinaryDiffResult
java.lang.Object
org.fest.assertions.internal.BinaryDiffResult
public class BinaryDiffResult
- extends Object
Value class to hold the result of comparing two binary streams.
- Author:
- Olivier Michallat
Constructor Summary |
BinaryDiffResult(int offset,
int expected,
int actual)
Builds a new instance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
offset
public final int offset
expected
public final String expected
actual
public final String actual
BinaryDiffResult
public BinaryDiffResult(int offset,
int expected,
int actual)
- Builds a new instance.
- Parameters:
offset
- the offset at which the difference occurred.expected
- the expected byte as an int in the range 0 to 255, or -1 for EOF.actual
- the actual byte in the same format.
hasNoDiff
public boolean hasNoDiff()
noDiff
public static BinaryDiffResult noDiff()
Copyright © 2007-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.