assertthat.js
No description.

File Location

/goog/labs/testing/assertthat.js

Classes

goog.labs.testing.MatcherError
Error thrown when a Matcher fails to match the input value.

Public Protected Private

Global Functions

goog.labs.testing.assertThat(actualmatcheropt_reason)
Asserts that the actual value evaluated by the matcher is true.
Arguments:
actual : *
The object to assert by the matcher.
matcher : !goog.labs.testing.Matcher
A matcher to verify values.
opt_reason : string=
Description of what is asserted.
code »

Directory testing

File Reference