DefaultWebGoldenComparator class

An unsupported WebGoldenComparator that exists for API compatibility.

Inheritance

Constructors

DefaultWebGoldenComparator()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

compare(double width, double height, Uri golden) Future<bool>
Compares the rendered pixels of size widthxheight that is being rendered on the top left of the screen against the golden file identified by golden. [...]
override
update(double width, double height, Uri golden) Future<void>
Updates the golden file identified by golden with rendered pixels of widthxheight. [...]
override
getTestUri(Uri key, int version) Uri
Returns a new golden file Uri to incorporate any version number with the key. [...]
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited