You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
6.0 KiB
1 line
6.0 KiB
<!DOCTYPE html><meta charset="UTF-8"><meta http-equiv="Content-Language" content="en" /><title>goog.labs.testing</title><link href="dossier.css" rel="stylesheet" type="text/css"><div id="main-wrapper"><input type="checkbox" id="sidenav-toggle" /><main><header><h1>Namespace goog.labs.testing</h1><a class="source" href="source/lib/goog/labs/testing/matcher.js.src.html#l21">code »</a></header><section></section><section><h2>Interfaces</h2><div class="type-summary"><table><tbody><tr><td><dl><dt><a href="interface_goog_labs_testing_Matcher.html">goog.labs.testing.Matcher</a><dd>A matcher object to be used in assertThat statements.</dl></table></div></section><section><h2>Classes</h2><div class="type-summary"><table><tbody><tr><td><dl><dt><a href="class_goog_labs_testing_AllOfMatcher.html">goog.labs.testing.AllOfMatcher</a><dd>The AllOf matcher.<dt><a href="class_goog_labs_testing_AnyOfMatcher.html">goog.labs.testing.AnyOfMatcher</a><dd>The AnyOf matcher.<dt><a href="class_goog_labs_testing_CloseToMatcher.html">goog.labs.testing.CloseToMatcher</a><dd>The CloseTo matcher.<dt><a href="class_goog_labs_testing_ContainsStringMatcher.html">goog.labs.testing.ContainsStringMatcher</a><dd>The ContainsString matcher.<dt><a href="class_goog_labs_testing_EndsWithMatcher.html">goog.labs.testing.EndsWithMatcher</a><dd>The EndsWith matcher.<dt><a href="class_goog_labs_testing_EqualToIgnoringWhitespaceMatcher.html">goog.labs.testing.EqualToIgnoringWhitespaceMatcher</a><dd>The EqualToIgnoringWhitespace matcher.<dt><a href="class_goog_labs_testing_EqualToMatcher.html">goog.labs.testing.EqualToMatcher</a><dd>The EqualTo matcher.<dt><a href="class_goog_labs_testing_EqualsMatcher.html">goog.labs.testing.EqualsMatcher</a><dd>The Equals matcher.<dt><a href="class_goog_labs_testing_GreaterThanEqualToMatcher.html">goog.labs.testing.GreaterThanEqualToMatcher</a><dd>The GreaterThanEqualTo matcher.<dt><a href="class_goog_labs_testing_GreaterThanMatcher.html">goog.labs.testing.GreaterThanMatcher</a><dd>The GreaterThan matcher.<dt><a href="class_goog_labs_testing_HasPropertyMatcher.html">goog.labs.testing.HasPropertyMatcher</a><dd>The HasProperty matcher.<dt><a href="class_goog_labs_testing_InstanceOfMatcher.html">goog.labs.testing.InstanceOfMatcher</a><dd>The InstanceOf matcher.<dt><a href="class_goog_labs_testing_IsNotMatcher.html">goog.labs.testing.IsNotMatcher</a><dd>The IsNot matcher.<dt><a href="class_goog_labs_testing_IsNullMatcher.html">goog.labs.testing.IsNullMatcher</a><dd>The IsNull matcher.<dt><a href="class_goog_labs_testing_IsNullOrUndefinedMatcher.html">goog.labs.testing.IsNullOrUndefinedMatcher</a><dd>The IsNullOrUndefined matcher.<dt><a href="class_goog_labs_testing_IsUndefinedMatcher.html">goog.labs.testing.IsUndefinedMatcher</a><dd>The IsUndefined matcher.<dt><a href="class_goog_labs_testing_LessThanEqualToMatcher.html">goog.labs.testing.LessThanEqualToMatcher</a><dd>The LessThanEqualTo matcher.<dt><a href="class_goog_labs_testing_LessThanMatcher.html">goog.labs.testing.LessThanMatcher</a><dd>The lessThan matcher.<dt><a href="class_goog_labs_testing_MatcherError.html">goog.labs.testing.MatcherError</a><dd>Error thrown when a Matcher fails to match the input value.<dt><a href="class_goog_labs_testing_ObjectEqualsMatcher.html">goog.labs.testing.ObjectEqualsMatcher</a><dd>The Equals matcher.<dt><a href="class_goog_labs_testing_RegexMatcher.html">goog.labs.testing.RegexMatcher</a><dd>The MatchesRegex matcher.<dt><a href="class_goog_labs_testing_StartsWithMatcher.html">goog.labs.testing.StartsWithMatcher</a><dd>The StartsWith matcher.<dt><a href="class_goog_labs_testing_StringContainsInOrderMatcher.html">goog.labs.testing.StringContainsInOrderMatcher</a><dd>The StringContainsInOrdermatcher.</dl></table></div></section><div id="visibility-controls"><b>Show:</b><label for="show-public"><span><input type="checkbox" id="show-public" checked/></span>Public</label><label for="show-protected"><span><input type="checkbox" id="show-protected"/></span>Protected</label><label for="show-private"><span><input type="checkbox" id="show-private"/></span>Private</label></div><section id="static-functions"><h2>Global Functions</h2><div class="wrap-details public"><div><details class="function"><summary><div><a class="source" href="source/lib/goog/labs/testing/assertthat.js.src.html#l37">code »</a><span class="member"><a name="goog.labs.testing.assertThat">goog.labs.testing.assertThat</a> <span class="args">( actual, matcher, opt_reason )</span></span></div><p>Asserts that the actual value evaluated by the matcher is true.</summary><div class="info"><table><tbody><tr><th>Parameters<tr><td><dl><dt>actual: <code class="type">*</code><dd>The object to assert by the matcher.<dt>matcher: <code class="type">!<a href="interface_goog_labs_testing_Matcher.html">goog.labs.testing.Matcher</a></code><dd>A matcher to verify values.<dt>opt_reason: <code class="type"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String">string</a>=</code><dd>Description of what is asserted.</dl></table></div></details></div></div></section></main><nav id="topnav"><div><div id="menubutton"><label for="sidenav-toggle">Menu</label></div><form id="searchbox"><div><input type="search" placeholder="Search" tabindex="1"></div></form></div></nav><nav id="sidenav"><input type="checkbox" id="sidenav-types-ctrl" /><input type="checkbox" id="sidenav-files-ctrl" /><input type="checkbox" id="sidenav-modules-ctrl" /><a id="sidenav-overview"><div><h4>Overview</h4></div></a><div id="sidenav-types"><label for="sidenav-types-ctrl"><h4>Types</h4></label><i>No data</i></div><div id="sidenav-modules"><label for="sidenav-modules-ctrl"><h4>Modules</h4></label><i>No data</i></div><div id="sidenav-files"><label for="sidenav-files-ctrl"><h4>Files</h4></label><i>No data</i></div><a href="license.html"><div><h4>License</h4></div></a></nav><div id="push-footer"></div></div><footer><a href="https://github.com/jleyba/js-dossier">Generated by dossier</a></footer><script src="types.js"></script><script src="dossier.js"></script> |