matcher.js
No description.

File Location

/goog/labs/testing/matcher.js

Classes

goog.labs.testing.Matcher
A matcher object to be used in assertThat statements.

Public Protected Private

Global Functions

goog.labs.testing.Matcher.makeMatcher(matchesFunctionopt_describeFunction) !Function
Generates a Matcher from the ?matches? and ?describe? functions passed in.
Arguments:
matchesFunction : !Function
The ?matches? function.
opt_describeFunction : Function=
The ?describe? function.
Returns: !Function  The custom matcher.
code »

Directory testing

File Reference