Object ImageHelper
-
- All Implemented Interfaces:
public class ImageHelper
Статический класс с методами сравнения скриншотов
-
-
Field Summary
Fields Modifier and Type Field Description public final static ImageHelper
INSTANCE
-
Method Summary
Modifier and Type Method Description final static Unit
compareScreenshots(File file1, File file2, String message, Boolean needFail, Color color)
Метод сравнения скриншотов final static Unit
compareScreenshots(File file1, File file2, String message, Boolean needFail)
Метод сравнения скриншотов final static Unit
compareScreenshots(File file1, File file2, String message)
Метод сравнения скриншотов final static Unit
compareScreenshots(File file1, File file2)
Метод сравнения скриншотов -
-
Method Detail
-
compareScreenshots
final static Unit compareScreenshots(File file1, File file2, String message, Boolean needFail, Color color)
Метод сравнения скриншотов
- Parameters:
file1
- Первый скриншотfile2
- Второй скриншотmessage
- По умолчанию null.needFail
- По умолчанию true.color
- По умолчанию Color.RED.
-
compareScreenshots
final static Unit compareScreenshots(File file1, File file2, String message, Boolean needFail)
Метод сравнения скриншотов
- Parameters:
file1
- Первый скриншотfile2
- Второй скриншотmessage
- По умолчанию null.needFail
- По умолчанию true.
-
compareScreenshots
final static Unit compareScreenshots(File file1, File file2, String message)
Метод сравнения скриншотов
- Parameters:
file1
- Первый скриншотfile2
- Второй скриншотmessage
- По умолчанию null.
-
compareScreenshots
final static Unit compareScreenshots(File file1, File file2)
Метод сравнения скриншотов
- Parameters:
file1
- Первый скриншотfile2
- Второй скриншот
-
-
-
-