labs.testing

Classes

goog.labs.testing.AnythingMatcher
The Anything matcher. Matches all possible inputs.
goog.labs.testing.CloseToMatcher
The CloseTo matcher.
goog.labs.testing.ContainsStringMatcher
The ContainsString matcher.
goog.labs.testing.EndsWithMatcher
The EndsWith matcher.
goog.labs.testing.EnvironmentTestCase_
An internal TestCase used to hook environments into the JsUnit test runner. Environments cannot be used in conjunction with custom TestCases for JsUnit.
goog.labs.testing.EqualToIgnoringWhitespaceMatcher
The EqualToIgnoringWhitespace matcher.
goog.labs.testing.EqualToMatcher
The EqualTo matcher.
goog.labs.testing.GreaterThanEqualToMatcher
The GreaterThanEqualTo matcher.
goog.labs.testing.GreaterThanMatcher
The GreaterThan matcher.
goog.labs.testing.HasEntriesMatcher
The HasEntries matcher.
goog.labs.testing.HasEntryMatcher
The HasEntry matcher.
goog.labs.testing.HasPropertyMatcher
The HasProperty matcher.
goog.labs.testing.HasValueMatcher
The HasValue matcher.
goog.labs.testing.InstanceOfMatcher
The InstanceOf matcher.
goog.labs.testing.IsNullOrUndefinedMatcher
The IsNullOrUndefined matcher.
goog.labs.testing.IsUndefinedMatcher
The IsUndefined matcher.
goog.labs.testing.LessThanEqualToMatcher
The LessThanEqualTo matcher.
goog.labs.testing.LessThanMatcher
The lessThan matcher.
goog.labs.testing.Matcher
A matcher object to be used in assertThat statements.
goog.labs.testing.MatcherError
Error thrown when a Matcher fails to match the input value.
goog.labs.testing.RegexMatcher
The MatchesRegex matcher.
goog.labs.testing.StartsWithMatcher
The StartsWith matcher.
goog.labs.testing.StringContainsInOrderMatcher
The StringContainsInOrdermatcher.

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 »

Global Properties

goog.labs.testing.EqualToIgnoringCaseMatcher :
No description.
Code »
goog.labs.testing.assertThatTest :
No description.
Code »
goog.labs.testing.decoratorMatcherTest :
No description.
Code »
goog.labs.testing.dictionaryMatcherTest :
No description.
Code »
goog.labs.testing.environmentTest :
No description.
Code »
goog.labs.testing.environmentUsageTest :
No description.
Code »
goog.labs.testing.logicMatcherTest :
No description.
Code »
goog.labs.testing.numberMatcherTest :
No description.
Code »
goog.labs.testing.objectMatcherTest :
No description.
Code »
goog.labs.testing.stringMatcherTest :
No description.
Code »

Package labs

Package Reference