Class GuiScreenshotDiff
java.lang.Object
com.render.api.gui.testing.GuiScreenshotDiff
Deterministic PNG screenshot comparator used by RenderLib's GUI smoke profiles.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final record -
Method Summary
Modifier and TypeMethodDescriptionstatic GuiScreenshotDiff.Resultcompare(Path baseline, Path actual, Path difference, int channelTolerance, double allowedMismatchRatio) compareDirectories(Path baselines, Path actuals, Path differences, int channelTolerance, double allowedMismatchRatio) static void
-
Method Details
-
compare
public static GuiScreenshotDiff.Result compare(Path baseline, Path actual, Path difference, int channelTolerance, double allowedMismatchRatio) throws IOException - Throws:
IOException
-
compareDirectories
public static List<GuiScreenshotDiff.DirectoryResult> compareDirectories(Path baselines, Path actuals, Path differences, int channelTolerance, double allowedMismatchRatio) throws IOException - Throws:
IOException
-
main
-