matchesReferenceImage

fun matchesReferenceImage(referenceImageName: String): TtViewAssertion

Returns a ViewAssertion that checks a view compares to a reference image. By default ViewComparisonConfiguration.stockTheme will be used.

Return

The ViewAssertion.

Parameters

referenceImageName

The reference image name to check against. The default value is the name of the current test.


fun matchesReferenceImage(): TtViewAssertion

Returns a ViewAssertion that checks a view compares to a reference image. By default ViewComparisonConfiguration.stockTheme will be used.

Return

The ViewAssertion.