decoratormatcher.js
No description.

File Location

/goog/labs/testing/decoratormatcher.js

Classes

goog.labs.testing.AnythingMatcher
The Anything matcher. Matches all possible inputs.

Public Protected Private

Global Functions

Returns a matcher that matches anything.
Returns: !goog.labs.testing.AnythingMatcher  A AnythingMatcher.
code »
describedAs(descriptionmatcher) !goog.labs.testing.Matcher
Returns a matcher with a customized description for the given matcher.
Arguments:
description : string
The custom description for the matcher.
matcher : !goog.labs.testing.Matcher
The matcher.
Returns: !goog.labs.testing.Matcher  The matcher with custom description.
code »
is(matcher) !goog.labs.testing.Matcher
Returnes any matcher that is passed to it (aids readability).
Arguments:
matcher : !goog.labs.testing.Matcher
A matcher.
Returns: !goog.labs.testing.Matcher  The wrapped matcher.
code »

Directory testing

File Reference