src/cm/media/js/lib/yui/yui3.0.0/api/Assert.UnexpectedError.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  Assert.UnexpectedError   (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.0</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                  &gt; Assert.UnexpectedError 
       
    23                 
       
    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                     <h2>
       
    47                         
       
    48 
       
    49                         
       
    50                         
       
    51                             Class <b property="yui:name">Assert.UnexpectedError</b>
       
    52                         <span class="extends">
       
    53                            - extends <a href="Assert.Error.html" title="Assert.Error">Assert.Error</a>
       
    54                         </span>
       
    55 
       
    56                     </h2>
       
    57                     <!-- class tree goes here -->
       
    58                     
       
    59                 
       
    60   
       
    61 
       
    62                     <div class="summary description" property="yui:description">
       
    63                         UnexpectedError is subclass of Error that is thrown whenever
       
    64 an error occurs within the course of a test and the test was not expected
       
    65 to throw an error.
       
    66                     </div>
       
    67 
       
    68                         <div class="section constructor details" rel="yui:constructor" resource="#constructor">
       
    69                         <h3 id="constructor">Constructor</h3>
       
    70                         <div class="content">
       
    71                             <div class="detail">
       
    72                                 <strong property="yui:name">Assert.UnexpectedError</strong>
       
    73                                 <code>
       
    74                                     (
       
    75   
       
    76                                         
       
    77                                                 
       
    78                                                 cause
       
    79                                     )
       
    80                                 </code>
       
    81                                 <div class="description">
       
    82                                         <dl rel="yui:parameters">
       
    83                                             <dt>Parameters:</dt>
       
    84                                                 <dd rel="yui:parameter">
       
    85                                                     <code><span property="yui:name">cause</span>
       
    86                                                     &lt;<span property="yui:type">Error</span>&gt;
       
    87                                                     </code>
       
    88                                                     <span property="yui:description"> The unexpected error that caused this error to be 
       
    89 thrown.</span>
       
    90                                                 </dd>
       
    91                                         </dl>
       
    92                                     
       
    93                                     
       
    94                                 </div>
       
    95                             </div>
       
    96                         </div>
       
    97                     </div>
       
    98                     
       
    99                     <div rel="yui:properties" resource="#properties">
       
   100                         <div class="section field details">
       
   101                             <h3 id="properties">Properties</h3>
       
   102                             <div class="content">
       
   103                                     <div class="" rel="yui:property" resource="#property_cause">
       
   104                                     <h4><a name="property_cause" property="yui:name">cause</a>
       
   105                                         - <code><span property="yui:type">Error</span></code>
       
   106                                     </h4>
       
   107                                     <div class="detail">
       
   108                                         <div class="description" property="yui:description">
       
   109                                             The unexpected error that occurred.
       
   110                                         </div>
       
   111                                     </div>
       
   112      
       
   113                                         
       
   114 
       
   115 
       
   116                                     <hr />
       
   117                                     </div>
       
   118                                     <div class="" rel="yui:property" resource="#property_name">
       
   119                                     <h4><a name="property_name" property="yui:name">name</a>
       
   120                                         - <code><span property="yui:type">String</span></code>
       
   121                                     </h4>
       
   122                                     <div class="detail">
       
   123                                         <div class="description" property="yui:description">
       
   124                                             The name of the error that occurred.
       
   125                                         </div>
       
   126                                     </div>
       
   127      
       
   128                                         
       
   129 
       
   130 
       
   131                                     <hr />
       
   132                                     </div>
       
   133                                     <div class="" rel="yui:property" resource="#property_stack">
       
   134                                     <h4><a name="property_stack" property="yui:name">stack</a>
       
   135                                         - <code><span property="yui:type">String</span></code>
       
   136                                     </h4>
       
   137                                     <div class="detail">
       
   138                                         <div class="description" property="yui:description">
       
   139                                             Stack information for the error (if provided).
       
   140                                         </div>
       
   141                                     </div>
       
   142      
       
   143                                         
       
   144 
       
   145 
       
   146                                     <hr />
       
   147                                     </div>
       
   148                             </div>
       
   149                         </div>
       
   150 
       
   151                         <div rel="yui:inheritance">
       
   152                         <div class="section field inheritance" rel="yui:superclass"  resource="Assert.Error.html">
       
   153                             <h4>Properties inherited from <a href="Assert.Error.html" property="yui:name" title="Assert.Error">Assert.Error</a>:</h4>
       
   154                             <div class="content" rel="yui:properties">
       
   155                                 <code>
       
   156                                     
       
   157                                         <span rel="yui:property" resource="Assert.Error.html#property_name">
       
   158                                         <a class="" href="Assert.Error.html#property_name" property="yui:name" title="name">name</a>
       
   159                                         </span>
       
   160                                     
       
   161                                 </code>
       
   162                             </div>
       
   163                         </div>
       
   164                         </div>
       
   165                     </div>
       
   166 
       
   167                     <div rel="yui:methods" resource="#methods">
       
   168 
       
   169                         <div rel="yui:inheritance">                    
       
   170                             <div class="section field inheritance" rel="yui:superclass"  resource="Assert.Error.html">
       
   171                                 <h4>Methods inherited from <a href="Assert.Error.html" property="yui:name" title="Assert.Error">Assert.Error</a>:</h4>
       
   172                                 <div class="content" rel="yui:methods">
       
   173                                     <code>
       
   174                                             <span rel="yui:method" resource="Assert.Error.html#method_getMessage">                                        
       
   175                                             <a class="" href="Assert.Error.html#method_getMessage" property="yui:name" title="getMessage">getMessage</a><span class="">,</span>
       
   176                                             </span>
       
   177                                             <span rel="yui:method" resource="Assert.Error.html#method_toString">                                        
       
   178                                             <a class="" href="Assert.Error.html#method_toString" property="yui:name" title="toString">toString</a><span class="">,</span>
       
   179                                             </span>
       
   180                                             <span rel="yui:method" resource="Assert.Error.html#method_valueOf">                                        
       
   181                                             <a class="" href="Assert.Error.html#method_valueOf" property="yui:name" title="valueOf">valueOf</a>
       
   182                                             </span>
       
   183                                     </code>
       
   184                                 </div>
       
   185                             </div>
       
   186                         </div>
       
   187                     </div>
       
   188 
       
   189                     <div rel="yui:events" resource="#events">
       
   190 
       
   191 
       
   192                     </div>
       
   193 
       
   194                     <div rel="yui:attributes" resource="#configattributes">
       
   195 
       
   196                     </div>
       
   197 
       
   198 			</div>
       
   199 		</div>
       
   200 		<div class="yui-b">
       
   201             <div class="nav">
       
   202 
       
   203                     <div id="moduleList" class="module">
       
   204                         <h4>Modules</h4>
       
   205                         <ul class="content">
       
   206                                 <li class=""><a href="module_anim.html" title="anim">anim</a></li>
       
   207                                 <li class=""><a href="module_async-queue.html" title="async-queue">async-queue</a></li>
       
   208                                 <li class=""><a href="module_attribute.html" title="attribute">attribute</a></li>
       
   209                                 <li class=""><a href="module_base.html" title="base">base</a></li>
       
   210                                 <li class=""><a href="module_cache.html" title="cache">cache</a></li>
       
   211                                 <li class=""><a href="module_classnamemanager.html" title="classnamemanager">classnamemanager</a></li>
       
   212                                 <li class=""><a href="module_collection.html" title="collection">collection</a></li>
       
   213                                 <li class=""><a href="module_console.html" title="console">console</a></li>
       
   214                                 <li class=""><a href="module_console-filters.html" title="console-filters">console-filters</a></li>
       
   215                                 <li class=""><a href="module_cookie.html" title="cookie">cookie</a></li>
       
   216                                 <li class=""><a href="module_dataschema.html" title="dataschema">dataschema</a></li>
       
   217                                 <li class=""><a href="module_datasource.html" title="datasource">datasource</a></li>
       
   218                                 <li class=""><a href="module_datatype.html" title="datatype">datatype</a></li>
       
   219                                 <li class=""><a href="module_dd.html" title="dd">dd</a></li>
       
   220                                 <li class=""><a href="module_dom.html" title="dom">dom</a></li>
       
   221                                 <li class=""><a href="module_dump.html" title="dump">dump</a></li>
       
   222                                 <li class=""><a href="module_event.html" title="event">event</a></li>
       
   223                                 <li class=""><a href="module_event-custom.html" title="event-custom">event-custom</a></li>
       
   224                                 <li class=""><a href="module_event-simulate.html" title="event-simulate">event-simulate</a></li>
       
   225                                 <li class=""><a href="module_history.html" title="history">history</a></li>
       
   226                                 <li class=""><a href="module_imageloader.html" title="imageloader">imageloader</a></li>
       
   227                                 <li class=""><a href="module_io.html" title="io">io</a></li>
       
   228                                 <li class=""><a href="module_json.html" title="json">json</a></li>
       
   229                                 <li class=""><a href="module_node.html" title="node">node</a></li>
       
   230                                 <li class=""><a href="module_node-focusmanager.html" title="node-focusmanager">node-focusmanager</a></li>
       
   231                                 <li class=""><a href="module_node-menunav.html" title="node-menunav">node-menunav</a></li>
       
   232                                 <li class=""><a href="module_oop.html" title="oop">oop</a></li>
       
   233                                 <li class=""><a href="module_overlay.html" title="overlay">overlay</a></li>
       
   234                                 <li class=""><a href="module_plugin.html" title="plugin">plugin</a></li>
       
   235                                 <li class=""><a href="module_profiler.html" title="profiler">profiler</a></li>
       
   236                                 <li class=""><a href="module_queue-promote.html" title="queue-promote">queue-promote</a></li>
       
   237                                 <li class=""><a href="module_slider.html" title="slider">slider</a></li>
       
   238                                 <li class=""><a href="module_stylesheet.html" title="stylesheet">stylesheet</a></li>
       
   239                                 <li class=""><a href="module_substitute.html" title="substitute">substitute</a></li>
       
   240                                 <li class="selected"><a href="module_test.html" title="test">test</a></li>
       
   241                                 <li class=""><a href="module_widget.html" title="widget">widget</a></li>
       
   242                                 <li class=""><a href="module_widget-position.html" title="widget-position">widget-position</a></li>
       
   243                                 <li class=""><a href="module_widget-position-ext.html" title="widget-position-ext">widget-position-ext</a></li>
       
   244                                 <li class=""><a href="module_widget-stack.html" title="widget-stack">widget-stack</a></li>
       
   245                                 <li class=""><a href="module_widget-stdmod.html" title="widget-stdmod">widget-stdmod</a></li>
       
   246                                 <li class=""><a href="module_yui.html" title="yui">yui</a></li>
       
   247                         </ul>
       
   248                     </div>
       
   249 
       
   250                     <div id="classList" class="module">
       
   251                         <h4>Classes</h4>
       
   252                         <ul class="content">
       
   253                                 <li class=""><a href="Assert.html" title="Assert">Assert</a></li>
       
   254                                 <li class=""><a href="Assert.ComparisonFailure.html" title="Assert.ComparisonFailure">Assert.ComparisonFailure</a></li>
       
   255                                 <li class=""><a href="Assert.Error.html" title="Assert.Error">Assert.Error</a></li>
       
   256                                 <li class=""><a href="Assert.ObjectAssert.html" title="Assert.ObjectAssert">Assert.ObjectAssert</a></li>
       
   257                                 <li class=""><a href="Assert.ShouldError.html" title="Assert.ShouldError">Assert.ShouldError</a></li>
       
   258                                 <li class=""><a href="Assert.ShouldFail.html" title="Assert.ShouldFail">Assert.ShouldFail</a></li>
       
   259                                 <li class="selected"><a href="Assert.UnexpectedError.html" title="Assert.UnexpectedError">Assert.UnexpectedError</a></li>
       
   260                                 <li class=""><a href="Assert.UnexpectedValue.html" title="Assert.UnexpectedValue">Assert.UnexpectedValue</a></li>
       
   261                                 <li class=""><a href="Test.ArrayAssert.html" title="Test.ArrayAssert">Test.ArrayAssert</a></li>
       
   262                                 <li class=""><a href="Test.Case.html" title="Test.Case">Test.Case</a></li>
       
   263                                 <li class=""><a href="Test.DateAssert.html" title="Test.DateAssert">Test.DateAssert</a></li>
       
   264                                 <li class=""><a href="Test.Format.Mock.html" title="Test.Format.Mock">Test.Format.Mock</a></li>
       
   265                                 <li class=""><a href="Test.Manager.html" title="Test.Manager">Test.Manager</a></li>
       
   266                                 <li class=""><a href="Test.Reporter.html" title="Test.Reporter">Test.Reporter</a></li>
       
   267                                 <li class=""><a href="Test.Runner.html" title="Test.Runner">Test.Runner</a></li>
       
   268                                 <li class=""><a href="Test.Suite.html" title="Test.Suite">Test.Suite</a></li>
       
   269                                 <li class=""><a href="Test.TestNode.html" title="Test.TestNode">Test.TestNode</a></li>
       
   270                                 <li class=""><a href="Test.Wait.html" title="Test.Wait">Test.Wait</a></li>
       
   271                         </ul>
       
   272                     </div>
       
   273 
       
   274                     <div id="fileList" class="module">
       
   275                         <h4>Files</h4>
       
   276                         <ul class="content">        
       
   277                                 <li class=""><a href="ArrayAssert.js.html" title="ArrayAssert.js">ArrayAssert.js</a></li>
       
   278                                 <li class=""><a href="Assert.js.html" title="Assert.js">Assert.js</a></li>
       
   279                                 <li class=""><a href="DateAssert.js.html" title="DateAssert.js">DateAssert.js</a></li>
       
   280                                 <li class=""><a href="Mock.js.html" title="Mock.js">Mock.js</a></li>
       
   281                                 <li class=""><a href="ObjectAssert.js.html" title="ObjectAssert.js">ObjectAssert.js</a></li>
       
   282                                 <li class=""><a href="TestCase.js.html" title="TestCase.js">TestCase.js</a></li>
       
   283                                 <li class=""><a href="TestFormat.js.html" title="TestFormat.js">TestFormat.js</a></li>
       
   284                                 <li class=""><a href="TestManager.js.html" title="TestManager.js">TestManager.js</a></li>
       
   285                                 <li class=""><a href="TestReporter.js.html" title="TestReporter.js">TestReporter.js</a></li>
       
   286                                 <li class=""><a href="TestRunner.js.html" title="TestRunner.js">TestRunner.js</a></li>
       
   287                                 <li class=""><a href="TestSuite.js.html" title="TestSuite.js">TestSuite.js</a></li>
       
   288                         </ul>
       
   289                     </div>
       
   290 
       
   291                     <div id="propertyList" class="module">
       
   292                         <h4>Properties</h4>
       
   293                         <ul class="content">        
       
   294                                 <li class=""><a href="#property_cause" title="cause">cause</a></li>
       
   295                                 <li class=""><a href="#property_name" title="name">name</a></li>
       
   296                                 <li class=""><a href="#property_stack" title="stack">stack</a></li>
       
   297                         </ul>
       
   298                     </div>
       
   299 
       
   300 
       
   301 
       
   302 
       
   303             </div>
       
   304 		</div>
       
   305 	</div>
       
   306 	<div id="ft">
       
   307         <hr />
       
   308         Copyright &copy; 2009 Yahoo! Inc. All rights reserved.
       
   309 	</div>
       
   310 </div>
       
   311 <script type="text/javascript">
       
   312     ALL_YUI_PROPS = [{"access": "", "host": "Assert.ComparisonFailure", "name": "actual", "url": "Assert.ComparisonFailure.html#property_actual", "type": "property"}, {"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": "Assert.UnexpectedError", "name": "cause", "url": "Assert.UnexpectedError.html#property_cause", "type": "property"}, {"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": "protected", "host": "Assert", "name": "_formatMessage", "url": "Assert.html#method__formatMessage", "type": "method"}, {"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": "protected", "host": "Assert", "name": "_increment", "url": "Assert.html#method__increment", "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": "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": "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": "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": "protected", "host": "Assert", "name": "_reset", "url": "Assert.html#method__reset", "type": "method"}, {"access": "", "host": "Assert.UnexpectedError", "name": "stack", "url": "Assert.UnexpectedError.html#property_stack", "type": "property"}, {"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": "Assert.Error", "name": "valueOf", "url": "Assert.Error.html#method_valueOf", "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"}];
       
   313 </script>
       
   314 </body>
       
   315 </html>