Package org.fest.assertions.error
Class ShouldBeEqualImages
- java.lang.Object
-
- org.fest.assertions.error.BasicErrorMessageFactory
-
- org.fest.assertions.error.ShouldBeEqualImages
-
- All Implemented Interfaces:
ErrorMessageFactory
public class ShouldBeEqualImages extends BasicErrorMessageFactory
Creates an error message that indicates an assertion that verifies that two images are equal failed.- Author:
- Yvonne Wang
-
-
Field Summary
-
Fields inherited from class org.fest.assertions.error.BasicErrorMessageFactory
arguments, format
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ErrorMessageFactory
shouldBeEqualImages(Offset<java.lang.Integer> offset)
Creates a new
.ShouldBeEqualImages
-
Methods inherited from class org.fest.assertions.error.BasicErrorMessageFactory
create, equals, hashCode, toString
-
-
-
-
Method Detail
-
shouldBeEqualImages
public static ErrorMessageFactory shouldBeEqualImages(Offset<java.lang.Integer> offset)
Creates a new
.ShouldBeEqualImages
- Parameters:
offset
- helps decide if the color of two pixels are similar: two pixels that are identical to the human eye may still have slightly different color values. For example, by using an offset of 1 we can indicate that a blue value of 60 is similar to a blue value of 61.- Returns:
- the created
ErrorMessageFactory
.
-
-