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