SnapshotComparison
final class SnapshotComparison
Package: dev.joid.test.snapshot · Module: tool-testkit · Source: SnapshotComparison.java
Compares the renders of several backends with those of a reference backend, and writes a report.
Learn more
Section titled “Learn more”Methods
Section titled “Methods”| Returns | Signature | Summary |
|---|---|---|
void | main(String[] arguments) static | Takes the folder of the report, the folder of the reference renders, then one folder per candidate backend. |
Method details
Section titled “Method details”void main(String[] arguments) static
Takes the folder of the report, the folder of the reference renders, then one folder per candidate backend.
Compares every shot with a tolerance of one level per channel, warns when two renderer.txt name different GPUs, writes report.html, and exits with 1 when a shot differs or is missing.
fluent returns the instance, typed for chaining · factory creates an instance · signal also accepts a value that follows signals, as a signal, an expression or a lambda (When does JOID compute this value again?) · hook called by JOID, override it · abstract you implement it · default interface method with a body · static called on the class · protected visible to subclasses
