logicmatcher.js
No description.

File Location

/goog/labs/testing/logicmatcher.js

Classes


Public Protected Private

Global Functions

allOf(var_args) !goog.labs.testing.AllOfMatcher
Creates a matcher that will succeed only if all of the given matchers succeed.
Arguments:
var_args : ...goog.labs.testing.Matcher
The matchers to test against.
Returns: !goog.labs.testing.AllOfMatcher  The AllOf matcher.
code »
anyOf(var_args) !goog.labs.testing.AnyOfMatcher
Accepts a set of matchers and returns a matcher which matches values which satisfy the constraints of any of the given matchers.
Arguments:
var_args : ...goog.labs.testing.Matcher
The matchers to test against.
Returns: !goog.labs.testing.AnyOfMatcher  The AnyOf matcher.
code »
isNot(matcher) !goog.labs.testing.IsNotMatcher
Returns a matcher that negates the input matcher. The returned matcher matches the values not matched by the input matcher and vice-versa.
Arguments:
matcher : !goog.labs.testing.Matcher
The matcher to test against.
Returns: !goog.labs.testing.IsNotMatcher  The IsNot matcher.
code »

Directory testing

File Reference