Closure Library API Documentation
Go to class or file:
matcher.js
No description.
Useful links
Source Code
Git
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
(
matchesFunction
,
opt_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