src/cm/media/js/lib/yui/yui_3.0.0b1/api/ObjectAssert.js.html
changeset 0 40c8f766c9b8
equal deleted inserted replaced
-1:000000000000 0:40c8f766c9b8
       
     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
       
     2 <html xmlns:yui="http://yuilibrary.com/rdf/1.0/yui.rdf#">
       
     3 <head>
       
     4     <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
       
     5 	<title>API: test   ObjectAssert.js  (YUI Library)</title>
       
     6 
       
     7 	<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css" />
       
     8 	<link rel="stylesheet" type="text/css" href="assets/api.css" />
       
     9 
       
    10     <script type="text/javascript" src="assets/api-js"></script>
       
    11     <script type="text/javascript" src="assets/ac-js"></script>
       
    12 </head>
       
    13 
       
    14 <body id="yahoo-com">
       
    15 
       
    16 <div id="doc3" class="yui-t2">
       
    17 	<div id="hd">
       
    18         <h1><a href="http://developer.yahoo.com/yui/" title="Yahoo! UI Library">Yahoo! UI Library</a></h1>
       
    19         <h3>test&nbsp; <span class="subtitle">3.0.0b1</span></h3>
       
    20         <a href="./index.html" title="Yahoo! UI Library">Yahoo! UI Library</a> 
       
    21             &gt; <a href="./module_test.html" title="test">test</a>
       
    22                 
       
    23                  &gt; ObjectAssert.js (source view) 
       
    24         <form onsubmit="return false">
       
    25             <div id="propertysearch">
       
    26                 Search: <input autocomplete="off" id="searchinput" />
       
    27                 <div id="searchresults">
       
    28                     &nbsp;
       
    29                 </div>
       
    30             </div>
       
    31         </form>
       
    32 	</div>
       
    33 
       
    34 	<div id="bd">
       
    35 		<div id="yui-main">
       
    36 			<div class="yui-b">
       
    37             <form action="#" name="yui-classopts-form" method="get" id="yui-classopts-form">
       
    38                 <fieldset>
       
    39                     <legend>Filters</legend>
       
    40                 <span class="classopts"><input type="checkbox" name="show_private" id="show_private" /> <label for="show_private">Show Private</label></span>
       
    41                 <span class="classopts"><input type="checkbox" name="show_protected" id="show_protected" /> <label for="show_protected">Show Protected</label></span>
       
    42                 <span class="classopts"><input type="checkbox" name="show_deprecated" id="show_deprecated" /> <label for="show_deprecated">Show Deprecated</label></span>
       
    43                 </fieldset>
       
    44             </form>
       
    45 
       
    46                     <div id="srcout">
       
    47                         <style>
       
    48                             #doc3 .classopts { display:none; }
       
    49                         </style>
       
    50 <div class="highlight" ><pre>    <span class="c">/**</span>
       
    51 <span class="c">     * The ObjectAssert object provides functions to test JavaScript objects</span>
       
    52 <span class="c">     * for a variety of cases.</span>
       
    53 <span class="c">     *</span>
       
    54 <span class="c">     * @class ObjectAssert</span>
       
    55 <span class="c">     * @static</span>
       
    56 <span class="c">     */</span>
       
    57     <span class="nx">Y</span><span class="o">.</span><span class="nx">ObjectAssert</span> <span class="o">=</span> <span class="o">{</span>
       
    58     
       
    59         <span class="nx">areEqual</span><span class="o">:</span> <span class="k">function</span><span class="o">(</span><span class="nx">expected</span><span class="o">,</span> <span class="nx">actual</span><span class="o">,</span> <span class="nx">message</span><span class="o">)</span> <span class="o">{</span>
       
    60             <span class="nx">Y</span><span class="o">.</span><span class="nx">Assert</span><span class="o">.</span><span class="nx">_increment</span><span class="o">();</span>               
       
    61             <span class="nx">Y</span><span class="o">.</span><span class="nb">Object</span><span class="o">.</span><span class="nx">each</span><span class="o">(</span><span class="nx">expected</span><span class="o">,</span> <span class="k">function</span><span class="o">(</span><span class="nx">value</span><span class="o">,</span> <span class="nx">name</span><span class="o">){</span>
       
    62                 <span class="k">if</span> <span class="o">(</span><span class="nx">expected</span><span class="o">[</span><span class="nx">name</span><span class="o">]</span> <span class="o">!=</span> <span class="nx">actual</span><span class="o">[</span><span class="nx">name</span><span class="o">]){</span>
       
    63                     <span class="k">throw</span> <span class="k">new</span> <span class="nx">Y</span><span class="o">.</span><span class="nx">Assert</span><span class="o">.</span><span class="nx">ComparisonFailure</span><span class="o">(</span><span class="nx">Y</span><span class="o">.</span><span class="nx">Assert</span><span class="o">.</span><span class="nx">_formatMessage</span><span class="o">(</span><span class="nx">message</span><span class="o">,</span> <span class="s2">&quot;Values should be equal for property &quot;</span> <span class="o">+</span> <span class="nx">name</span><span class="o">),</span> <span class="nx">expected</span><span class="o">[</span><span class="nx">name</span><span class="o">],</span> <span class="nx">actual</span><span class="o">[</span><span class="nx">name</span><span class="o">]);</span>
       
    64                 <span class="o">}</span>
       
    65             <span class="o">});</span>            
       
    66         <span class="o">},</span>
       
    67         
       
    68         <span class="c">/**</span>
       
    69 <span class="c">         * Asserts that an object has a property with the given name.</span>
       
    70 <span class="c">         * @param {String} propertyName The name of the property to test.</span>
       
    71 <span class="c">         * @param {Object} object The object to search.</span>
       
    72 <span class="c">         * @param {String} message (Optional) The message to display if the assertion fails.</span>
       
    73 <span class="c">         * @method hasKey</span>
       
    74 <span class="c">         * @static</span>
       
    75 <span class="c">         */</span>    
       
    76         <span class="nx">hasKey</span><span class="o">:</span> <span class="k">function</span> <span class="o">(</span><span class="nx">propertyName</span><span class="o">,</span> <span class="nx">object</span><span class="o">,</span> <span class="nx">message</span><span class="o">)</span> <span class="o">{</span>
       
    77             <span class="nx">Y</span><span class="o">.</span><span class="nx">Assert</span><span class="o">.</span><span class="nx">_increment</span><span class="o">();</span>               
       
    78             <span class="k">if</span> <span class="o">(!</span><span class="nx">Y</span><span class="o">.</span><span class="nb">Object</span><span class="o">.</span><span class="nx">hasKey</span><span class="o">(</span><span class="nx">object</span><span class="o">,</span> <span class="nx">propertyName</span><span class="o">)){</span>
       
    79                 <span class="nx">Y</span><span class="o">.</span><span class="nx">fail</span><span class="o">(</span><span class="nx">Y</span><span class="o">.</span><span class="nx">Assert</span><span class="o">.</span><span class="nx">_formatMessage</span><span class="o">(</span><span class="nx">message</span><span class="o">,</span> <span class="s2">&quot;Property &#39;&quot;</span> <span class="o">+</span> <span class="nx">propertyName</span> <span class="o">+</span> <span class="s2">&quot;&#39; not found on object.&quot;</span><span class="o">));</span>
       
    80             <span class="o">}</span>    
       
    81         <span class="o">},</span>
       
    82         
       
    83         <span class="c">/**</span>
       
    84 <span class="c">         * Asserts that an object has all properties of a reference object.</span>
       
    85 <span class="c">         * @param {Array} properties An array of property names that should be on the object.</span>
       
    86 <span class="c">         * @param {Object} object The object to search.</span>
       
    87 <span class="c">         * @param {String} message (Optional) The message to display if the assertion fails.</span>
       
    88 <span class="c">         * @method hasKeys</span>
       
    89 <span class="c">         * @static</span>
       
    90 <span class="c">         */</span>    
       
    91         <span class="nx">hasKeys</span><span class="o">:</span> <span class="k">function</span> <span class="o">(</span><span class="nx">properties</span><span class="o">,</span> <span class="nx">object</span><span class="o">,</span> <span class="nx">message</span><span class="o">)</span> <span class="o">{</span>
       
    92             <span class="nx">Y</span><span class="o">.</span><span class="nx">Assert</span><span class="o">.</span><span class="nx">_increment</span><span class="o">();</span>  
       
    93             <span class="k">for</span> <span class="o">(</span><span class="k">var</span> <span class="nx">i</span><span class="o">=</span><span class="m">0</span><span class="o">;</span> <span class="nx">i</span> <span class="o">&lt;</span> <span class="nx">properties</span><span class="o">.</span><span class="nx">length</span><span class="o">;</span> <span class="nx">i</span><span class="o">++){</span>
       
    94                 <span class="k">if</span> <span class="o">(!</span><span class="nx">Y</span><span class="o">.</span><span class="nb">Object</span><span class="o">.</span><span class="nx">hasKey</span><span class="o">(</span><span class="nx">object</span><span class="o">,</span> <span class="nx">properties</span><span class="o">[</span><span class="nx">i</span><span class="o">])){</span>
       
    95                     <span class="nx">Y</span><span class="o">.</span><span class="nx">fail</span><span class="o">(</span><span class="nx">Y</span><span class="o">.</span><span class="nx">Assert</span><span class="o">.</span><span class="nx">_formatMessage</span><span class="o">(</span><span class="nx">message</span><span class="o">,</span> <span class="s2">&quot;Property &#39;&quot;</span> <span class="o">+</span> <span class="nx">properties</span><span class="o">[</span><span class="nx">i</span><span class="o">]</span> <span class="o">+</span> <span class="s2">&quot;&#39; not found on object.&quot;</span><span class="o">));</span>
       
    96                 <span class="o">}</span>      
       
    97             <span class="o">}</span>
       
    98         <span class="o">},</span>
       
    99         
       
   100         <span class="c">/**</span>
       
   101 <span class="c">         * Asserts that a property with the given name exists on an object instance (not on its prototype).</span>
       
   102 <span class="c">         * @param {String} propertyName The name of the property to test.</span>
       
   103 <span class="c">         * @param {Object} object The object to search.</span>
       
   104 <span class="c">         * @param {String} message (Optional) The message to display if the assertion fails.</span>
       
   105 <span class="c">         * @method ownsKey</span>
       
   106 <span class="c">         * @static</span>
       
   107 <span class="c">         */</span>    
       
   108         <span class="nx">ownsKey</span><span class="o">:</span> <span class="k">function</span> <span class="o">(</span><span class="nx">propertyName</span><span class="o">,</span> <span class="nx">object</span><span class="o">,</span> <span class="nx">message</span><span class="o">)</span> <span class="o">{</span>
       
   109             <span class="nx">Y</span><span class="o">.</span><span class="nx">Assert</span><span class="o">.</span><span class="nx">_increment</span><span class="o">();</span>               
       
   110             <span class="k">if</span> <span class="o">(!</span><span class="nx">object</span><span class="o">.</span><span class="nx">hasOwnProperty</span><span class="o">(</span><span class="nx">propertyName</span><span class="o">)){</span>
       
   111                 <span class="nx">Y</span><span class="o">.</span><span class="nx">fail</span><span class="o">(</span><span class="nx">Y</span><span class="o">.</span><span class="nx">Assert</span><span class="o">.</span><span class="nx">_formatMessage</span><span class="o">(</span><span class="nx">message</span><span class="o">,</span> <span class="s2">&quot;Property &#39;&quot;</span> <span class="o">+</span> <span class="nx">propertyName</span> <span class="o">+</span> <span class="s2">&quot;&#39; not found on object instance.&quot;</span><span class="o">));</span>
       
   112             <span class="o">}</span>     
       
   113         <span class="o">},</span>
       
   114         
       
   115         <span class="c">/**</span>
       
   116 <span class="c">         * Asserts that all properties exist on an object instance (not on its prototype).</span>
       
   117 <span class="c">         * @param {Array} properties An array of property names that should be on the object.</span>
       
   118 <span class="c">         * @param {Object} object The object to search.</span>
       
   119 <span class="c">         * @param {String} message (Optional) The message to display if the assertion fails.</span>
       
   120 <span class="c">         * @method ownsKeys</span>
       
   121 <span class="c">         * @static</span>
       
   122 <span class="c">         */</span>    
       
   123         <span class="nx">ownsKeys</span><span class="o">:</span> <span class="k">function</span> <span class="o">(</span><span class="nx">properties</span><span class="o">,</span> <span class="nx">object</span><span class="o">,</span> <span class="nx">message</span><span class="o">)</span> <span class="o">{</span>
       
   124             <span class="nx">Y</span><span class="o">.</span><span class="nx">Assert</span><span class="o">.</span><span class="nx">_increment</span><span class="o">();</span>        
       
   125             <span class="k">for</span> <span class="o">(</span><span class="k">var</span> <span class="nx">i</span><span class="o">=</span><span class="m">0</span><span class="o">;</span> <span class="nx">i</span> <span class="o">&lt;</span> <span class="nx">properties</span><span class="o">.</span><span class="nx">length</span><span class="o">;</span> <span class="nx">i</span><span class="o">++){</span>
       
   126                 <span class="k">if</span> <span class="o">(!</span><span class="nx">object</span><span class="o">.</span><span class="nx">hasOwnProperty</span><span class="o">(</span><span class="nx">properties</span><span class="o">[</span><span class="nx">i</span><span class="o">])){</span>
       
   127                     <span class="nx">Y</span><span class="o">.</span><span class="nx">fail</span><span class="o">(</span><span class="nx">Y</span><span class="o">.</span><span class="nx">Assert</span><span class="o">.</span><span class="nx">_formatMessage</span><span class="o">(</span><span class="nx">message</span><span class="o">,</span> <span class="s2">&quot;Property &#39;&quot;</span> <span class="o">+</span> <span class="nx">properties</span><span class="o">[</span><span class="nx">i</span><span class="o">]</span> <span class="o">+</span> <span class="s2">&quot;&#39; not found on object instance.&quot;</span><span class="o">));</span>
       
   128                 <span class="o">}</span>      
       
   129             <span class="o">}</span>
       
   130         <span class="o">},</span>
       
   131         
       
   132         <span class="c">/**</span>
       
   133 <span class="c">         * Asserts that an object owns no properties.</span>
       
   134 <span class="c">         * @param {Object} object The object to check.</span>
       
   135 <span class="c">         * @param {String} message (Optional) The message to display if the assertion fails.</span>
       
   136 <span class="c">         * @method ownsNoKeys</span>
       
   137 <span class="c">         * @static</span>
       
   138 <span class="c">         */</span>    
       
   139         <span class="nx">ownsNoKeys</span> <span class="o">:</span> <span class="k">function</span> <span class="o">(</span><span class="nx">object</span><span class="o">,</span> <span class="nx">message</span><span class="o">)</span> <span class="o">{</span>
       
   140             <span class="nx">Y</span><span class="o">.</span><span class="nx">Assert</span><span class="o">.</span><span class="nx">_increment</span><span class="o">();</span>  
       
   141 
       
   142             <span class="k">var</span> <span class="nx">keys</span> <span class="o">=</span> <span class="nx">Y</span><span class="o">.</span><span class="nb">Object</span><span class="o">.</span><span class="nx">keys</span><span class="o">(</span><span class="nx">object</span><span class="o">);</span>
       
   143             
       
   144             <span class="k">if</span> <span class="o">(</span><span class="nx">keys</span><span class="o">.</span><span class="nx">length</span> <span class="o">&gt;</span> <span class="m">0</span><span class="o">){</span>
       
   145                 <span class="nx">Y</span><span class="o">.</span><span class="nx">fail</span><span class="o">(</span><span class="nx">Y</span><span class="o">.</span><span class="nx">Assert</span><span class="o">.</span><span class="nx">_formatMessage</span><span class="o">(</span><span class="nx">message</span><span class="o">,</span> <span class="s2">&quot;Object owns &quot;</span> <span class="o">+</span> <span class="nx">keys</span><span class="o">.</span><span class="nx">length</span> <span class="o">+</span> <span class="s2">&quot; properties but should own none.&quot;</span><span class="o">));</span>
       
   146             <span class="o">}</span>
       
   147 
       
   148         <span class="o">}</span>     
       
   149     <span class="o">};</span>
       
   150 </pre></div>
       
   151                     </div>
       
   152 			</div>
       
   153 		</div>
       
   154 		<div class="yui-b">
       
   155             <div class="nav">
       
   156 
       
   157                     <div id="moduleList" class="module">
       
   158                         <h4>Modules</h4>
       
   159                         <ul class="content">
       
   160                                 <li class=""><a href="module_anim.html" title="anim">anim</a></li>
       
   161                                 <li class=""><a href="module_attribute.html" title="attribute">attribute</a></li>
       
   162                                 <li class=""><a href="module_base.html" title="base">base</a></li>
       
   163                                 <li class=""><a href="module_cache.html" title="cache">cache</a></li>
       
   164                                 <li class=""><a href="module_classnamemanager.html" title="classnamemanager">classnamemanager</a></li>
       
   165                                 <li class=""><a href="module_collection.html" title="collection">collection</a></li>
       
   166                                 <li class=""><a href="module_console.html" title="console">console</a></li>
       
   167                                 <li class=""><a href="module_console-filters.html" title="console-filters">console-filters</a></li>
       
   168                                 <li class=""><a href="module_cookie.html" title="cookie">cookie</a></li>
       
   169                                 <li class=""><a href="module_dataschema.html" title="dataschema">dataschema</a></li>
       
   170                                 <li class=""><a href="module_datasource.html" title="datasource">datasource</a></li>
       
   171                                 <li class=""><a href="module_datatype.html" title="datatype">datatype</a></li>
       
   172                                 <li class=""><a href="module_dd.html" title="dd">dd</a></li>
       
   173                                 <li class=""><a href="module_dom.html" title="dom">dom</a></li>
       
   174                                 <li class=""><a href="module_dump.html" title="dump">dump</a></li>
       
   175                                 <li class=""><a href="module_event.html" title="event">event</a></li>
       
   176                                 <li class=""><a href="module_event-custom.html" title="event-custom">event-custom</a></li>
       
   177                                 <li class=""><a href="module_event-simulate.html" title="event-simulate">event-simulate</a></li>
       
   178                                 <li class=""><a href="module_history.html" title="history">history</a></li>
       
   179                                 <li class=""><a href="module_imageloader.html" title="imageloader">imageloader</a></li>
       
   180                                 <li class=""><a href="module_io.html" title="io">io</a></li>
       
   181                                 <li class=""><a href="module_json.html" title="json">json</a></li>
       
   182                                 <li class=""><a href="module_node.html" title="node">node</a></li>
       
   183                                 <li class=""><a href="module_node-focusmanager.html" title="node-focusmanager">node-focusmanager</a></li>
       
   184                                 <li class=""><a href="module_node-menunav.html" title="node-menunav">node-menunav</a></li>
       
   185                                 <li class=""><a href="module_oop.html" title="oop">oop</a></li>
       
   186                                 <li class=""><a href="module_overlay.html" title="overlay">overlay</a></li>
       
   187                                 <li class=""><a href="module_plugin.html" title="plugin">plugin</a></li>
       
   188                                 <li class=""><a href="module_profiler.html" title="profiler">profiler</a></li>
       
   189                                 <li class=""><a href="module_queue.html" title="queue">queue</a></li>
       
   190                                 <li class=""><a href="module_slider.html" title="slider">slider</a></li>
       
   191                                 <li class=""><a href="module_stylesheet.html" title="stylesheet">stylesheet</a></li>
       
   192                                 <li class=""><a href="module_substitute.html" title="substitute">substitute</a></li>
       
   193                                 <li class="selected"><a href="module_test.html" title="test">test</a></li>
       
   194                                 <li class=""><a href="module_widget.html" title="widget">widget</a></li>
       
   195                                 <li class=""><a href="module_widget-position.html" title="widget-position">widget-position</a></li>
       
   196                                 <li class=""><a href="module_widget-position-ext.html" title="widget-position-ext">widget-position-ext</a></li>
       
   197                                 <li class=""><a href="module_widget-stack.html" title="widget-stack">widget-stack</a></li>
       
   198                                 <li class=""><a href="module_widget-stdmod.html" title="widget-stdmod">widget-stdmod</a></li>
       
   199                                 <li class=""><a href="module_yui.html" title="yui">yui</a></li>
       
   200                         </ul>
       
   201                     </div>
       
   202 
       
   203                     <div id="classList" class="module">
       
   204                         <h4>Classes</h4>
       
   205                         <ul class="content">
       
   206                                 <li class=""><a href="Assert.html" title="Assert">Assert</a></li>
       
   207                                 <li class=""><a href="Assert.ComparisonFailure.html" title="Assert.ComparisonFailure">Assert.ComparisonFailure</a></li>
       
   208                                 <li class=""><a href="Assert.Error.html" title="Assert.Error">Assert.Error</a></li>
       
   209                                 <li class=""><a href="Assert.ObjectAssert.html" title="Assert.ObjectAssert">Assert.ObjectAssert</a></li>
       
   210                                 <li class=""><a href="Assert.ShouldError.html" title="Assert.ShouldError">Assert.ShouldError</a></li>
       
   211                                 <li class=""><a href="Assert.ShouldFail.html" title="Assert.ShouldFail">Assert.ShouldFail</a></li>
       
   212                                 <li class=""><a href="Assert.UnexpectedError.html" title="Assert.UnexpectedError">Assert.UnexpectedError</a></li>
       
   213                                 <li class=""><a href="Assert.UnexpectedValue.html" title="Assert.UnexpectedValue">Assert.UnexpectedValue</a></li>
       
   214                                 <li class=""><a href="Test.ArrayAssert.html" title="Test.ArrayAssert">Test.ArrayAssert</a></li>
       
   215                                 <li class=""><a href="Test.Case.html" title="Test.Case">Test.Case</a></li>
       
   216                                 <li class=""><a href="Test.DateAssert.html" title="Test.DateAssert">Test.DateAssert</a></li>
       
   217                                 <li class=""><a href="Test.Format.Mock.html" title="Test.Format.Mock">Test.Format.Mock</a></li>
       
   218                                 <li class=""><a href="Test.Manager.html" title="Test.Manager">Test.Manager</a></li>
       
   219                                 <li class=""><a href="Test.Reporter.html" title="Test.Reporter">Test.Reporter</a></li>
       
   220                                 <li class=""><a href="Test.Runner.html" title="Test.Runner">Test.Runner</a></li>
       
   221                                 <li class=""><a href="Test.Suite.html" title="Test.Suite">Test.Suite</a></li>
       
   222                                 <li class=""><a href="Test.TestNode.html" title="Test.TestNode">Test.TestNode</a></li>
       
   223                                 <li class=""><a href="Test.Wait.html" title="Test.Wait">Test.Wait</a></li>
       
   224                         </ul>
       
   225                     </div>
       
   226 
       
   227                     <div id="fileList" class="module">
       
   228                         <h4>Files</h4>
       
   229                         <ul class="content">        
       
   230                                 <li class=""><a href="ArrayAssert.js.html" title="ArrayAssert.js">ArrayAssert.js</a></li>
       
   231                                 <li class=""><a href="Assert.js.html" title="Assert.js">Assert.js</a></li>
       
   232                                 <li class=""><a href="DateAssert.js.html" title="DateAssert.js">DateAssert.js</a></li>
       
   233                                 <li class=""><a href="Mock.js.html" title="Mock.js">Mock.js</a></li>
       
   234                                 <li class="selected"><a href="ObjectAssert.js.html" title="ObjectAssert.js">ObjectAssert.js</a></li>
       
   235                                 <li class=""><a href="TestCase.js.html" title="TestCase.js">TestCase.js</a></li>
       
   236                                 <li class=""><a href="TestFormat.js.html" title="TestFormat.js">TestFormat.js</a></li>
       
   237                                 <li class=""><a href="TestManager.js.html" title="TestManager.js">TestManager.js</a></li>
       
   238                                 <li class=""><a href="TestReporter.js.html" title="TestReporter.js">TestReporter.js</a></li>
       
   239                                 <li class=""><a href="TestRunner.js.html" title="TestRunner.js">TestRunner.js</a></li>
       
   240                                 <li class=""><a href="TestSuite.js.html" title="TestSuite.js">TestSuite.js</a></li>
       
   241                         </ul>
       
   242                     </div>
       
   243 
       
   244 
       
   245 
       
   246 
       
   247 
       
   248             </div>
       
   249 		</div>
       
   250 	</div>
       
   251 	<div id="ft">
       
   252         <hr />
       
   253         Copyright &copy; 2009 Yahoo! Inc. All rights reserved.
       
   254 	</div>
       
   255 </div>
       
   256 <script type="text/javascript">
       
   257     ALL_YUI_PROPS = [{"access": "", "host": "Assert.ComparisonFailure", "name": "actual", "url": "Assert.ComparisonFailure.html#property_actual", "type": "property"}, {"access": "", "host": "Test.Suite", "name": "add", "url": "Test.Suite.html#method_add", "type": "method"}, {"access": "", "host": "Test.Runner", "name": "add", "url": "Test.Runner.html#method_add", "type": "method"}, {"access": "", "host": "Test.Reporter", "name": "addField", "url": "Test.Reporter.html#method_addField", "type": "method"}, {"access": "private", "host": "Test.Runner", "name": "_addTestCaseToTestTree", "url": "Test.Runner.html#method__addTestCaseToTestTree", "type": "method"}, {"access": "private", "host": "Test.Runner", "name": "_addTestSuiteToTestTree", "url": "Test.Runner.html#method__addTestSuiteToTestTree", "type": "method"}, {"access": "", "host": "Test.TestNode", "name": "appendChild", "url": "Test.TestNode.html#method_appendChild", "type": "method"}, {"access": "", "host": "Assert", "name": "areEqual", "url": "Assert.html#method_areEqual", "type": "method"}, {"access": "", "host": "Assert", "name": "areNotEqual", "url": "Assert.html#method_areNotEqual", "type": "method"}, {"access": "", "host": "Assert", "name": "areNotSame", "url": "Assert.html#method_areNotSame", "type": "method"}, {"access": "", "host": "Assert", "name": "areSame", "url": "Assert.html#method_areSame", "type": "method"}, {"access": "private", "host": "Assert", "name": "_asserts", "url": "Assert.html#property__asserts", "type": "property"}, {"access": "", "host": "Test.Runner", "name": "begin", "url": "Test.Runner.html#event_begin", "type": "event"}, {"access": "private", "host": "Test.Runner", "name": "_buildTestTree", "url": "Test.Runner.html#method__buildTestTree", "type": "method"}, {"access": "", "host": "Assert.UnexpectedError", "name": "cause", "url": "Assert.UnexpectedError.html#property_cause", "type": "property"}, {"access": "", "host": "Test.Runner", "name": "clear", "url": "Test.Runner.html#method_clear", "type": "method"}, {"access": "", "host": "Test.Runner", "name": "complete", "url": "Test.Runner.html#event_complete", "type": "event"}, {"access": "", "host": "Test.ArrayAssert", "name": "contains", "url": "Test.ArrayAssert.html#method_contains", "type": "method"}, {"access": "", "host": "Test.ArrayAssert", "name": "containsItems", "url": "Test.ArrayAssert.html#method_containsItems", "type": "method"}, {"access": "", "host": "Test.ArrayAssert", "name": "containsMatch", "url": "Test.ArrayAssert.html#method_containsMatch", "type": "method"}, {"access": "private", "host": "Test.Runner", "name": "_cur", "url": "Test.Runner.html#property__cur", "type": "property"}, {"access": "private", "host": "Test.Manager", "name": "_curPage", "url": "Test.Manager.html#property__curPage", "type": "property"}, {"access": "", "host": "Test.DateAssert", "name": "datesAreEqual", "url": "Test.DateAssert.html#method_datesAreEqual", "type": "method"}, {"access": "", "host": "Test.Wait", "name": "delay", "url": "Test.Wait.html#property_delay", "type": "property"}, {"access": "", "host": "Test.Reporter", "name": "destroy", "url": "Test.Reporter.html#method_destroy", "type": "method"}, {"access": "", "host": "Test.Runner", "name": "disableLogging", "url": "Test.Runner.html#method_disableLogging", "type": "method"}, {"access": "", "host": "Test.ArrayAssert", "name": "doesNotContain", "url": "Test.ArrayAssert.html#method_doesNotContain", "type": "method"}, {"access": "", "host": "Test.ArrayAssert", "name": "doesNotContainItems", "url": "Test.ArrayAssert.html#method_doesNotContainItems", "type": "method"}, {"access": "", "host": "Test.ArrayAssert", "name": "doesNotContainMatch", "url": "Test.ArrayAssert.html#method_doesNotContainMatch", "type": "method"}, {"access": "", "host": "Test.Runner", "name": "enableLogging", "url": "Test.Runner.html#method_enableLogging", "type": "method"}, {"access": "", "host": "Test.Format.Mock", "name": "expect", "url": "Test.Format.Mock.html#method_expect", "type": "method"}, {"access": "", "host": "Assert.ComparisonFailure", "name": "expected", "url": "Assert.ComparisonFailure.html#property_expected", "type": "property"}, {"access": "", "host": "Assert", "name": "fail", "url": "Assert.html#method_fail", "type": "method"}, {"access": "", "host": "Test.Runner", "name": "fail", "url": "Test.Runner.html#event_fail", "type": "event"}, {"access": "private", "host": "Test.Reporter", "name": "_fields", "url": "Test.Reporter.html#property__fields", "type": "property"}, {"access": "", "host": "Test.TestNode", "name": "firstChild", "url": "Test.TestNode.html#property_firstChild", "type": "property"}, {"access": "private", "host": "Test.Reporter", "name": "_form", "url": "Test.Reporter.html#property__form", "type": "property"}, {"access": "", "host": "Test.Reporter", "name": "format", "url": "Test.Reporter.html#property_format", "type": "property"}, {"access": "protected", "host": "Assert", "name": "_formatMessage", "url": "Assert.html#method__formatMessage", "type": "method"}, {"access": "private", "host": "Test.Manager", "name": "_frame", "url": "Test.Manager.html#property__frame", "type": "property"}, {"access": "protected", "host": "Assert", "name": "_getCount", "url": "Assert.html#method__getCount", "type": "method"}, {"access": "", "host": "Assert.Error", "name": "getMessage", "url": "Assert.Error.html#method_getMessage", "type": "method"}, {"access": "", "host": "Assert.UnexpectedValue", "name": "getMessage", "url": "Assert.UnexpectedValue.html#method_getMessage", "type": "method"}, {"access": "private", "host": "Test.Runner", "name": "_handleError", "url": "Test.Runner.html#method__handleError", "type": "method"}, {"access": "private", "host": "Test.Runner", "name": "_handleTestObjectComplete", "url": "Test.Runner.html#method__handleTestObjectComplete", "type": "method"}, {"access": "private", "host": "Test.Manager", "name": "_handleTestRunnerComplete", "url": "Test.Manager.html#method__handleTestRunnerComplete", "type": "method"}, {"access": "", "host": "Assert.ObjectAssert", "name": "hasKey", "url": "Assert.ObjectAssert.html#method_hasKey", "type": "method"}, {"access": "", "host": "Assert.ObjectAssert", "name": "hasKeys", "url": "Assert.ObjectAssert.html#method_hasKeys", "type": "method"}, {"access": "private", "host": "Test.Reporter", "name": "_iframe", "url": "Test.Reporter.html#property__iframe", "type": "property"}, {"access": "", "host": "Test.Runner", "name": "ignore", "url": "Test.Runner.html#event_ignore", "type": "event"}, {"access": "protected", "host": "Assert", "name": "_increment", "url": "Assert.html#method__increment", "type": "method"}, {"access": "", "host": "Test.ArrayAssert", "name": "indexOf", "url": "Test.ArrayAssert.html#method_indexOf", "type": "method"}, {"access": "", "host": "Assert", "name": "isArray", "url": "Assert.html#method_isArray", "type": "method"}, {"access": "", "host": "Assert", "name": "isBoolean", "url": "Assert.html#method_isBoolean", "type": "method"}, {"access": "", "host": "Test.ArrayAssert", "name": "isEmpty", "url": "Test.ArrayAssert.html#method_isEmpty", "type": "method"}, {"access": "", "host": "Assert", "name": "isFalse", "url": "Assert.html#method_isFalse", "type": "method"}, {"access": "", "host": "Assert", "name": "isFunction", "url": "Assert.html#method_isFunction", "type": "method"}, {"access": "", "host": "Assert", "name": "isInstanceOf", "url": "Assert.html#method_isInstanceOf", "type": "method"}, {"access": "", "host": "Assert", "name": "isNaN", "url": "Assert.html#method_isNaN", "type": "method"}, {"access": "", "host": "Test.ArrayAssert", "name": "isNotEmpty", "url": "Test.ArrayAssert.html#method_isNotEmpty", "type": "method"}, {"access": "", "host": "Assert", "name": "isNotNaN", "url": "Assert.html#method_isNotNaN", "type": "method"}, {"access": "", "host": "Assert", "name": "isNotNull", "url": "Assert.html#method_isNotNull", "type": "method"}, {"access": "", "host": "Assert", "name": "isNotUndefined", "url": "Assert.html#method_isNotUndefined", "type": "method"}, {"access": "", "host": "Assert", "name": "isNull", "url": "Assert.html#method_isNull", "type": "method"}, {"access": "", "host": "Assert", "name": "isNumber", "url": "Assert.html#method_isNumber", "type": "method"}, {"access": "", "host": "Assert", "name": "isObject", "url": "Assert.html#method_isObject", "type": "method"}, {"access": "", "host": "Assert", "name": "isString", "url": "Assert.html#method_isString", "type": "method"}, {"access": "", "host": "Assert", "name": "isTrue", "url": "Assert.html#method_isTrue", "type": "method"}, {"access": "", "host": "Assert", "name": "isTypeOf", "url": "Assert.html#method_isTypeOf", "type": "method"}, {"access": "", "host": "Assert", "name": "isUndefined", "url": "Assert.html#method_isUndefined", "type": "method"}, {"access": "", "host": "Test.Runner", "name": "isWaiting", "url": "Test.Runner.html#method_isWaiting", "type": "method"}, {"access": "private", "host": "Test.Suite", "name": "items", "url": "Test.Suite.html#property_items", "type": "property"}, {"access": "", "host": "Test.ArrayAssert", "name": "itemsAreEqual", "url": "Test.ArrayAssert.html#method_itemsAreEqual", "type": "method"}, {"access": "", "host": "Test.ArrayAssert", "name": "itemsAreEquivalent", "url": "Test.ArrayAssert.html#method_itemsAreEquivalent", "type": "method"}, {"access": "", "host": "Test.ArrayAssert", "name": "itemsAreSame", "url": "Test.ArrayAssert.html#method_itemsAreSame", "type": "method"}, {"access": "", "host": "Test.Suite", "name": "JSON", "url": "Test.Suite.html#method_JSON", "type": "method"}, {"access": "", "host": "Test.TestNode", "name": "lastChild", "url": "Test.TestNode.html#property_lastChild", "type": "property"}, {"access": "", "host": "Test.ArrayAssert", "name": "lastIndexOf", "url": "Test.ArrayAssert.html#method_lastIndexOf", "type": "method"}, {"access": "", "host": "Test.Manager", "name": "load", "url": "Test.Manager.html#method_load", "type": "method"}, {"access": "private", "host": "Test.Runner", "name": "_log", "url": "Test.Runner.html#property__log", "type": "property"}, {"access": "private", "host": "Test.Runner", "name": "_logEvent", "url": "Test.Runner.html#method__logEvent", "type": "method"}, {"access": "private", "host": "Test.Manager", "name": "_logger", "url": "Test.Manager.html#property__logger", "type": "property"}, {"access": "private", "host": "Test.Runner", "name": "masterSuite", "url": "Test.Runner.html#property_masterSuite", "type": "property"}, {"access": "", "host": "Assert.Error", "name": "name", "url": "Assert.Error.html#property_name", "type": "property"}, {"access": "", "host": "Assert.ComparisonFailure", "name": "name", "url": "Assert.ComparisonFailure.html#property_name", "type": "property"}, {"access": "", "host": "Assert.UnexpectedValue", "name": "name", "url": "Assert.UnexpectedValue.html#property_name", "type": "property"}, {"access": "", "host": "Assert.ShouldFail", "name": "name", "url": "Assert.ShouldFail.html#property_name", "type": "property"}, {"access": "", "host": "Assert.ShouldError", "name": "name", "url": "Assert.ShouldError.html#property_name", "type": "property"}, {"access": "", "host": "Assert.UnexpectedError", "name": "name", "url": "Assert.UnexpectedError.html#property_name", "type": "property"}, {"access": "", "host": "Test.Suite", "name": "name", "url": "Test.Suite.html#property_name", "type": "property"}, {"access": "", "host": "Test.Case", "name": "name", "url": "Test.Case.html#property_name", "type": "property"}, {"access": "", "host": "Test.TestNode", "name": "next", "url": "Test.TestNode.html#property_next", "type": "property"}, {"access": "private", "host": "Test.Runner", "name": "_next", "url": "Test.Runner.html#method__next", "type": "method"}, {"access": "", "host": "Assert.ObjectAssert", "name": "ownsKey", "url": "Assert.ObjectAssert.html#method_ownsKey", "type": "method"}, {"access": "", "host": "Assert.ObjectAssert", "name": "ownsKeys", "url": "Assert.ObjectAssert.html#method_ownsKeys", "type": "method"}, {"access": "", "host": "Assert.ObjectAssert", "name": "ownsNoKeys", "url": "Assert.ObjectAssert.html#method_ownsNoKeys", "type": "method"}, {"access": "private", "host": "Test.Manager", "name": "_pages", "url": "Test.Manager.html#property__pages", "type": "property"}, {"access": "", "host": "Test.TestNode", "name": "parent", "url": "Test.TestNode.html#property_parent", "type": "property"}, {"access": "", "host": "Test.Runner", "name": "pass", "url": "Test.Runner.html#event_pass", "type": "event"}, {"access": "private", "host": "Test.Manager", "name": "_processResults", "url": "Test.Manager.html#method__processResults", "type": "method"}, {"access": "", "host": "Test.Reporter", "name": "report", "url": "Test.Reporter.html#method_report", "type": "method"}, {"access": "protected", "host": "Assert", "name": "_reset", "url": "Assert.html#method__reset", "type": "method"}, {"access": "", "host": "Test.TestNode", "name": "results", "url": "Test.TestNode.html#property_results", "type": "property"}, {"access": "private", "host": "Test.Manager", "name": "_results", "url": "Test.Manager.html#property__results", "type": "property"}, {"access": "", "host": "Test.Case", "name": "resume", "url": "Test.Case.html#method_resume", "type": "method"}, {"access": "", "host": "Test.Runner", "name": "resume", "url": "Test.Runner.html#method_resume", "type": "method"}, {"access": "private", "host": "Test.Runner", "name": "_root", "url": "Test.Runner.html#property__root", "type": "property"}, {"access": "private", "host": "Test.Runner", "name": "_run", "url": "Test.Runner.html#method__run", "type": "method"}, {"access": "", "host": "Test.Runner", "name": "run", "url": "Test.Runner.html#method_run", "type": "method"}, {"access": "private", "host": "Test.Manager", "name": "_run", "url": "Test.Manager.html#method__run", "type": "method"}, {"access": "private", "host": "Test.Runner", "name": "_runTest", "url": "Test.Runner.html#method__runTest", "type": "method"}, {"access": "", "host": "Test.Wait", "name": "segment", "url": "Test.Wait.html#property_segment", "type": "property"}, {"access": "", "host": "Test.Manager", "name": "setPages", "url": "Test.Manager.html#method_setPages", "type": "method"}, {"access": "", "host": "Test.Suite", "name": "setUp", "url": "Test.Suite.html#method_setUp", "type": "method"}, {"access": "", "host": "Test.Case", "name": "setUp", "url": "Test.Case.html#method_setUp", "type": "method"}, {"access": "", "host": "Test.Case", "name": "_should", "url": "Test.Case.html#property__should", "type": "property"}, {"access": "", "host": "Assert.UnexpectedError", "name": "stack", "url": "Assert.UnexpectedError.html#property_stack", "type": "property"}, {"access": "", "host": "Test.Manager", "name": "start", "url": "Test.Manager.html#method_start", "type": "method"}, {"access": "", "host": "Test.Manager", "name": "stop", "url": "Test.Manager.html#method_stop", "type": "method"}, {"access": "", "host": "Test.Suite", "name": "tearDown", "url": "Test.Suite.html#method_tearDown", "type": "method"}, {"access": "", "host": "Test.Case", "name": "tearDown", "url": "Test.Case.html#method_tearDown", "type": "method"}, {"access": "", "host": "Test.Runner", "name": "testcasebegin", "url": "Test.Runner.html#event_testcasebegin", "type": "event"}, {"access": "", "host": "Test.Runner", "name": "testcasecomplete", "url": "Test.Runner.html#event_testcasecomplete", "type": "event"}, {"access": "", "host": "Test.Manager", "name": "testmanagerbegin", "url": "Test.Manager.html#event_testmanagerbegin", "type": "event"}, {"access": "", "host": "Test.Manager", "name": "TEST_MANAGER_BEGIN_EVENT", "url": "Test.Manager.html#property_TEST_MANAGER_BEGIN_EVENT", "type": "property"}, {"access": "", "host": "Test.Manager", "name": "testmanagercomplete", "url": "Test.Manager.html#event_testmanagercomplete", "type": "event"}, {"access": "", "host": "Test.Manager", "name": "TEST_MANAGER_COMPLETE_EVENT", "url": "Test.Manager.html#property_TEST_MANAGER_COMPLETE_EVENT", "type": "property"}, {"access": "", "host": "Test.TestNode", "name": "testObject", "url": "Test.TestNode.html#property_testObject", "type": "property"}, {"access": "", "host": "Test.Manager", "name": "testpagebegin", "url": "Test.Manager.html#event_testpagebegin", "type": "event"}, {"access": "", "host": "Test.Manager", "name": "TEST_PAGE_BEGIN_EVENT", "url": "Test.Manager.html#property_TEST_PAGE_BEGIN_EVENT", "type": "property"}, {"access": "", "host": "Test.Manager", "name": "testpagecomplete", "url": "Test.Manager.html#event_testpagecomplete", "type": "event"}, {"access": "", "host": "Test.Manager", "name": "TEST_PAGE_COMPLETE_EVENT", "url": "Test.Manager.html#property_TEST_PAGE_COMPLETE_EVENT", "type": "property"}, {"access": "", "host": "Test.Runner", "name": "testsuitebegin", "url": "Test.Runner.html#event_testsuitebegin", "type": "event"}, {"access": "", "host": "Test.Runner", "name": "testsuitecomplete", "url": "Test.Runner.html#event_testsuitecomplete", "type": "event"}, {"access": "private", "host": "Test.Manager", "name": "_timeoutId", "url": "Test.Manager.html#property__timeoutId", "type": "property"}, {"access": "", "host": "Test.DateAssert", "name": "timesAreEqual", "url": "Test.DateAssert.html#method_timesAreEqual", "type": "method"}, {"access": "", "host": "Assert.Error", "name": "toString", "url": "Assert.Error.html#method_toString", "type": "method"}, {"access": "", "host": "Assert.ComparisonFailure", "name": "toString", "url": "Assert.ComparisonFailure.html#method_toString", "type": "method"}, {"access": "", "host": "Assert.UnexpectedValue", "name": "unexpected", "url": "Assert.UnexpectedValue.html#property_unexpected", "type": "property"}, {"access": "", "host": "Test.Reporter", "name": "url", "url": "Test.Reporter.html#property_url", "type": "property"}, {"access": "", "host": "Assert.Error", "name": "valueOf", "url": "Assert.Error.html#method_valueOf", "type": "method"}, {"access": "", "host": "Test.Format.Mock", "name": "verify", "url": "Test.Format.Mock.html#method_verify", "type": "method"}, {"access": "", "host": "Test.Case", "name": "wait", "url": "Test.Case.html#method_wait", "type": "method"}, {"access": "private", "host": "Test.Runner", "name": "_waiting", "url": "Test.Runner.html#property__waiting", "type": "property"}, {"access": "", "host": "Test.Suite", "name": "XML", "url": "Test.Suite.html#method_XML", "type": "method"}, {"access": "", "host": "Assert", "name": "Y.assert", "url": "Assert.html#method_Y.assert", "type": "method"}, {"access": "", "host": "Assert", "name": "Y.fail", "url": "Assert.html#method_Y.fail", "type": "method"}];
       
   258 </script>
       
   259 </body>
       
   260 </html>