| Function Summary | |
callWithoutLogging(function (): undefined fn)Runs a function in an environment where test failures are not logged. This is useful for testing test code, where failures can be a normal part of a test. | |
contains_(?goog.testing.asserts.ArrayLike container, <Any Type> contained) ⇒ booleanTells whether the array contains the given element. | |
findDifferences(<Any Type> expected, <Any Type> actual) ⇒ ?stringDetermines if two items of any type match, and formulates an error message if not. | |
indexOf_(?goog.testing.asserts.ArrayLike container, <Any Type> contained) ⇒ numberFinds the position of the first occurrence of an element in a container. | |
isArrayIndexProp_(string prop) ⇒ booleanHelper function for assertObjectEquals. Tells us if a given property name is an array index. | |
raiseException_(string comment, string= opt_message)Raises a JsUnit exception with the given comment. | |
toArray_(?goog.testing.asserts.ArrayLike arrayLike) ⇒ !ArrayConverts an array like object to array or clones it if it's already array. | |