Interface ImageComparer
public interface ImageComparer
Base class for a method comparing two image files.
- Author:
- Owen Feehan
-
Method Summary
Modifier and TypeMethodDescriptionvoid
assertIdentical
(String filenameWithoutExtension, String filenameWithExtension, Path path) Asserts that two image-files being compared are identical as images.
-
Method Details
-
assertIdentical
void assertIdentical(String filenameWithoutExtension, String filenameWithExtension, Path path) throws IOException Asserts that two image-files being compared are identical as images.It's unspecified how exactly images should be opened from the information supplied. This is implementation-dependent.
- Parameters:
filenameWithoutExtension
- the filename before extensions were added.filenameWithExtension
- the filename with an extension added.path
- a path to be displayed if an error occurs.- Throws:
IOException
- if either of files being compared cannot be successfully opened.
-