DefaultWebGoldenComparator class

An unsupported WebGoldenComparator that exists for API compatibility.

Inheritance

Constructors

DefaultWebGoldenComparator()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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
compareBytes(Uint8List bytes, Uri golden) Future<bool>
Compares the pixels of decoded png bytes against the golden file identified by golden.
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 nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
update(double width, double height, Uri golden) Future<void>
Updates the golden file identified by golden with rendered pixels of widthxheight.
override
updateBytes(Uint8List bytes, Uri golden) Future<void>
Compares the pixels of decoded png bytes against the golden file identified by golden.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited