| changeset 0 | 40c8f766c9b8 |
| -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 Test.ArrayAssert (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 <span class="subtitle">3.0.0b1</span></h3> |
|
20 <a href="./index.html" title="Yahoo! UI Library">Yahoo! UI Library</a> |
|
21 > <a href="./module_test.html" title="test">test</a> |
|
22 > Test.ArrayAssert |
|
23 |
|
24 <form onsubmit="return false"> |
|
25 <div id="propertysearch"> |
|
26 Search: <input autocomplete="off" id="searchinput" /> |
|
27 <div id="searchresults"> |
|
28 |
|
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 <code>static</code> |
|
50 |
|
51 Class <b property="yui:name">Test.ArrayAssert</b> |
|
52 <span class="extends"> |
|
53 </span> |
|
54 |
|
55 </h2> |
|
56 <!-- class tree goes here --> |
|
57 |
|
58 |
|
59 |
|
60 |
|
61 <div class="summary description" property="yui:description"> |
|
62 The ArrayAssert object provides functions to test JavaScript array objects |
|
63 for a variety of cases. |
|
64 </div> |
|
65 |
|
66 |
|
67 <div rel="yui:properties" resource="#properties"> |
|
68 |
|
69 </div> |
|
70 |
|
71 <div rel="yui:methods" resource="#methods"> |
|
72 <div class="section method details"> |
|
73 <h3 id="methods">Methods</h3> |
|
74 <div class="content"> |
|
75 <div class="" rel="yui:method" resource="#method_contains"> |
|
76 <h4> |
|
77 <a name="method_contains">contains</a></h4> |
|
78 <div class="detail" > |
|
79 <code> |
|
80 |
|
81 static |
|
82 |
|
83 void |
|
84 <strong property="yui:name">contains</strong> |
|
85 ( |
|
86 |
|
87 |
|
88 needle |
|
89 |
|
90 |
|
91 , |
|
92 haystack |
|
93 |
|
94 |
|
95 , |
|
96 message |
|
97 |
|
98 |
|
99 ) |
|
100 </code> |
|
101 |
|
102 <div class="description" property="yui:description"> |
|
103 Asserts that a value is present in an array. This uses the triple equals |
|
104 sign so no type cohersion may occur. |
|
105 </div> |
|
106 |
|
107 <div class="description"> |
|
108 |
|
109 <dl rel="yui:parameters"> |
|
110 <dt>Parameters:</dt> |
|
111 <dd rel="yui:parameter"> |
|
112 <code><span property="yui:name">needle</span> |
|
113 <<span property="yui:type">Object</span>> |
|
114 </code> |
|
115 <span property="yui:description"> The value that is expected in the array.</span> |
|
116 </dd> |
|
117 <dd rel="yui:parameter"> |
|
118 <code><span property="yui:name">haystack</span> |
|
119 <<span property="yui:type">Array</span>> |
|
120 </code> |
|
121 <span property="yui:description"> An array of values.</span> |
|
122 </dd> |
|
123 <dd rel="yui:parameter"> |
|
124 <code><span property="yui:name">message</span> |
|
125 <<span property="yui:type">String</span>> |
|
126 </code> |
|
127 <span property="yui:description"> (Optional) The message to display if the assertion fails.</span> |
|
128 </dd> |
|
129 </dl> |
|
130 |
|
131 <dl> |
|
132 <dt>Returns: |
|
133 <code property="yui:return"> |
|
134 void |
|
135 </code></dt> |
|
136 <dd property="yui:returnInfo"></dd> |
|
137 </dl> |
|
138 |
|
139 |
|
140 |
|
141 |
|
142 </div> |
|
143 |
|
144 </div> |
|
145 <hr /> |
|
146 </div> |
|
147 <div class="" rel="yui:method" resource="#method_containsItems"> |
|
148 <h4> |
|
149 <a name="method_containsItems">containsItems</a></h4> |
|
150 <div class="detail" > |
|
151 <code> |
|
152 |
|
153 static |
|
154 |
|
155 void |
|
156 <strong property="yui:name">containsItems</strong> |
|
157 ( |
|
158 |
|
159 |
|
160 needles |
|
161 |
|
162 |
|
163 , |
|
164 haystack |
|
165 |
|
166 |
|
167 , |
|
168 message |
|
169 |
|
170 |
|
171 ) |
|
172 </code> |
|
173 |
|
174 <div class="description" property="yui:description"> |
|
175 Asserts that a set of values are present in an array. This uses the triple equals |
|
176 sign so no type cohersion may occur. For this assertion to pass, all values must |
|
177 be found. |
|
178 </div> |
|
179 |
|
180 <div class="description"> |
|
181 |
|
182 <dl rel="yui:parameters"> |
|
183 <dt>Parameters:</dt> |
|
184 <dd rel="yui:parameter"> |
|
185 <code><span property="yui:name">needles</span> |
|
186 <<span property="yui:type">Object[]</span>> |
|
187 </code> |
|
188 <span property="yui:description"> An array of values that are expected in the array.</span> |
|
189 </dd> |
|
190 <dd rel="yui:parameter"> |
|
191 <code><span property="yui:name">haystack</span> |
|
192 <<span property="yui:type">Array</span>> |
|
193 </code> |
|
194 <span property="yui:description"> An array of values to check.</span> |
|
195 </dd> |
|
196 <dd rel="yui:parameter"> |
|
197 <code><span property="yui:name">message</span> |
|
198 <<span property="yui:type">String</span>> |
|
199 </code> |
|
200 <span property="yui:description"> (Optional) The message to display if the assertion fails.</span> |
|
201 </dd> |
|
202 </dl> |
|
203 |
|
204 <dl> |
|
205 <dt>Returns: |
|
206 <code property="yui:return"> |
|
207 void |
|
208 </code></dt> |
|
209 <dd property="yui:returnInfo"></dd> |
|
210 </dl> |
|
211 |
|
212 |
|
213 |
|
214 |
|
215 </div> |
|
216 |
|
217 </div> |
|
218 <hr /> |
|
219 </div> |
|
220 <div class="" rel="yui:method" resource="#method_containsMatch"> |
|
221 <h4> |
|
222 <a name="method_containsMatch">containsMatch</a></h4> |
|
223 <div class="detail" > |
|
224 <code> |
|
225 |
|
226 static |
|
227 |
|
228 void |
|
229 <strong property="yui:name">containsMatch</strong> |
|
230 ( |
|
231 |
|
232 |
|
233 matcher |
|
234 |
|
235 |
|
236 , |
|
237 haystack |
|
238 |
|
239 |
|
240 , |
|
241 message |
|
242 |
|
243 |
|
244 ) |
|
245 </code> |
|
246 |
|
247 <div class="description" property="yui:description"> |
|
248 Asserts that a value matching some condition is present in an array. This uses |
|
249 a function to determine a match. |
|
250 </div> |
|
251 |
|
252 <div class="description"> |
|
253 |
|
254 <dl rel="yui:parameters"> |
|
255 <dt>Parameters:</dt> |
|
256 <dd rel="yui:parameter"> |
|
257 <code><span property="yui:name">matcher</span> |
|
258 <<span property="yui:type">Function</span>> |
|
259 </code> |
|
260 <span property="yui:description"> A function that returns true if the items matches or false if not.</span> |
|
261 </dd> |
|
262 <dd rel="yui:parameter"> |
|
263 <code><span property="yui:name">haystack</span> |
|
264 <<span property="yui:type">Array</span>> |
|
265 </code> |
|
266 <span property="yui:description"> An array of values.</span> |
|
267 </dd> |
|
268 <dd rel="yui:parameter"> |
|
269 <code><span property="yui:name">message</span> |
|
270 <<span property="yui:type">String</span>> |
|
271 </code> |
|
272 <span property="yui:description"> (Optional) The message to display if the assertion fails.</span> |
|
273 </dd> |
|
274 </dl> |
|
275 |
|
276 <dl> |
|
277 <dt>Returns: |
|
278 <code property="yui:return"> |
|
279 void |
|
280 </code></dt> |
|
281 <dd property="yui:returnInfo"></dd> |
|
282 </dl> |
|
283 |
|
284 |
|
285 |
|
286 |
|
287 </div> |
|
288 |
|
289 </div> |
|
290 <hr /> |
|
291 </div> |
|
292 <div class="" rel="yui:method" resource="#method_doesNotContain"> |
|
293 <h4> |
|
294 <a name="method_doesNotContain">doesNotContain</a></h4> |
|
295 <div class="detail" > |
|
296 <code> |
|
297 |
|
298 static |
|
299 |
|
300 void |
|
301 <strong property="yui:name">doesNotContain</strong> |
|
302 ( |
|
303 |
|
304 |
|
305 needle |
|
306 |
|
307 |
|
308 , |
|
309 haystack |
|
310 |
|
311 |
|
312 , |
|
313 message |
|
314 |
|
315 |
|
316 ) |
|
317 </code> |
|
318 |
|
319 <div class="description" property="yui:description"> |
|
320 Asserts that a value is not present in an array. This uses the triple equals |
|
321 Asserts that a value is not present in an array. This uses the triple equals |
|
322 sign so no type cohersion may occur. |
|
323 </div> |
|
324 |
|
325 <div class="description"> |
|
326 |
|
327 <dl rel="yui:parameters"> |
|
328 <dt>Parameters:</dt> |
|
329 <dd rel="yui:parameter"> |
|
330 <code><span property="yui:name">needle</span> |
|
331 <<span property="yui:type">Object</span>> |
|
332 </code> |
|
333 <span property="yui:description"> The value that is expected in the array.</span> |
|
334 </dd> |
|
335 <dd rel="yui:parameter"> |
|
336 <code><span property="yui:name">haystack</span> |
|
337 <<span property="yui:type">Array</span>> |
|
338 </code> |
|
339 <span property="yui:description"> An array of values.</span> |
|
340 </dd> |
|
341 <dd rel="yui:parameter"> |
|
342 <code><span property="yui:name">message</span> |
|
343 <<span property="yui:type">String</span>> |
|
344 </code> |
|
345 <span property="yui:description"> (Optional) The message to display if the assertion fails.</span> |
|
346 </dd> |
|
347 </dl> |
|
348 |
|
349 <dl> |
|
350 <dt>Returns: |
|
351 <code property="yui:return"> |
|
352 void |
|
353 </code></dt> |
|
354 <dd property="yui:returnInfo"></dd> |
|
355 </dl> |
|
356 |
|
357 |
|
358 |
|
359 |
|
360 </div> |
|
361 |
|
362 </div> |
|
363 <hr /> |
|
364 </div> |
|
365 <div class="" rel="yui:method" resource="#method_doesNotContainItems"> |
|
366 <h4> |
|
367 <a name="method_doesNotContainItems">doesNotContainItems</a></h4> |
|
368 <div class="detail" > |
|
369 <code> |
|
370 |
|
371 static |
|
372 |
|
373 void |
|
374 <strong property="yui:name">doesNotContainItems</strong> |
|
375 ( |
|
376 |
|
377 |
|
378 needles |
|
379 |
|
380 |
|
381 , |
|
382 haystack |
|
383 |
|
384 |
|
385 , |
|
386 message |
|
387 |
|
388 |
|
389 ) |
|
390 </code> |
|
391 |
|
392 <div class="description" property="yui:description"> |
|
393 Asserts that a set of values are not present in an array. This uses the triple equals |
|
394 sign so no type cohersion may occur. For this assertion to pass, all values must |
|
395 not be found. |
|
396 </div> |
|
397 |
|
398 <div class="description"> |
|
399 |
|
400 <dl rel="yui:parameters"> |
|
401 <dt>Parameters:</dt> |
|
402 <dd rel="yui:parameter"> |
|
403 <code><span property="yui:name">needles</span> |
|
404 <<span property="yui:type">Object[]</span>> |
|
405 </code> |
|
406 <span property="yui:description"> An array of values that are not expected in the array.</span> |
|
407 </dd> |
|
408 <dd rel="yui:parameter"> |
|
409 <code><span property="yui:name">haystack</span> |
|
410 <<span property="yui:type">Array</span>> |
|
411 </code> |
|
412 <span property="yui:description"> An array of values to check.</span> |
|
413 </dd> |
|
414 <dd rel="yui:parameter"> |
|
415 <code><span property="yui:name">message</span> |
|
416 <<span property="yui:type">String</span>> |
|
417 </code> |
|
418 <span property="yui:description"> (Optional) The message to display if the assertion fails.</span> |
|
419 </dd> |
|
420 </dl> |
|
421 |
|
422 <dl> |
|
423 <dt>Returns: |
|
424 <code property="yui:return"> |
|
425 void |
|
426 </code></dt> |
|
427 <dd property="yui:returnInfo"></dd> |
|
428 </dl> |
|
429 |
|
430 |
|
431 |
|
432 |
|
433 </div> |
|
434 |
|
435 </div> |
|
436 <hr /> |
|
437 </div> |
|
438 <div class="" rel="yui:method" resource="#method_doesNotContainMatch"> |
|
439 <h4> |
|
440 <a name="method_doesNotContainMatch">doesNotContainMatch</a></h4> |
|
441 <div class="detail" > |
|
442 <code> |
|
443 |
|
444 static |
|
445 |
|
446 void |
|
447 <strong property="yui:name">doesNotContainMatch</strong> |
|
448 ( |
|
449 |
|
450 |
|
451 matcher |
|
452 |
|
453 |
|
454 , |
|
455 haystack |
|
456 |
|
457 |
|
458 , |
|
459 message |
|
460 |
|
461 |
|
462 ) |
|
463 </code> |
|
464 |
|
465 <div class="description" property="yui:description"> |
|
466 Asserts that no values matching a condition are present in an array. This uses |
|
467 a function to determine a match. |
|
468 </div> |
|
469 |
|
470 <div class="description"> |
|
471 |
|
472 <dl rel="yui:parameters"> |
|
473 <dt>Parameters:</dt> |
|
474 <dd rel="yui:parameter"> |
|
475 <code><span property="yui:name">matcher</span> |
|
476 <<span property="yui:type">Function</span>> |
|
477 </code> |
|
478 <span property="yui:description"> A function that returns true if the items matches or false if not.</span> |
|
479 </dd> |
|
480 <dd rel="yui:parameter"> |
|
481 <code><span property="yui:name">haystack</span> |
|
482 <<span property="yui:type">Array</span>> |
|
483 </code> |
|
484 <span property="yui:description"> An array of values.</span> |
|
485 </dd> |
|
486 <dd rel="yui:parameter"> |
|
487 <code><span property="yui:name">message</span> |
|
488 <<span property="yui:type">String</span>> |
|
489 </code> |
|
490 <span property="yui:description"> (Optional) The message to display if the assertion fails.</span> |
|
491 </dd> |
|
492 </dl> |
|
493 |
|
494 <dl> |
|
495 <dt>Returns: |
|
496 <code property="yui:return"> |
|
497 void |
|
498 </code></dt> |
|
499 <dd property="yui:returnInfo"></dd> |
|
500 </dl> |
|
501 |
|
502 |
|
503 |
|
504 |
|
505 </div> |
|
506 |
|
507 </div> |
|
508 <hr /> |
|
509 </div> |
|
510 <div class="" rel="yui:method" resource="#method_indexOf"> |
|
511 <h4> |
|
512 <a name="method_indexOf">indexOf</a></h4> |
|
513 <div class="detail" > |
|
514 <code> |
|
515 |
|
516 static |
|
517 |
|
518 void |
|
519 <strong property="yui:name">indexOf</strong> |
|
520 ( |
|
521 |
|
522 |
|
523 needle |
|
524 |
|
525 |
|
526 , |
|
527 haystack |
|
528 |
|
529 |
|
530 , |
|
531 index |
|
532 |
|
533 |
|
534 , |
|
535 message |
|
536 |
|
537 |
|
538 ) |
|
539 </code> |
|
540 |
|
541 <div class="description" property="yui:description"> |
|
542 Asserts that the given value is contained in an array at the specified index. |
|
543 This uses the triple equals sign so no type cohersion will occur. |
|
544 </div> |
|
545 |
|
546 <div class="description"> |
|
547 |
|
548 <dl rel="yui:parameters"> |
|
549 <dt>Parameters:</dt> |
|
550 <dd rel="yui:parameter"> |
|
551 <code><span property="yui:name">needle</span> |
|
552 <<span property="yui:type">Object</span>> |
|
553 </code> |
|
554 <span property="yui:description"> The value to look for.</span> |
|
555 </dd> |
|
556 <dd rel="yui:parameter"> |
|
557 <code><span property="yui:name">haystack</span> |
|
558 <<span property="yui:type">Array</span>> |
|
559 </code> |
|
560 <span property="yui:description"> The array to search in.</span> |
|
561 </dd> |
|
562 <dd rel="yui:parameter"> |
|
563 <code><span property="yui:name">index</span> |
|
564 <<span property="yui:type">int</span>> |
|
565 </code> |
|
566 <span property="yui:description"> The index at which the value should exist.</span> |
|
567 </dd> |
|
568 <dd rel="yui:parameter"> |
|
569 <code><span property="yui:name">message</span> |
|
570 <<span property="yui:type">String</span>> |
|
571 </code> |
|
572 <span property="yui:description"> (Optional) The message to display if the assertion fails.</span> |
|
573 </dd> |
|
574 </dl> |
|
575 |
|
576 <dl> |
|
577 <dt>Returns: |
|
578 <code property="yui:return"> |
|
579 void |
|
580 </code></dt> |
|
581 <dd property="yui:returnInfo"></dd> |
|
582 </dl> |
|
583 |
|
584 |
|
585 |
|
586 |
|
587 </div> |
|
588 |
|
589 </div> |
|
590 <hr /> |
|
591 </div> |
|
592 <div class="" rel="yui:method" resource="#method_isEmpty"> |
|
593 <h4> |
|
594 <a name="method_isEmpty">isEmpty</a></h4> |
|
595 <div class="detail" > |
|
596 <code> |
|
597 |
|
598 static |
|
599 |
|
600 void |
|
601 <strong property="yui:name">isEmpty</strong> |
|
602 ( |
|
603 |
|
604 |
|
605 actual |
|
606 |
|
607 |
|
608 , |
|
609 message |
|
610 |
|
611 |
|
612 ) |
|
613 </code> |
|
614 |
|
615 <div class="description" property="yui:description"> |
|
616 Asserts that an array is empty. |
|
617 </div> |
|
618 |
|
619 <div class="description"> |
|
620 |
|
621 <dl rel="yui:parameters"> |
|
622 <dt>Parameters:</dt> |
|
623 <dd rel="yui:parameter"> |
|
624 <code><span property="yui:name">actual</span> |
|
625 <<span property="yui:type">Array</span>> |
|
626 </code> |
|
627 <span property="yui:description"> The array to test.</span> |
|
628 </dd> |
|
629 <dd rel="yui:parameter"> |
|
630 <code><span property="yui:name">message</span> |
|
631 <<span property="yui:type">String</span>> |
|
632 </code> |
|
633 <span property="yui:description"> (Optional) The message to display if the assertion fails.</span> |
|
634 </dd> |
|
635 </dl> |
|
636 |
|
637 <dl> |
|
638 <dt>Returns: |
|
639 <code property="yui:return"> |
|
640 void |
|
641 </code></dt> |
|
642 <dd property="yui:returnInfo"></dd> |
|
643 </dl> |
|
644 |
|
645 |
|
646 |
|
647 |
|
648 </div> |
|
649 |
|
650 </div> |
|
651 <hr /> |
|
652 </div> |
|
653 <div class="" rel="yui:method" resource="#method_isNotEmpty"> |
|
654 <h4> |
|
655 <a name="method_isNotEmpty">isNotEmpty</a></h4> |
|
656 <div class="detail" > |
|
657 <code> |
|
658 |
|
659 static |
|
660 |
|
661 void |
|
662 <strong property="yui:name">isNotEmpty</strong> |
|
663 ( |
|
664 |
|
665 |
|
666 actual |
|
667 |
|
668 |
|
669 , |
|
670 message |
|
671 |
|
672 |
|
673 ) |
|
674 </code> |
|
675 |
|
676 <div class="description" property="yui:description"> |
|
677 Asserts that an array is not empty. |
|
678 </div> |
|
679 |
|
680 <div class="description"> |
|
681 |
|
682 <dl rel="yui:parameters"> |
|
683 <dt>Parameters:</dt> |
|
684 <dd rel="yui:parameter"> |
|
685 <code><span property="yui:name">actual</span> |
|
686 <<span property="yui:type">Array</span>> |
|
687 </code> |
|
688 <span property="yui:description"> The array to test.</span> |
|
689 </dd> |
|
690 <dd rel="yui:parameter"> |
|
691 <code><span property="yui:name">message</span> |
|
692 <<span property="yui:type">String</span>> |
|
693 </code> |
|
694 <span property="yui:description"> (Optional) The message to display if the assertion fails.</span> |
|
695 </dd> |
|
696 </dl> |
|
697 |
|
698 <dl> |
|
699 <dt>Returns: |
|
700 <code property="yui:return"> |
|
701 void |
|
702 </code></dt> |
|
703 <dd property="yui:returnInfo"></dd> |
|
704 </dl> |
|
705 |
|
706 |
|
707 |
|
708 |
|
709 </div> |
|
710 |
|
711 </div> |
|
712 <hr /> |
|
713 </div> |
|
714 <div class="" rel="yui:method" resource="#method_itemsAreEqual"> |
|
715 <h4> |
|
716 <a name="method_itemsAreEqual">itemsAreEqual</a></h4> |
|
717 <div class="detail" > |
|
718 <code> |
|
719 |
|
720 static |
|
721 |
|
722 void |
|
723 <strong property="yui:name">itemsAreEqual</strong> |
|
724 ( |
|
725 |
|
726 |
|
727 expected |
|
728 |
|
729 |
|
730 , |
|
731 actual |
|
732 |
|
733 |
|
734 , |
|
735 message |
|
736 |
|
737 |
|
738 ) |
|
739 </code> |
|
740 |
|
741 <div class="description" property="yui:description"> |
|
742 Asserts that the values in an array are equal, and in the same position, |
|
743 as values in another array. This uses the double equals sign |
|
744 so type cohersion may occur. Note that the array objects themselves |
|
745 need not be the same for this test to pass. |
|
746 </div> |
|
747 |
|
748 <div class="description"> |
|
749 |
|
750 <dl rel="yui:parameters"> |
|
751 <dt>Parameters:</dt> |
|
752 <dd rel="yui:parameter"> |
|
753 <code><span property="yui:name">expected</span> |
|
754 <<span property="yui:type">Array</span>> |
|
755 </code> |
|
756 <span property="yui:description"> An array of the expected values.</span> |
|
757 </dd> |
|
758 <dd rel="yui:parameter"> |
|
759 <code><span property="yui:name">actual</span> |
|
760 <<span property="yui:type">Array</span>> |
|
761 </code> |
|
762 <span property="yui:description"> Any array of the actual values.</span> |
|
763 </dd> |
|
764 <dd rel="yui:parameter"> |
|
765 <code><span property="yui:name">message</span> |
|
766 <<span property="yui:type">String</span>> |
|
767 </code> |
|
768 <span property="yui:description"> (Optional) The message to display if the assertion fails.</span> |
|
769 </dd> |
|
770 </dl> |
|
771 |
|
772 <dl> |
|
773 <dt>Returns: |
|
774 <code property="yui:return"> |
|
775 void |
|
776 </code></dt> |
|
777 <dd property="yui:returnInfo"></dd> |
|
778 </dl> |
|
779 |
|
780 |
|
781 |
|
782 |
|
783 </div> |
|
784 |
|
785 </div> |
|
786 <hr /> |
|
787 </div> |
|
788 <div class="" rel="yui:method" resource="#method_itemsAreEquivalent"> |
|
789 <h4> |
|
790 <a name="method_itemsAreEquivalent">itemsAreEquivalent</a></h4> |
|
791 <div class="detail" > |
|
792 <code> |
|
793 |
|
794 static |
|
795 |
|
796 Void |
|
797 <strong property="yui:name">itemsAreEquivalent</strong> |
|
798 ( |
|
799 |
|
800 |
|
801 expected |
|
802 |
|
803 |
|
804 , |
|
805 actual |
|
806 |
|
807 |
|
808 , |
|
809 comparator |
|
810 |
|
811 |
|
812 , |
|
813 message |
|
814 |
|
815 |
|
816 ) |
|
817 </code> |
|
818 |
|
819 <div class="description" property="yui:description"> |
|
820 Asserts that the values in an array are equivalent, and in the same position, |
|
821 as values in another array. This uses a function to determine if the values |
|
822 are equivalent. Note that the array objects themselves |
|
823 need not be the same for this test to pass. |
|
824 </div> |
|
825 |
|
826 <div class="description"> |
|
827 |
|
828 <dl rel="yui:parameters"> |
|
829 <dt>Parameters:</dt> |
|
830 <dd rel="yui:parameter"> |
|
831 <code><span property="yui:name">expected</span> |
|
832 <<span property="yui:type">Array</span>> |
|
833 </code> |
|
834 <span property="yui:description"> An array of the expected values.</span> |
|
835 </dd> |
|
836 <dd rel="yui:parameter"> |
|
837 <code><span property="yui:name">actual</span> |
|
838 <<span property="yui:type">Array</span>> |
|
839 </code> |
|
840 <span property="yui:description"> Any array of the actual values.</span> |
|
841 </dd> |
|
842 <dd rel="yui:parameter"> |
|
843 <code><span property="yui:name">comparator</span> |
|
844 <<span property="yui:type">Function</span>> |
|
845 </code> |
|
846 <span property="yui:description"> A function that returns true if the values are equivalent |
|
847 or false if not.</span> |
|
848 </dd> |
|
849 <dd rel="yui:parameter"> |
|
850 <code><span property="yui:name">message</span> |
|
851 <<span property="yui:type">String</span>> |
|
852 </code> |
|
853 <span property="yui:description"> (Optional) The message to display if the assertion fails.</span> |
|
854 </dd> |
|
855 </dl> |
|
856 |
|
857 <dl> |
|
858 <dt>Returns: |
|
859 <code property="yui:return"> |
|
860 Void |
|
861 </code></dt> |
|
862 <dd property="yui:returnInfo"></dd> |
|
863 </dl> |
|
864 |
|
865 |
|
866 |
|
867 |
|
868 </div> |
|
869 |
|
870 </div> |
|
871 <hr /> |
|
872 </div> |
|
873 <div class="" rel="yui:method" resource="#method_itemsAreSame"> |
|
874 <h4> |
|
875 <a name="method_itemsAreSame">itemsAreSame</a></h4> |
|
876 <div class="detail" > |
|
877 <code> |
|
878 |
|
879 static |
|
880 |
|
881 void |
|
882 <strong property="yui:name">itemsAreSame</strong> |
|
883 ( |
|
884 |
|
885 |
|
886 expected |
|
887 |
|
888 |
|
889 , |
|
890 actual |
|
891 |
|
892 |
|
893 , |
|
894 message |
|
895 |
|
896 |
|
897 ) |
|
898 </code> |
|
899 |
|
900 <div class="description" property="yui:description"> |
|
901 Asserts that the values in an array are the same, and in the same position, |
|
902 as values in another array. This uses the triple equals sign |
|
903 so no type cohersion will occur. Note that the array objects themselves |
|
904 need not be the same for this test to pass. |
|
905 </div> |
|
906 |
|
907 <div class="description"> |
|
908 |
|
909 <dl rel="yui:parameters"> |
|
910 <dt>Parameters:</dt> |
|
911 <dd rel="yui:parameter"> |
|
912 <code><span property="yui:name">expected</span> |
|
913 <<span property="yui:type">Array</span>> |
|
914 </code> |
|
915 <span property="yui:description"> An array of the expected values.</span> |
|
916 </dd> |
|
917 <dd rel="yui:parameter"> |
|
918 <code><span property="yui:name">actual</span> |
|
919 <<span property="yui:type">Array</span>> |
|
920 </code> |
|
921 <span property="yui:description"> Any array of the actual values.</span> |
|
922 </dd> |
|
923 <dd rel="yui:parameter"> |
|
924 <code><span property="yui:name">message</span> |
|
925 <<span property="yui:type">String</span>> |
|
926 </code> |
|
927 <span property="yui:description"> (Optional) The message to display if the assertion fails.</span> |
|
928 </dd> |
|
929 </dl> |
|
930 |
|
931 <dl> |
|
932 <dt>Returns: |
|
933 <code property="yui:return"> |
|
934 void |
|
935 </code></dt> |
|
936 <dd property="yui:returnInfo"></dd> |
|
937 </dl> |
|
938 |
|
939 |
|
940 |
|
941 |
|
942 </div> |
|
943 |
|
944 </div> |
|
945 <hr /> |
|
946 </div> |
|
947 <div class="" rel="yui:method" resource="#method_lastIndexOf"> |
|
948 <h4> |
|
949 <a name="method_lastIndexOf">lastIndexOf</a></h4> |
|
950 <div class="detail" > |
|
951 <code> |
|
952 |
|
953 static |
|
954 |
|
955 void |
|
956 <strong property="yui:name">lastIndexOf</strong> |
|
957 ( |
|
958 |
|
959 |
|
960 needle |
|
961 |
|
962 |
|
963 , |
|
964 haystack |
|
965 |
|
966 |
|
967 , |
|
968 index |
|
969 |
|
970 |
|
971 , |
|
972 message |
|
973 |
|
974 |
|
975 ) |
|
976 </code> |
|
977 |
|
978 <div class="description" property="yui:description"> |
|
979 Asserts that the given value is contained in an array at the specified index, |
|
980 starting from the back of the array. |
|
981 This uses the triple equals sign so no type cohersion will occur. |
|
982 </div> |
|
983 |
|
984 <div class="description"> |
|
985 |
|
986 <dl rel="yui:parameters"> |
|
987 <dt>Parameters:</dt> |
|
988 <dd rel="yui:parameter"> |
|
989 <code><span property="yui:name">needle</span> |
|
990 <<span property="yui:type">Object</span>> |
|
991 </code> |
|
992 <span property="yui:description"> The value to look for.</span> |
|
993 </dd> |
|
994 <dd rel="yui:parameter"> |
|
995 <code><span property="yui:name">haystack</span> |
|
996 <<span property="yui:type">Array</span>> |
|
997 </code> |
|
998 <span property="yui:description"> The array to search in.</span> |
|
999 </dd> |
|
1000 <dd rel="yui:parameter"> |
|
1001 <code><span property="yui:name">index</span> |
|
1002 <<span property="yui:type">int</span>> |
|
1003 </code> |
|
1004 <span property="yui:description"> The index at which the value should exist.</span> |
|
1005 </dd> |
|
1006 <dd rel="yui:parameter"> |
|
1007 <code><span property="yui:name">message</span> |
|
1008 <<span property="yui:type">String</span>> |
|
1009 </code> |
|
1010 <span property="yui:description"> (Optional) The message to display if the assertion fails.</span> |
|
1011 </dd> |
|
1012 </dl> |
|
1013 |
|
1014 <dl> |
|
1015 <dt>Returns: |
|
1016 <code property="yui:return"> |
|
1017 void |
|
1018 </code></dt> |
|
1019 <dd property="yui:returnInfo"></dd> |
|
1020 </dl> |
|
1021 |
|
1022 |
|
1023 |
|
1024 |
|
1025 </div> |
|
1026 |
|
1027 </div> |
|
1028 <hr /> |
|
1029 </div> |
|
1030 </div> |
|
1031 </div> |
|
1032 |
|
1033 </div> |
|
1034 |
|
1035 <div rel="yui:events" resource="#events"> |
|
1036 |
|
1037 |
|
1038 </div> |
|
1039 |
|
1040 <div rel="yui:attributes" resource="#configattributes"> |
|
1041 |
|
1042 </div> |
|
1043 |
|
1044 </div> |
|
1045 </div> |
|
1046 <div class="yui-b"> |
|
1047 <div class="nav"> |
|
1048 |
|
1049 <div id="moduleList" class="module"> |
|
1050 <h4>Modules</h4> |
|
1051 <ul class="content"> |
|
1052 <li class=""><a href="module_anim.html" title="anim">anim</a></li> |
|
1053 <li class=""><a href="module_attribute.html" title="attribute">attribute</a></li> |
|
1054 <li class=""><a href="module_base.html" title="base">base</a></li> |
|
1055 <li class=""><a href="module_cache.html" title="cache">cache</a></li> |
|
1056 <li class=""><a href="module_classnamemanager.html" title="classnamemanager">classnamemanager</a></li> |
|
1057 <li class=""><a href="module_collection.html" title="collection">collection</a></li> |
|
1058 <li class=""><a href="module_console.html" title="console">console</a></li> |
|
1059 <li class=""><a href="module_console-filters.html" title="console-filters">console-filters</a></li> |
|
1060 <li class=""><a href="module_cookie.html" title="cookie">cookie</a></li> |
|
1061 <li class=""><a href="module_dataschema.html" title="dataschema">dataschema</a></li> |
|
1062 <li class=""><a href="module_datasource.html" title="datasource">datasource</a></li> |
|
1063 <li class=""><a href="module_datatype.html" title="datatype">datatype</a></li> |
|
1064 <li class=""><a href="module_dd.html" title="dd">dd</a></li> |
|
1065 <li class=""><a href="module_dom.html" title="dom">dom</a></li> |
|
1066 <li class=""><a href="module_dump.html" title="dump">dump</a></li> |
|
1067 <li class=""><a href="module_event.html" title="event">event</a></li> |
|
1068 <li class=""><a href="module_event-custom.html" title="event-custom">event-custom</a></li> |
|
1069 <li class=""><a href="module_event-simulate.html" title="event-simulate">event-simulate</a></li> |
|
1070 <li class=""><a href="module_history.html" title="history">history</a></li> |
|
1071 <li class=""><a href="module_imageloader.html" title="imageloader">imageloader</a></li> |
|
1072 <li class=""><a href="module_io.html" title="io">io</a></li> |
|
1073 <li class=""><a href="module_json.html" title="json">json</a></li> |
|
1074 <li class=""><a href="module_node.html" title="node">node</a></li> |
|
1075 <li class=""><a href="module_node-focusmanager.html" title="node-focusmanager">node-focusmanager</a></li> |
|
1076 <li class=""><a href="module_node-menunav.html" title="node-menunav">node-menunav</a></li> |
|
1077 <li class=""><a href="module_oop.html" title="oop">oop</a></li> |
|
1078 <li class=""><a href="module_overlay.html" title="overlay">overlay</a></li> |
|
1079 <li class=""><a href="module_plugin.html" title="plugin">plugin</a></li> |
|
1080 <li class=""><a href="module_profiler.html" title="profiler">profiler</a></li> |
|
1081 <li class=""><a href="module_queue.html" title="queue">queue</a></li> |
|
1082 <li class=""><a href="module_slider.html" title="slider">slider</a></li> |
|
1083 <li class=""><a href="module_stylesheet.html" title="stylesheet">stylesheet</a></li> |
|
1084 <li class=""><a href="module_substitute.html" title="substitute">substitute</a></li> |
|
1085 <li class="selected"><a href="module_test.html" title="test">test</a></li> |
|
1086 <li class=""><a href="module_widget.html" title="widget">widget</a></li> |
|
1087 <li class=""><a href="module_widget-position.html" title="widget-position">widget-position</a></li> |
|
1088 <li class=""><a href="module_widget-position-ext.html" title="widget-position-ext">widget-position-ext</a></li> |
|
1089 <li class=""><a href="module_widget-stack.html" title="widget-stack">widget-stack</a></li> |
|
1090 <li class=""><a href="module_widget-stdmod.html" title="widget-stdmod">widget-stdmod</a></li> |
|
1091 <li class=""><a href="module_yui.html" title="yui">yui</a></li> |
|
1092 </ul> |
|
1093 </div> |
|
1094 |
|
1095 <div id="classList" class="module"> |
|
1096 <h4>Classes</h4> |
|
1097 <ul class="content"> |
|
1098 <li class=""><a href="Assert.html" title="Assert">Assert</a></li> |
|
1099 <li class=""><a href="Assert.ComparisonFailure.html" title="Assert.ComparisonFailure">Assert.ComparisonFailure</a></li> |
|
1100 <li class=""><a href="Assert.Error.html" title="Assert.Error">Assert.Error</a></li> |
|
1101 <li class=""><a href="Assert.ObjectAssert.html" title="Assert.ObjectAssert">Assert.ObjectAssert</a></li> |
|
1102 <li class=""><a href="Assert.ShouldError.html" title="Assert.ShouldError">Assert.ShouldError</a></li> |
|
1103 <li class=""><a href="Assert.ShouldFail.html" title="Assert.ShouldFail">Assert.ShouldFail</a></li> |
|
1104 <li class=""><a href="Assert.UnexpectedError.html" title="Assert.UnexpectedError">Assert.UnexpectedError</a></li> |
|
1105 <li class=""><a href="Assert.UnexpectedValue.html" title="Assert.UnexpectedValue">Assert.UnexpectedValue</a></li> |
|
1106 <li class="selected"><a href="Test.ArrayAssert.html" title="Test.ArrayAssert">Test.ArrayAssert</a></li> |
|
1107 <li class=""><a href="Test.Case.html" title="Test.Case">Test.Case</a></li> |
|
1108 <li class=""><a href="Test.DateAssert.html" title="Test.DateAssert">Test.DateAssert</a></li> |
|
1109 <li class=""><a href="Test.Format.Mock.html" title="Test.Format.Mock">Test.Format.Mock</a></li> |
|
1110 <li class=""><a href="Test.Manager.html" title="Test.Manager">Test.Manager</a></li> |
|
1111 <li class=""><a href="Test.Reporter.html" title="Test.Reporter">Test.Reporter</a></li> |
|
1112 <li class=""><a href="Test.Runner.html" title="Test.Runner">Test.Runner</a></li> |
|
1113 <li class=""><a href="Test.Suite.html" title="Test.Suite">Test.Suite</a></li> |
|
1114 <li class=""><a href="Test.TestNode.html" title="Test.TestNode">Test.TestNode</a></li> |
|
1115 <li class=""><a href="Test.Wait.html" title="Test.Wait">Test.Wait</a></li> |
|
1116 </ul> |
|
1117 </div> |
|
1118 |
|
1119 <div id="fileList" class="module"> |
|
1120 <h4>Files</h4> |
|
1121 <ul class="content"> |
|
1122 <li class=""><a href="ArrayAssert.js.html" title="ArrayAssert.js">ArrayAssert.js</a></li> |
|
1123 <li class=""><a href="Assert.js.html" title="Assert.js">Assert.js</a></li> |
|
1124 <li class=""><a href="DateAssert.js.html" title="DateAssert.js">DateAssert.js</a></li> |
|
1125 <li class=""><a href="Mock.js.html" title="Mock.js">Mock.js</a></li> |
|
1126 <li class=""><a href="ObjectAssert.js.html" title="ObjectAssert.js">ObjectAssert.js</a></li> |
|
1127 <li class=""><a href="TestCase.js.html" title="TestCase.js">TestCase.js</a></li> |
|
1128 <li class=""><a href="TestFormat.js.html" title="TestFormat.js">TestFormat.js</a></li> |
|
1129 <li class=""><a href="TestManager.js.html" title="TestManager.js">TestManager.js</a></li> |
|
1130 <li class=""><a href="TestReporter.js.html" title="TestReporter.js">TestReporter.js</a></li> |
|
1131 <li class=""><a href="TestRunner.js.html" title="TestRunner.js">TestRunner.js</a></li> |
|
1132 <li class=""><a href="TestSuite.js.html" title="TestSuite.js">TestSuite.js</a></li> |
|
1133 </ul> |
|
1134 </div> |
|
1135 |
|
1136 |
|
1137 <div id="methodsList" class="module"> |
|
1138 <h4>Methods</h4> |
|
1139 <ul class="content"> |
|
1140 <li class=""><a href="#method_contains" title="contains">contains</a></li> |
|
1141 <li class=""><a href="#method_containsItems" title="containsItems">containsItems</a></li> |
|
1142 <li class=""><a href="#method_containsMatch" title="containsMatch">containsMatch</a></li> |
|
1143 <li class=""><a href="#method_doesNotContain" title="doesNotContain">doesNotContain</a></li> |
|
1144 <li class=""><a href="#method_doesNotContainItems" title="doesNotContainItems">doesNotContainItems</a></li> |
|
1145 <li class=""><a href="#method_doesNotContainMatch" title="doesNotContainMatch">doesNotContainMatch</a></li> |
|
1146 <li class=""><a href="#method_indexOf" title="indexOf">indexOf</a></li> |
|
1147 <li class=""><a href="#method_isEmpty" title="isEmpty">isEmpty</a></li> |
|
1148 <li class=""><a href="#method_isNotEmpty" title="isNotEmpty">isNotEmpty</a></li> |
|
1149 <li class=""><a href="#method_itemsAreEqual" title="itemsAreEqual">itemsAreEqual</a></li> |
|
1150 <li class=""><a href="#method_itemsAreEquivalent" title="itemsAreEquivalent">itemsAreEquivalent</a></li> |
|
1151 <li class=""><a href="#method_itemsAreSame" title="itemsAreSame">itemsAreSame</a></li> |
|
1152 <li class=""><a href="#method_lastIndexOf" title="lastIndexOf">lastIndexOf</a></li> |
|
1153 </ul> |
|
1154 </div> |
|
1155 |
|
1156 |
|
1157 |
|
1158 </div> |
|
1159 </div> |
|
1160 </div> |
|
1161 <div id="ft"> |
|
1162 <hr /> |
|
1163 Copyright © 2009 Yahoo! Inc. All rights reserved. |
|
1164 </div> |
|
1165 </div> |
|
1166 <script type="text/javascript"> |
|
1167 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"}]; |
|
1168 </script> |
|
1169 </body> |
|
1170 </html> |