goog.testing.asserts
Namespace.ArrayLike
.EQUALITY_PREDICATE_CANT_PROCESS
{?string
}The return value of the equality predicate passed to findDifferences below, in cases where the predicate can't test the input variables for equality.
.EQUALITY_PREDICATE_VARS_ARE_EQUAL
{?string
}The return value of the equality predicate passed to findDifferences below, in cases where the input vriables are equal.
.callWithoutLogging(fn)
Runs a function in an environment where test failures are not logged. This is useful for testing test code, where failures can be a normal part of a test.
fn
{function
() : void
}
.findDifferences(expected, actual, opt_equalityPredicate)
Determines if two items of any type match, and formulates an error message if not.
expected
{*}
actual
{*}
opt_equalityPredicate
{(function
(string
, *, *): ?string
)=}
string
}