qa.justtestlah.stubs.TemplateMatcher Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of justtestlah-core Show documentation
Show all versions of justtestlah-core Show documentation
JustTestLah! is a JAVA test framework targeting projects that support multiple platforms, in particular Web, Android and iOS. It follows a BDD approach and allows testing against all platforms using the same feature files. JustTestLah's main aim is to make the configuration and the actual test code as easy as possible.
package qa.justtestlah.stubs;
/** Functionality for image template matching */
public interface TemplateMatcher {
/**
* Check whether the template appears anywhere within the target image.
*
* @param targetFile path to the target file
* @param templateFile path to the template file
* @param threshold matching threshold
* @return {@link Match}
*/
Match match(String targetFile, String templateFile, double threshold);
/**
* Check whether the template appears anywhere within the target image.
*
* @param targetFile path to the target file
* @param templateFile path to the template file
* @param threshold matching threshold
* @param description of the check
* @return {@link Match}
*/
Match match(String targetFile, String templateFile, double threshold, String description);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy