public class BinaryDiffResult extends Object
Modifier and Type | Field and Description |
---|---|
String |
actual |
String |
expected |
int |
offset |
Constructor and Description |
---|
BinaryDiffResult(int offset,
int expected,
int actual)
Builds a new instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNoDiff() |
static BinaryDiffResult |
noDiff() |
public final int offset
public final String expected
public final String actual
public BinaryDiffResult(int offset, int expected, int actual)
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.public boolean hasNoDiff()
public static BinaryDiffResult noDiff()
Copyright © 2014–2019 AssertJ. All rights reserved.