shuriken 0.1.2.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. data/.gitignore +1 -0
  2. data/Rakefile +28 -0
  3. data/coffeescripts/shuriken/test/assertions.coffee +111 -0
  4. data/coffeescripts/shuriken/test/reporters.coffee +61 -0
  5. data/coffeescripts/shuriken/test.coffee +117 -0
  6. data/coffeescripts/shuriken.coffee +2 -2
  7. data/javascripts/shuriken/mixins/callbacks.js +45 -0
  8. data/javascripts/shuriken/mixins.js +58 -0
  9. data/javascripts/shuriken/test/assertions.js +117 -0
  10. data/javascripts/shuriken/test/reporters.js +84 -0
  11. data/javascripts/shuriken/test.js +165 -0
  12. data/javascripts/shuriken.js +195 -0
  13. data/lib/shuriken.rb +1 -1
  14. data/shuriken.gemspec +84 -4
  15. data/tests/basic_namespace_tests.coffee +114 -0
  16. data/tests/template.erb +26 -0
  17. data/tests.watchr +6 -0
  18. data/vendor/jasmine-0.10.0/MIT.LICENSE +20 -0
  19. data/vendor/jasmine-0.10.0/README.markdown +437 -0
  20. data/vendor/jasmine-0.10.0/doc/files.html +460 -0
  21. data/vendor/jasmine-0.10.0/doc/index.html +322 -0
  22. data/vendor/jasmine-0.10.0/doc/symbols/_global_.html +918 -0
  23. data/vendor/jasmine-0.10.0/doc/symbols/jasmine.Block.html +417 -0
  24. data/vendor/jasmine-0.10.0/doc/symbols/jasmine.Clock.html +678 -0
  25. data/vendor/jasmine-0.10.0/doc/symbols/jasmine.Env.html +1169 -0
  26. data/vendor/jasmine-0.10.0/doc/symbols/jasmine.JsApiReporter.html +822 -0
  27. data/vendor/jasmine-0.10.0/doc/symbols/jasmine.Matchers.html +1461 -0
  28. data/vendor/jasmine-0.10.0/doc/symbols/jasmine.MultiReporter.html +394 -0
  29. data/vendor/jasmine-0.10.0/doc/symbols/jasmine.NestedResults.html +710 -0
  30. data/vendor/jasmine-0.10.0/doc/symbols/jasmine.Reporter.html +574 -0
  31. data/vendor/jasmine-0.10.0/doc/symbols/jasmine.Runner.html +710 -0
  32. data/vendor/jasmine-0.10.0/doc/symbols/jasmine.Spec.html +1259 -0
  33. data/vendor/jasmine-0.10.0/doc/symbols/jasmine.Spy.html +855 -0
  34. data/vendor/jasmine-0.10.0/doc/symbols/jasmine.Suite.html +705 -0
  35. data/vendor/jasmine-0.10.0/doc/symbols/jasmine.html +1345 -0
  36. data/vendor/jasmine-0.10.0/doc/symbols/jasmine.util.html +535 -0
  37. data/vendor/jasmine-0.10.0/doc/symbols/src/lib_TrivialReporter.js.html +124 -0
  38. data/vendor/jasmine-0.10.0/doc/symbols/src/src_Block.js.html +29 -0
  39. data/vendor/jasmine-0.10.0/doc/symbols/src/src_Env.js.html +240 -0
  40. data/vendor/jasmine-0.10.0/doc/symbols/src/src_JsApiReporter.js.html +111 -0
  41. data/vendor/jasmine-0.10.0/doc/symbols/src/src_Matchers.js.html +328 -0
  42. data/vendor/jasmine-0.10.0/doc/symbols/src/src_MultiReporter.js.html +36 -0
  43. data/vendor/jasmine-0.10.0/doc/symbols/src/src_NestedResults.js.html +88 -0
  44. data/vendor/jasmine-0.10.0/doc/symbols/src/src_PrettyPrinter.js.html +130 -0
  45. data/vendor/jasmine-0.10.0/doc/symbols/src/src_Queue.js.html +102 -0
  46. data/vendor/jasmine-0.10.0/doc/symbols/src/src_Reporter.js.html +35 -0
  47. data/vendor/jasmine-0.10.0/doc/symbols/src/src_Reporters.js.html +51 -0
  48. data/vendor/jasmine-0.10.0/doc/symbols/src/src_Runner.js.html +75 -0
  49. data/vendor/jasmine-0.10.0/doc/symbols/src/src_Spec.js.html +211 -0
  50. data/vendor/jasmine-0.10.0/doc/symbols/src/src_Suite.js.html +77 -0
  51. data/vendor/jasmine-0.10.0/doc/symbols/src/src_WaitsBlock.js.html +21 -0
  52. data/vendor/jasmine-0.10.0/doc/symbols/src/src_WaitsForBlock.js.html +45 -0
  53. data/vendor/jasmine-0.10.0/doc/symbols/src/src_base.js.html +555 -0
  54. data/vendor/jasmine-0.10.0/doc/symbols/src/src_mock-timeout.js.html +185 -0
  55. data/vendor/jasmine-0.10.0/doc/symbols/src/src_util.js.html +75 -0
  56. data/vendor/jasmine-0.10.0/example/example_runner.html +25 -0
  57. data/vendor/jasmine-0.10.0/example/spec/example_suite.js +11 -0
  58. data/vendor/jasmine-0.10.0/lib/TrivialReporter.js +117 -0
  59. data/vendor/jasmine-0.10.0/lib/consolex.js +28 -0
  60. data/vendor/jasmine-0.10.0/lib/jasmine-0.10.0.js +2261 -0
  61. data/vendor/jasmine-0.10.0/lib/jasmine.css +86 -0
  62. data/vendor/jasmine-0.10.0/spec/runner.html +63 -0
  63. data/vendor/jasmine-0.10.0/spec/suites/CustomMatchersSpec.js +112 -0
  64. data/vendor/jasmine-0.10.0/spec/suites/EnvSpec.js +71 -0
  65. data/vendor/jasmine-0.10.0/spec/suites/ExceptionsSpec.js +107 -0
  66. data/vendor/jasmine-0.10.0/spec/suites/JsApiReporterSpec.js +82 -0
  67. data/vendor/jasmine-0.10.0/spec/suites/MatchersSpec.js +589 -0
  68. data/vendor/jasmine-0.10.0/spec/suites/MockClockSpec.js +34 -0
  69. data/vendor/jasmine-0.10.0/spec/suites/MultiReporterSpec.js +30 -0
  70. data/vendor/jasmine-0.10.0/spec/suites/NestedResultsSpec.js +54 -0
  71. data/vendor/jasmine-0.10.0/spec/suites/PrettyPrintSpec.js +93 -0
  72. data/vendor/jasmine-0.10.0/spec/suites/QueueSpec.js +23 -0
  73. data/vendor/jasmine-0.10.0/spec/suites/ReporterSpec.js +60 -0
  74. data/vendor/jasmine-0.10.0/spec/suites/RunnerSpec.js +258 -0
  75. data/vendor/jasmine-0.10.0/spec/suites/SpecRunningSpec.js +1086 -0
  76. data/vendor/jasmine-0.10.0/spec/suites/SpecSpec.js +110 -0
  77. data/vendor/jasmine-0.10.0/spec/suites/SpySpec.js +187 -0
  78. data/vendor/jasmine-0.10.0/spec/suites/SuiteSpec.js +101 -0
  79. data/vendor/jasmine-0.10.0/spec/suites/TrivialReporterSpec.js +140 -0
  80. data/vendor/jasmine-0.10.0/spec/suites/UtilSpec.js +23 -0
  81. data/vendor/jquery.js +154 -0
  82. data/wip-coffeescripts/example_test.coffee +0 -0
  83. data/wip-coffeescripts/test/assertions.coffee +111 -0
  84. data/wip-coffeescripts/test/reporters.coffee +61 -0
  85. data/wip-coffeescripts/test.coffee +96 -15
  86. metadata +83 -4
@@ -0,0 +1,1259 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="content-type" content="text/html; charset=utf-8" />
6
+ <meta name="generator" content="JsDoc Toolkit" />
7
+
8
+ <title>JsDoc Reference - jasmine.Spec</title>
9
+
10
+ <style type="text/css">
11
+ /* default.css */
12
+ body
13
+ {
14
+ font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
15
+ width: 800px;
16
+ }
17
+
18
+ .header
19
+ {
20
+ clear: both;
21
+ background-color: #ccc;
22
+ padding: 8px;
23
+ }
24
+
25
+ h1
26
+ {
27
+ font-size: 150%;
28
+ font-weight: bold;
29
+ padding: 0;
30
+ margin: 1em 0 0 .3em;
31
+ }
32
+
33
+ hr
34
+ {
35
+ border: none 0;
36
+ border-top: 1px solid #7F8FB1;
37
+ height: 1px;
38
+ }
39
+
40
+ pre.code
41
+ {
42
+ display: block;
43
+ padding: 8px;
44
+ border: 1px dashed #ccc;
45
+ }
46
+
47
+ #index
48
+ {
49
+ margin-top: 24px;
50
+ float: left;
51
+ width: 160px;
52
+ position: absolute;
53
+ left: 8px;
54
+ background-color: #F3F3F3;
55
+ padding: 8px;
56
+ }
57
+
58
+ #content
59
+ {
60
+ margin-left: 190px;
61
+ width: 600px;
62
+ }
63
+
64
+ .classList
65
+ {
66
+ list-style-type: none;
67
+ padding: 0;
68
+ margin: 0 0 0 8px;
69
+ font-family: arial, sans-serif;
70
+ font-size: 1em;
71
+ overflow: auto;
72
+ }
73
+
74
+ .classList li
75
+ {
76
+ padding: 0;
77
+ margin: 0 0 8px 0;
78
+ }
79
+
80
+ .summaryTable { width: 100%; }
81
+
82
+ h1.classTitle
83
+ {
84
+ font-size:170%;
85
+ line-height:130%;
86
+ }
87
+
88
+ h2 { font-size: 110%; }
89
+ caption, div.sectionTitle
90
+ {
91
+ background-color: #7F8FB1;
92
+ color: #fff;
93
+ font-size:130%;
94
+ text-align: left;
95
+ padding: 2px 6px 2px 6px;
96
+ border: 1px #7F8FB1 solid;
97
+ }
98
+
99
+ div.sectionTitle { margin-bottom: 8px; }
100
+ .summaryTable thead { display: none; }
101
+
102
+ .summaryTable td
103
+ {
104
+ vertical-align: top;
105
+ padding: 4px;
106
+ border-bottom: 1px #7F8FB1 solid;
107
+ border-right: 1px #7F8FB1 solid;
108
+ }
109
+
110
+ /*col#summaryAttributes {}*/
111
+ .summaryTable td.attributes
112
+ {
113
+ border-left: 1px #7F8FB1 solid;
114
+ width: 140px;
115
+ text-align: right;
116
+ }
117
+
118
+ td.attributes, .fixedFont
119
+ {
120
+ line-height: 15px;
121
+ color: #002EBE;
122
+ font-family: "Courier New",Courier,monospace;
123
+ font-size: 13px;
124
+ }
125
+
126
+ .summaryTable td.nameDescription
127
+ {
128
+ text-align: left;
129
+ font-size: 13px;
130
+ line-height: 15px;
131
+ }
132
+
133
+ .summaryTable td.nameDescription, .description
134
+ {
135
+ line-height: 15px;
136
+ padding: 4px;
137
+ padding-left: 4px;
138
+ }
139
+
140
+ .summaryTable { margin-bottom: 8px; }
141
+
142
+ ul.inheritsList
143
+ {
144
+ list-style: square;
145
+ margin-left: 20px;
146
+ padding-left: 0;
147
+ }
148
+
149
+ .detailList {
150
+ margin-left: 20px;
151
+ line-height: 15px;
152
+ }
153
+ .detailList dt { margin-left: 20px; }
154
+
155
+ .detailList .heading
156
+ {
157
+ font-weight: bold;
158
+ padding-bottom: 6px;
159
+ margin-left: 0;
160
+ }
161
+
162
+ .light, td.attributes, .light a:link, .light a:visited
163
+ {
164
+ color: #777;
165
+ font-style: italic;
166
+ }
167
+
168
+ .fineprint
169
+ {
170
+ text-align: right;
171
+ font-size: 10px;
172
+ }
173
+ </style>
174
+ </head>
175
+
176
+ <body>
177
+ <!-- ============================== header ================================= -->
178
+ <!-- begin static/header.html -->
179
+ <div id="header">
180
+ </div>
181
+ <!-- end static/header.html -->
182
+
183
+ <!-- ============================== classes index ============================ -->
184
+ <div id="index">
185
+ <!-- begin publish.classesIndex -->
186
+ <div align="center"><a href="../index.html">Class Index</a>
187
+ | <a href="../files.html">File Index</a></div>
188
+ <hr />
189
+ <h2>Classes</h2>
190
+ <ul class="classList">
191
+
192
+ <li><i><a href="../symbols/_global_.html">_global_</a></i></li>
193
+
194
+ <li><a href="../symbols/jasmine.html">jasmine</a></li>
195
+
196
+ <li><a href="../symbols/jasmine.Block.html">jasmine.Block</a></li>
197
+
198
+ <li><a href="../symbols/jasmine.Clock.html">jasmine.Clock</a></li>
199
+
200
+ <li><a href="../symbols/jasmine.Env.html">jasmine.Env</a></li>
201
+
202
+ <li><a href="../symbols/jasmine.JsApiReporter.html">jasmine.JsApiReporter</a></li>
203
+
204
+ <li><a href="../symbols/jasmine.Matchers.html">jasmine.Matchers</a></li>
205
+
206
+ <li><a href="../symbols/jasmine.MultiReporter.html">jasmine.MultiReporter</a></li>
207
+
208
+ <li><a href="../symbols/jasmine.NestedResults.html">jasmine.NestedResults</a></li>
209
+
210
+ <li><a href="../symbols/jasmine.Reporter.html">jasmine.Reporter</a></li>
211
+
212
+ <li><a href="../symbols/jasmine.Runner.html">jasmine.Runner</a></li>
213
+
214
+ <li><a href="../symbols/jasmine.Spec.html">jasmine.Spec</a></li>
215
+
216
+ <li><a href="../symbols/jasmine.Spy.html">jasmine.Spy</a></li>
217
+
218
+ <li><a href="../symbols/jasmine.Suite.html">jasmine.Suite</a></li>
219
+
220
+ <li><a href="../symbols/jasmine.util.html">jasmine.util</a></li>
221
+
222
+ </ul>
223
+ <hr />
224
+ <!-- end publish.classesIndex -->
225
+ </div>
226
+
227
+ <div id="content">
228
+ <!-- ============================== class title ============================ -->
229
+ <h1 class="classTitle">
230
+
231
+ Class jasmine.Spec
232
+ </h1>
233
+
234
+ <!-- ============================== class summary ========================== -->
235
+ <p class="description">
236
+
237
+
238
+
239
+
240
+
241
+ <br /><i>Defined in: </i> <a href="../symbols/src/src_Spec.js.html">Spec.js</a>.
242
+
243
+ </p>
244
+
245
+ <!-- ============================== constructor summary ==================== -->
246
+
247
+ <table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class jasmine.Spec.">
248
+ <caption>Class Summary</caption>
249
+ <thead>
250
+ <tr>
251
+ <th scope="col">Constructor Attributes</th>
252
+ <th scope="col">Constructor Name and Description</th>
253
+ </tr>
254
+ </thead>
255
+ <tbody>
256
+ <tr>
257
+ <td class="attributes">&nbsp;</td>
258
+ <td class="nameDescription" >
259
+ <div class="fixedFont">
260
+ <b><a href="../symbols/jasmine.Spec.html">jasmine.Spec</a></b>(env, suite, description)
261
+ </div>
262
+ <div class="description">Internal representation of a Jasmine specification, or test.</div>
263
+ </td>
264
+ </tr>
265
+ </tbody>
266
+ </table>
267
+
268
+
269
+ <!-- ============================== properties summary ===================== -->
270
+
271
+
272
+ <!-- ============================== methods summary ======================== -->
273
+
274
+
275
+
276
+ <table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class jasmine.Spec.">
277
+ <caption>Method Summary</caption>
278
+ <thead>
279
+ <tr>
280
+ <th scope="col">Method Attributes</th>
281
+ <th scope="col">Method Name and Description</th>
282
+ </tr>
283
+ </thead>
284
+ <tbody>
285
+
286
+ <tr>
287
+ <td class="attributes">&nbsp;</td>
288
+ <td class="nameDescription">
289
+ <div class="fixedFont"><b><a href="../symbols/jasmine.Spec.html#addBeforesAndAftersToQueue">addBeforesAndAftersToQueue</a></b>()
290
+ </div>
291
+ <div class="description"></div>
292
+ </td>
293
+ </tr>
294
+
295
+ <tr>
296
+ <td class="attributes">&nbsp;</td>
297
+ <td class="nameDescription">
298
+ <div class="fixedFont"><b><a href="../symbols/jasmine.Spec.html#addMatcherResult">addMatcherResult</a></b>(result)
299
+ </div>
300
+ <div class="description"></div>
301
+ </td>
302
+ </tr>
303
+
304
+ <tr>
305
+ <td class="attributes">&nbsp;</td>
306
+ <td class="nameDescription">
307
+ <div class="fixedFont"><b><a href="../symbols/jasmine.Spec.html#addMatchers">addMatchers</a></b>(matchersPrototype)
308
+ </div>
309
+ <div class="description"></div>
310
+ </td>
311
+ </tr>
312
+
313
+ <tr>
314
+ <td class="attributes">&nbsp;</td>
315
+ <td class="nameDescription">
316
+ <div class="fixedFont"><b><a href="../symbols/jasmine.Spec.html#addToQueue">addToQueue</a></b>(block)
317
+ </div>
318
+ <div class="description"></div>
319
+ </td>
320
+ </tr>
321
+
322
+ <tr>
323
+ <td class="attributes">&nbsp;</td>
324
+ <td class="nameDescription">
325
+ <div class="fixedFont"><b><a href="../symbols/jasmine.Spec.html#after">after</a></b>(doAfter, test)
326
+ </div>
327
+ <div class="description"></div>
328
+ </td>
329
+ </tr>
330
+
331
+ <tr>
332
+ <td class="attributes">&nbsp;</td>
333
+ <td class="nameDescription">
334
+ <div class="fixedFont"><b><a href="../symbols/jasmine.Spec.html#execute">execute</a></b>(onComplete)
335
+ </div>
336
+ <div class="description"></div>
337
+ </td>
338
+ </tr>
339
+
340
+ <tr>
341
+ <td class="attributes">&nbsp;</td>
342
+ <td class="nameDescription">
343
+ <div class="fixedFont"><b><a href="../symbols/jasmine.Spec.html#expect">expect</a></b>(actual)
344
+ </div>
345
+ <div class="description"></div>
346
+ </td>
347
+ </tr>
348
+
349
+ <tr>
350
+ <td class="attributes">&nbsp;</td>
351
+ <td class="nameDescription">
352
+ <div class="fixedFont"><b><a href="../symbols/jasmine.Spec.html#explodes">explodes</a></b>()
353
+ </div>
354
+ <div class="description"></div>
355
+ </td>
356
+ </tr>
357
+
358
+ <tr>
359
+ <td class="attributes">&nbsp;</td>
360
+ <td class="nameDescription">
361
+ <div class="fixedFont"><b><a href="../symbols/jasmine.Spec.html#fail">fail</a></b>(e)
362
+ </div>
363
+ <div class="description"></div>
364
+ </td>
365
+ </tr>
366
+
367
+ <tr>
368
+ <td class="attributes">&nbsp;</td>
369
+ <td class="nameDescription">
370
+ <div class="fixedFont"><b><a href="../symbols/jasmine.Spec.html#finish">finish</a></b>(onComplete)
371
+ </div>
372
+ <div class="description"></div>
373
+ </td>
374
+ </tr>
375
+
376
+ <tr>
377
+ <td class="attributes">&nbsp;</td>
378
+ <td class="nameDescription">
379
+ <div class="fixedFont"><b><a href="../symbols/jasmine.Spec.html#finishCallback">finishCallback</a></b>()
380
+ </div>
381
+ <div class="description"></div>
382
+ </td>
383
+ </tr>
384
+
385
+ <tr>
386
+ <td class="attributes">&nbsp;</td>
387
+ <td class="nameDescription">
388
+ <div class="fixedFont"><b><a href="../symbols/jasmine.Spec.html#getFullName">getFullName</a></b>()
389
+ </div>
390
+ <div class="description"></div>
391
+ </td>
392
+ </tr>
393
+
394
+ <tr>
395
+ <td class="attributes">&nbsp;</td>
396
+ <td class="nameDescription">
397
+ <div class="fixedFont"><b><a href="../symbols/jasmine.Spec.html#getMatchersClass_">getMatchersClass_</a></b>()
398
+ </div>
399
+ <div class="description"></div>
400
+ </td>
401
+ </tr>
402
+
403
+ <tr>
404
+ <td class="attributes">&nbsp;</td>
405
+ <td class="nameDescription">
406
+ <div class="fixedFont"><b><a href="../symbols/jasmine.Spec.html#getResults">getResults</a></b>()
407
+ </div>
408
+ <div class="description"></div>
409
+ </td>
410
+ </tr>
411
+
412
+ <tr>
413
+ <td class="attributes">&nbsp;</td>
414
+ <td class="nameDescription">
415
+ <div class="fixedFont"><b><a href="../symbols/jasmine.Spec.html#log">log</a></b>(message)
416
+ </div>
417
+ <div class="description"></div>
418
+ </td>
419
+ </tr>
420
+
421
+ <tr>
422
+ <td class="attributes">&nbsp;</td>
423
+ <td class="nameDescription">
424
+ <div class="fixedFont"><b><a href="../symbols/jasmine.Spec.html#removeAllSpies">removeAllSpies</a></b>()
425
+ </div>
426
+ <div class="description"></div>
427
+ </td>
428
+ </tr>
429
+
430
+ <tr>
431
+ <td class="attributes">&nbsp;</td>
432
+ <td class="nameDescription">
433
+ <div class="fixedFont"><b><a href="../symbols/jasmine.Spec.html#results">results</a></b>()
434
+ </div>
435
+ <div class="description"></div>
436
+ </td>
437
+ </tr>
438
+
439
+ <tr>
440
+ <td class="attributes">&nbsp;</td>
441
+ <td class="nameDescription">
442
+ <div class="fixedFont"><b><a href="../symbols/jasmine.Spec.html#runs">runs</a></b>(func)
443
+ </div>
444
+ <div class="description"></div>
445
+ </td>
446
+ </tr>
447
+
448
+ <tr>
449
+ <td class="attributes">&nbsp;</td>
450
+ <td class="nameDescription">
451
+ <div class="fixedFont"><b><a href="../symbols/jasmine.Spec.html#spyOn">spyOn</a></b>(obj, methodName, ignoreMethodDoesntExist)
452
+ </div>
453
+ <div class="description"></div>
454
+ </td>
455
+ </tr>
456
+
457
+ <tr>
458
+ <td class="attributes">&nbsp;</td>
459
+ <td class="nameDescription">
460
+ <div class="fixedFont"><b><a href="../symbols/jasmine.Spec.html#waits">waits</a></b>(timeout)
461
+ </div>
462
+ <div class="description"></div>
463
+ </td>
464
+ </tr>
465
+
466
+ <tr>
467
+ <td class="attributes">&nbsp;</td>
468
+ <td class="nameDescription">
469
+ <div class="fixedFont"><b><a href="../symbols/jasmine.Spec.html#waitsFor">waitsFor</a></b>(timeout, latchFunction, timeoutMessage)
470
+ </div>
471
+ <div class="description"></div>
472
+ </td>
473
+ </tr>
474
+
475
+ </tbody>
476
+ </table>
477
+
478
+
479
+
480
+
481
+ <!-- ============================== events summary ======================== -->
482
+
483
+
484
+ <!-- ============================== constructor details ==================== -->
485
+
486
+ <div class="details"><a name="constructor"> </a>
487
+ <div class="sectionTitle">
488
+ Class Detail
489
+ </div>
490
+
491
+ <div class="fixedFont">
492
+ <b>jasmine.Spec</b>(env, suite, description)
493
+ </div>
494
+
495
+ <div class="description">
496
+ Internal representation of a Jasmine specification, or test.
497
+
498
+ </div>
499
+
500
+
501
+
502
+
503
+
504
+ <dl class="detailList">
505
+ <dt class="heading">Parameters:</dt>
506
+
507
+ <dt>
508
+ <span class="light fixedFont">{<a href="../symbols/jasmine.Env.html">jasmine.Env</a>}</span> <b>env</b>
509
+
510
+ </dt>
511
+ <dd></dd>
512
+
513
+ <dt>
514
+ <span class="light fixedFont">{<a href="../symbols/jasmine.Suite.html">jasmine.Suite</a>}</span> <b>suite</b>
515
+
516
+ </dt>
517
+ <dd></dd>
518
+
519
+ <dt>
520
+ <span class="light fixedFont">{String}</span> <b>description</b>
521
+
522
+ </dt>
523
+ <dd></dd>
524
+
525
+ </dl>
526
+
527
+
528
+
529
+
530
+
531
+
532
+
533
+
534
+ </div>
535
+
536
+
537
+ <!-- ============================== field details ========================== -->
538
+
539
+
540
+ <!-- ============================== method details ========================= -->
541
+
542
+ <div class="sectionTitle">
543
+ Method Detail
544
+ </div>
545
+
546
+ <a name="addBeforesAndAftersToQueue"> </a>
547
+ <div class="fixedFont">
548
+
549
+
550
+ <b>addBeforesAndAftersToQueue</b>()
551
+
552
+ </div>
553
+ <div class="description">
554
+
555
+
556
+
557
+ </div>
558
+
559
+
560
+
561
+
562
+
563
+
564
+
565
+
566
+
567
+
568
+
569
+ <hr />
570
+
571
+ <a name="addMatcherResult"> </a>
572
+ <div class="fixedFont">
573
+
574
+
575
+ <b>addMatcherResult</b>(result)
576
+
577
+ </div>
578
+ <div class="description">
579
+
580
+
581
+
582
+ </div>
583
+
584
+
585
+
586
+
587
+ <dl class="detailList">
588
+ <dt class="heading">Parameters:</dt>
589
+
590
+ <dt>
591
+ <b>result</b>
592
+
593
+ </dt>
594
+ <dd></dd>
595
+
596
+ </dl>
597
+
598
+
599
+
600
+
601
+
602
+
603
+
604
+
605
+ <hr />
606
+
607
+ <a name="addMatchers"> </a>
608
+ <div class="fixedFont">
609
+
610
+
611
+ <b>addMatchers</b>(matchersPrototype)
612
+
613
+ </div>
614
+ <div class="description">
615
+
616
+
617
+
618
+ </div>
619
+
620
+
621
+
622
+
623
+ <dl class="detailList">
624
+ <dt class="heading">Parameters:</dt>
625
+
626
+ <dt>
627
+ <b>matchersPrototype</b>
628
+
629
+ </dt>
630
+ <dd></dd>
631
+
632
+ </dl>
633
+
634
+
635
+
636
+
637
+
638
+
639
+
640
+
641
+ <hr />
642
+
643
+ <a name="addToQueue"> </a>
644
+ <div class="fixedFont">
645
+
646
+
647
+ <b>addToQueue</b>(block)
648
+
649
+ </div>
650
+ <div class="description">
651
+
652
+
653
+
654
+ </div>
655
+
656
+
657
+
658
+
659
+ <dl class="detailList">
660
+ <dt class="heading">Parameters:</dt>
661
+
662
+ <dt>
663
+ <b>block</b>
664
+
665
+ </dt>
666
+ <dd></dd>
667
+
668
+ </dl>
669
+
670
+
671
+
672
+
673
+
674
+
675
+
676
+
677
+ <hr />
678
+
679
+ <a name="after"> </a>
680
+ <div class="fixedFont">
681
+
682
+
683
+ <b>after</b>(doAfter, test)
684
+
685
+ </div>
686
+ <div class="description">
687
+
688
+
689
+
690
+ </div>
691
+
692
+
693
+
694
+
695
+ <dl class="detailList">
696
+ <dt class="heading">Parameters:</dt>
697
+
698
+ <dt>
699
+ <b>doAfter</b>
700
+
701
+ </dt>
702
+ <dd></dd>
703
+
704
+ <dt>
705
+ <b>test</b>
706
+
707
+ </dt>
708
+ <dd></dd>
709
+
710
+ </dl>
711
+
712
+
713
+
714
+
715
+
716
+
717
+
718
+
719
+ <hr />
720
+
721
+ <a name="execute"> </a>
722
+ <div class="fixedFont">
723
+
724
+
725
+ <b>execute</b>(onComplete)
726
+
727
+ </div>
728
+ <div class="description">
729
+
730
+
731
+
732
+ </div>
733
+
734
+
735
+
736
+
737
+ <dl class="detailList">
738
+ <dt class="heading">Parameters:</dt>
739
+
740
+ <dt>
741
+ <b>onComplete</b>
742
+
743
+ </dt>
744
+ <dd></dd>
745
+
746
+ </dl>
747
+
748
+
749
+
750
+
751
+
752
+
753
+
754
+
755
+ <hr />
756
+
757
+ <a name="expect"> </a>
758
+ <div class="fixedFont">
759
+
760
+
761
+ <b>expect</b>(actual)
762
+
763
+ </div>
764
+ <div class="description">
765
+
766
+
767
+
768
+ </div>
769
+
770
+
771
+
772
+
773
+ <dl class="detailList">
774
+ <dt class="heading">Parameters:</dt>
775
+
776
+ <dt>
777
+ <b>actual</b>
778
+
779
+ </dt>
780
+ <dd></dd>
781
+
782
+ </dl>
783
+
784
+
785
+
786
+
787
+
788
+
789
+
790
+
791
+ <hr />
792
+
793
+ <a name="explodes"> </a>
794
+ <div class="fixedFont">
795
+
796
+
797
+ <b>explodes</b>()
798
+
799
+ </div>
800
+ <div class="description">
801
+
802
+
803
+
804
+ </div>
805
+
806
+
807
+
808
+
809
+
810
+
811
+
812
+
813
+
814
+
815
+
816
+ <hr />
817
+
818
+ <a name="fail"> </a>
819
+ <div class="fixedFont">
820
+
821
+
822
+ <b>fail</b>(e)
823
+
824
+ </div>
825
+ <div class="description">
826
+
827
+
828
+
829
+ </div>
830
+
831
+
832
+
833
+
834
+ <dl class="detailList">
835
+ <dt class="heading">Parameters:</dt>
836
+
837
+ <dt>
838
+ <b>e</b>
839
+
840
+ </dt>
841
+ <dd></dd>
842
+
843
+ </dl>
844
+
845
+
846
+
847
+
848
+
849
+
850
+
851
+
852
+ <hr />
853
+
854
+ <a name="finish"> </a>
855
+ <div class="fixedFont">
856
+
857
+
858
+ <b>finish</b>(onComplete)
859
+
860
+ </div>
861
+ <div class="description">
862
+
863
+
864
+
865
+ </div>
866
+
867
+
868
+
869
+
870
+ <dl class="detailList">
871
+ <dt class="heading">Parameters:</dt>
872
+
873
+ <dt>
874
+ <b>onComplete</b>
875
+
876
+ </dt>
877
+ <dd></dd>
878
+
879
+ </dl>
880
+
881
+
882
+
883
+
884
+
885
+
886
+
887
+
888
+ <hr />
889
+
890
+ <a name="finishCallback"> </a>
891
+ <div class="fixedFont">
892
+
893
+
894
+ <b>finishCallback</b>()
895
+
896
+ </div>
897
+ <div class="description">
898
+
899
+
900
+
901
+ </div>
902
+
903
+
904
+
905
+
906
+
907
+
908
+
909
+
910
+
911
+
912
+
913
+ <hr />
914
+
915
+ <a name="getFullName"> </a>
916
+ <div class="fixedFont">
917
+
918
+
919
+ <b>getFullName</b>()
920
+
921
+ </div>
922
+ <div class="description">
923
+
924
+
925
+
926
+ </div>
927
+
928
+
929
+
930
+
931
+
932
+
933
+
934
+
935
+
936
+
937
+
938
+ <hr />
939
+
940
+ <a name="getMatchersClass_"> </a>
941
+ <div class="fixedFont">
942
+
943
+
944
+ <b>getMatchersClass_</b>()
945
+
946
+ </div>
947
+ <div class="description">
948
+
949
+
950
+
951
+ </div>
952
+
953
+
954
+
955
+
956
+
957
+
958
+
959
+
960
+
961
+
962
+
963
+ <hr />
964
+
965
+ <a name="getResults"> </a>
966
+ <div class="fixedFont">
967
+
968
+
969
+ <b>getResults</b>()
970
+
971
+ </div>
972
+ <div class="description">
973
+
974
+
975
+
976
+ </div>
977
+
978
+
979
+
980
+
981
+
982
+
983
+
984
+
985
+
986
+
987
+
988
+ <hr />
989
+
990
+ <a name="log"> </a>
991
+ <div class="fixedFont">
992
+
993
+
994
+ <b>log</b>(message)
995
+
996
+ </div>
997
+ <div class="description">
998
+
999
+
1000
+
1001
+ </div>
1002
+
1003
+
1004
+
1005
+
1006
+ <dl class="detailList">
1007
+ <dt class="heading">Parameters:</dt>
1008
+
1009
+ <dt>
1010
+ <b>message</b>
1011
+
1012
+ </dt>
1013
+ <dd></dd>
1014
+
1015
+ </dl>
1016
+
1017
+
1018
+
1019
+
1020
+
1021
+
1022
+
1023
+
1024
+ <hr />
1025
+
1026
+ <a name="removeAllSpies"> </a>
1027
+ <div class="fixedFont">
1028
+
1029
+
1030
+ <b>removeAllSpies</b>()
1031
+
1032
+ </div>
1033
+ <div class="description">
1034
+
1035
+
1036
+
1037
+ </div>
1038
+
1039
+
1040
+
1041
+
1042
+
1043
+
1044
+
1045
+
1046
+
1047
+
1048
+
1049
+ <hr />
1050
+
1051
+ <a name="results"> </a>
1052
+ <div class="fixedFont">
1053
+
1054
+
1055
+ <b>results</b>()
1056
+
1057
+ </div>
1058
+ <div class="description">
1059
+
1060
+
1061
+
1062
+ </div>
1063
+
1064
+
1065
+
1066
+
1067
+
1068
+
1069
+
1070
+
1071
+
1072
+
1073
+
1074
+ <hr />
1075
+
1076
+ <a name="runs"> </a>
1077
+ <div class="fixedFont">
1078
+
1079
+
1080
+ <b>runs</b>(func)
1081
+
1082
+ </div>
1083
+ <div class="description">
1084
+
1085
+
1086
+
1087
+ </div>
1088
+
1089
+
1090
+
1091
+
1092
+ <dl class="detailList">
1093
+ <dt class="heading">Parameters:</dt>
1094
+
1095
+ <dt>
1096
+ <b>func</b>
1097
+
1098
+ </dt>
1099
+ <dd></dd>
1100
+
1101
+ </dl>
1102
+
1103
+
1104
+
1105
+
1106
+
1107
+
1108
+
1109
+
1110
+ <hr />
1111
+
1112
+ <a name="spyOn"> </a>
1113
+ <div class="fixedFont">
1114
+
1115
+
1116
+ <b>spyOn</b>(obj, methodName, ignoreMethodDoesntExist)
1117
+
1118
+ </div>
1119
+ <div class="description">
1120
+
1121
+
1122
+
1123
+ </div>
1124
+
1125
+
1126
+
1127
+
1128
+ <dl class="detailList">
1129
+ <dt class="heading">Parameters:</dt>
1130
+
1131
+ <dt>
1132
+ <b>obj</b>
1133
+
1134
+ </dt>
1135
+ <dd></dd>
1136
+
1137
+ <dt>
1138
+ <b>methodName</b>
1139
+
1140
+ </dt>
1141
+ <dd></dd>
1142
+
1143
+ <dt>
1144
+ <b>ignoreMethodDoesntExist</b>
1145
+
1146
+ </dt>
1147
+ <dd></dd>
1148
+
1149
+ </dl>
1150
+
1151
+
1152
+
1153
+
1154
+
1155
+
1156
+
1157
+
1158
+ <hr />
1159
+
1160
+ <a name="waits"> </a>
1161
+ <div class="fixedFont">
1162
+
1163
+
1164
+ <b>waits</b>(timeout)
1165
+
1166
+ </div>
1167
+ <div class="description">
1168
+
1169
+
1170
+
1171
+ </div>
1172
+
1173
+
1174
+
1175
+
1176
+ <dl class="detailList">
1177
+ <dt class="heading">Parameters:</dt>
1178
+
1179
+ <dt>
1180
+ <b>timeout</b>
1181
+
1182
+ </dt>
1183
+ <dd></dd>
1184
+
1185
+ </dl>
1186
+
1187
+
1188
+
1189
+
1190
+
1191
+
1192
+
1193
+
1194
+ <hr />
1195
+
1196
+ <a name="waitsFor"> </a>
1197
+ <div class="fixedFont">
1198
+
1199
+
1200
+ <b>waitsFor</b>(timeout, latchFunction, timeoutMessage)
1201
+
1202
+ </div>
1203
+ <div class="description">
1204
+
1205
+
1206
+
1207
+ </div>
1208
+
1209
+
1210
+
1211
+
1212
+ <dl class="detailList">
1213
+ <dt class="heading">Parameters:</dt>
1214
+
1215
+ <dt>
1216
+ <b>timeout</b>
1217
+
1218
+ </dt>
1219
+ <dd></dd>
1220
+
1221
+ <dt>
1222
+ <b>latchFunction</b>
1223
+
1224
+ </dt>
1225
+ <dd></dd>
1226
+
1227
+ <dt>
1228
+ <b>timeoutMessage</b>
1229
+
1230
+ </dt>
1231
+ <dd></dd>
1232
+
1233
+ </dl>
1234
+
1235
+
1236
+
1237
+
1238
+
1239
+
1240
+
1241
+
1242
+
1243
+
1244
+
1245
+
1246
+ <!-- ============================== event details ========================= -->
1247
+
1248
+
1249
+ <hr />
1250
+ </div>
1251
+
1252
+
1253
+ <!-- ============================== footer ================================= -->
1254
+ <div class="fineprint" style="clear:both">
1255
+
1256
+ Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Fri Dec 25 2009 14:19:05 GMT-0500 (EST)
1257
+ </div>
1258
+ </body>
1259
+ </html>