| Type | Name and description |
|---|---|
static java.lang.String |
SERIALIZED_FILE_NAME |
| Constructor and description |
|---|
ComparisonResultBundle
() |
ComparisonResultBundle
(java.nio.file.Path baseDir, java.lang.String jsonText) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
addComparisonResult(ComparisonResult cp) |
|
boolean |
allOfImagesAreSimilar()@return true if all of ComparisonResult in this bundle returns true for the call to imagesAreSimilar() |
|
boolean |
containsImageDiff(java.nio.file.Path imageDiffPath)@return true if this.get(imageDiff) returned non-null value, false otherwise |
|
ComparisonResult |
get(java.lang.Object index) |
|
ComparisonResult |
get(java.nio.file.Path diffMaterialPath)look up a ComparionResult object in the bundle. |
|
ComparisonResult |
getByDiffMaterial(java.lang.String diffMaterialHrefRelativeToRepositoryRoot) |
|
int |
size() |
|
int |
sizeOfDifferentComparisonResults()@return int how many ComparisonResult in this bundle returns false for the call to imagesAreSimilar() |
|
java.lang.String |
srcOfActualMaterial(java.nio.file.Path imageDiffPath) |
|
java.lang.String |
srcOfExpectedMaterial(java.nio.file.Path imageDiffPath) |
|
java.lang.String |
toJsonText() |
|
java.lang.String |
toString() |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
look up a ComparionResult object in the bundle. The argument imageDiffPath is matched against the diff property of each contained ComparisonResutl objects.
Groovy Documentation