jazz 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (181) hide show
  1. data/LICENSE +20 -0
  2. data/README.rdoc +129 -0
  3. data/bin/jazz +230 -0
  4. data/doc/jasmine/files.html +460 -0
  5. data/doc/jasmine/index.html +322 -0
  6. data/doc/jasmine/symbols/_global_.html +1083 -0
  7. data/doc/jasmine/symbols/jasmine.Block.html +417 -0
  8. data/doc/jasmine/symbols/jasmine.Clock.html +678 -0
  9. data/doc/jasmine/symbols/jasmine.Env.html +1135 -0
  10. data/doc/jasmine/symbols/jasmine.EnvjsReporter.html +328 -0
  11. data/doc/jasmine/symbols/jasmine.JsApiReporter.html +822 -0
  12. data/doc/jasmine/symbols/jasmine.Matchers.html +1106 -0
  13. data/doc/jasmine/symbols/jasmine.MultiReporter.html +394 -0
  14. data/doc/jasmine/symbols/jasmine.NestedResults.html +710 -0
  15. data/doc/jasmine/symbols/jasmine.Reporter.html +574 -0
  16. data/doc/jasmine/symbols/jasmine.Runner.html +710 -0
  17. data/doc/jasmine/symbols/jasmine.Spec.html +1372 -0
  18. data/doc/jasmine/symbols/jasmine.Spy.html +855 -0
  19. data/doc/jasmine/symbols/jasmine.Suite.html +705 -0
  20. data/doc/jasmine/symbols/jasmine.XMLReporter.html +328 -0
  21. data/doc/jasmine/symbols/jasmine.html +1359 -0
  22. data/doc/jasmine/symbols/jasmine.util.html +535 -0
  23. data/doc/jasmine/symbols/src/lib_EnvjsReporter.js.html +149 -0
  24. data/doc/jasmine/symbols/src/lib_TrivialReporter.js.html +127 -0
  25. data/doc/jasmine/symbols/src/lib_XMLReporter.js.html +210 -0
  26. data/doc/jasmine/symbols/src/src_Block.js.html +35 -0
  27. data/doc/jasmine/symbols/src/src_Env.js.html +233 -0
  28. data/doc/jasmine/symbols/src/src_JsApiReporter.js.html +110 -0
  29. data/doc/jasmine/symbols/src/src_Matchers.js.html +399 -0
  30. data/doc/jasmine/symbols/src/src_MultiReporter.js.html +36 -0
  31. data/doc/jasmine/symbols/src/src_NestedResults.js.html +88 -0
  32. data/doc/jasmine/symbols/src/src_PrettyPrinter.js.html +128 -0
  33. data/doc/jasmine/symbols/src/src_Queue.js.html +119 -0
  34. data/doc/jasmine/symbols/src/src_Reporter.js.html +35 -0
  35. data/doc/jasmine/symbols/src/src_Reporters.js.html +51 -0
  36. data/doc/jasmine/symbols/src/src_Runner.js.html +75 -0
  37. data/doc/jasmine/symbols/src/src_Spec.js.html +228 -0
  38. data/doc/jasmine/symbols/src/src_Suite.js.html +77 -0
  39. data/doc/jasmine/symbols/src/src_WaitsBlock.js.html +21 -0
  40. data/doc/jasmine/symbols/src/src_WaitsForBlock.js.html +45 -0
  41. data/doc/jasmine/symbols/src/src_base.js.html +566 -0
  42. data/doc/jasmine/symbols/src/src_mock-timeout.js.html +185 -0
  43. data/doc/jasmine/symbols/src/src_util.js.html +75 -0
  44. data/lib/jazz.rb +0 -0
  45. data/lib/jazz/intro.js +46 -0
  46. data/lib/jazz/jasmine/EnvjsReporter.js +141 -0
  47. data/lib/jazz/jasmine/TrivialReporter.js +155 -0
  48. data/lib/jazz/jasmine/XMLReporter.js +241 -0
  49. data/lib/jazz/jasmine/consolex.js +28 -0
  50. data/lib/jazz/jasmine/jasmine-0.10.0.js +2526 -0
  51. data/lib/jazz/jasmine/jasmine.js +2526 -0
  52. data/lib/jazz/jasmine/json2.js +478 -0
  53. data/lib/jazz/options.rb +26 -0
  54. data/lib/jazz/outro.js +3 -0
  55. data/lib/jazz/qintro.js +113 -0
  56. data/lib/jazz/qoutro.js +3 -0
  57. data/lib/jazz/qunit/qunit.css +17 -0
  58. data/lib/jazz/qunit/qunit.js +1027 -0
  59. data/spec/example/hello_world_spec.js +29 -0
  60. data/spec/example/nested/HelloWorldSpec.js +13 -0
  61. data/spec/example/nested/SpecHelper.js +1 -0
  62. data/spec/example/plain_spec.js +8 -0
  63. data/spec/example/spec_helper.js +1 -0
  64. data/spec/spec_helper.js +18 -0
  65. data/spec/spec_runner.js +143 -0
  66. data/test/jazz_test.rb +7 -0
  67. data/test/test_helper.rb +10 -0
  68. data/vendor/jasmine/MIT.LICENSE +20 -0
  69. data/vendor/jasmine/README.markdown +479 -0
  70. data/vendor/jasmine/Rakefile +155 -0
  71. data/vendor/jasmine/Wakefile +68 -0
  72. data/vendor/jasmine/contrib/ruby/jasmine_runner.rb +334 -0
  73. data/vendor/jasmine/contrib/ruby/jasmine_spec_builder.rb +153 -0
  74. data/vendor/jasmine/contrib/ruby/run.html +47 -0
  75. data/vendor/jasmine/contrib/ruby/spec/jasmine_runner_spec.rb +71 -0
  76. data/vendor/jasmine/doc/files.html +460 -0
  77. data/vendor/jasmine/doc/index.html +322 -0
  78. data/vendor/jasmine/doc/symbols/_global_.html +1083 -0
  79. data/vendor/jasmine/doc/symbols/jasmine.Block.html +417 -0
  80. data/vendor/jasmine/doc/symbols/jasmine.Clock.html +678 -0
  81. data/vendor/jasmine/doc/symbols/jasmine.Env.html +1135 -0
  82. data/vendor/jasmine/doc/symbols/jasmine.EnvjsReporter.html +328 -0
  83. data/vendor/jasmine/doc/symbols/jasmine.JsApiReporter.html +822 -0
  84. data/vendor/jasmine/doc/symbols/jasmine.Matchers.html +1106 -0
  85. data/vendor/jasmine/doc/symbols/jasmine.MultiReporter.html +394 -0
  86. data/vendor/jasmine/doc/symbols/jasmine.NestedResults.html +710 -0
  87. data/vendor/jasmine/doc/symbols/jasmine.Reporter.html +574 -0
  88. data/vendor/jasmine/doc/symbols/jasmine.Runner.html +710 -0
  89. data/vendor/jasmine/doc/symbols/jasmine.Spec.html +1372 -0
  90. data/vendor/jasmine/doc/symbols/jasmine.Spy.html +855 -0
  91. data/vendor/jasmine/doc/symbols/jasmine.Suite.html +705 -0
  92. data/vendor/jasmine/doc/symbols/jasmine.XMLReporter.html +328 -0
  93. data/vendor/jasmine/doc/symbols/jasmine.html +1359 -0
  94. data/vendor/jasmine/doc/symbols/jasmine.util.html +535 -0
  95. data/vendor/jasmine/doc/symbols/src/lib_EnvjsReporter.js.html +149 -0
  96. data/vendor/jasmine/doc/symbols/src/lib_TrivialReporter.js.html +127 -0
  97. data/vendor/jasmine/doc/symbols/src/lib_XMLReporter.js.html +210 -0
  98. data/vendor/jasmine/doc/symbols/src/src_Block.js.html +35 -0
  99. data/vendor/jasmine/doc/symbols/src/src_Env.js.html +233 -0
  100. data/vendor/jasmine/doc/symbols/src/src_JsApiReporter.js.html +110 -0
  101. data/vendor/jasmine/doc/symbols/src/src_Matchers.js.html +399 -0
  102. data/vendor/jasmine/doc/symbols/src/src_MultiReporter.js.html +36 -0
  103. data/vendor/jasmine/doc/symbols/src/src_NestedResults.js.html +88 -0
  104. data/vendor/jasmine/doc/symbols/src/src_PrettyPrinter.js.html +128 -0
  105. data/vendor/jasmine/doc/symbols/src/src_Queue.js.html +119 -0
  106. data/vendor/jasmine/doc/symbols/src/src_Reporter.js.html +35 -0
  107. data/vendor/jasmine/doc/symbols/src/src_Reporters.js.html +51 -0
  108. data/vendor/jasmine/doc/symbols/src/src_Runner.js.html +75 -0
  109. data/vendor/jasmine/doc/symbols/src/src_Spec.js.html +228 -0
  110. data/vendor/jasmine/doc/symbols/src/src_Suite.js.html +77 -0
  111. data/vendor/jasmine/doc/symbols/src/src_WaitsBlock.js.html +21 -0
  112. data/vendor/jasmine/doc/symbols/src/src_WaitsForBlock.js.html +45 -0
  113. data/vendor/jasmine/doc/symbols/src/src_base.js.html +566 -0
  114. data/vendor/jasmine/doc/symbols/src/src_mock-timeout.js.html +185 -0
  115. data/vendor/jasmine/doc/symbols/src/src_util.js.html +75 -0
  116. data/vendor/jasmine/examples/html/example_suite.html +27 -0
  117. data/vendor/jasmine/examples/html/spec/example_suite.js +11 -0
  118. data/vendor/jasmine/examples/ruby/Rakefile +33 -0
  119. data/vendor/jasmine/examples/ruby/spec/example/example_spec.js +11 -0
  120. data/vendor/jasmine/examples/ruby/spec/jasmine_helper.rb +41 -0
  121. data/vendor/jasmine/examples/ruby/spec/jasmine_spec.rb +31 -0
  122. data/vendor/jasmine/examples/ruby/spec/saucelabs.yml +24 -0
  123. data/vendor/jasmine/geminstaller.yml +23 -0
  124. data/vendor/jasmine/images/fail-16.png +0 -0
  125. data/vendor/jasmine/images/fail.png +0 -0
  126. data/vendor/jasmine/images/go-16.png +0 -0
  127. data/vendor/jasmine/images/go.png +0 -0
  128. data/vendor/jasmine/images/pending-16.png +0 -0
  129. data/vendor/jasmine/images/pending.png +0 -0
  130. data/vendor/jasmine/images/question-bk.png +0 -0
  131. data/vendor/jasmine/images/questionbk-16.png +0 -0
  132. data/vendor/jasmine/images/spinner.gif +0 -0
  133. data/vendor/jasmine/lib/EnvjsReporter.js +141 -0
  134. data/vendor/jasmine/lib/TrivialReporter.js +155 -0
  135. data/vendor/jasmine/lib/XMLReporter.js +241 -0
  136. data/vendor/jasmine/lib/consolex.js +28 -0
  137. data/vendor/jasmine/lib/jasmine-0.10.0.js +2526 -0
  138. data/vendor/jasmine/lib/jasmine.css +86 -0
  139. data/vendor/jasmine/lib/json2.js +478 -0
  140. data/vendor/jasmine/spec/jasmine_helper.rb +44 -0
  141. data/vendor/jasmine/spec/jasmine_spec.rb +31 -0
  142. data/vendor/jasmine/spec/runner.html +43 -0
  143. data/vendor/jasmine/spec/runner.js +78 -0
  144. data/vendor/jasmine/spec/saucelabs.yml +24 -0
  145. data/vendor/jasmine/spec/suites/EnvSpec.js +71 -0
  146. data/vendor/jasmine/spec/suites/ExceptionsSpec.js +107 -0
  147. data/vendor/jasmine/spec/suites/JsApiReporterSpec.js +82 -0
  148. data/vendor/jasmine/spec/suites/MatchersSpec.js +589 -0
  149. data/vendor/jasmine/spec/suites/MockClockSpec.js +34 -0
  150. data/vendor/jasmine/spec/suites/MultiReporterSpec.js +30 -0
  151. data/vendor/jasmine/spec/suites/NestedResultsSpec.js +54 -0
  152. data/vendor/jasmine/spec/suites/PrettyPrintSpec.js +93 -0
  153. data/vendor/jasmine/spec/suites/QueueSpec.js +23 -0
  154. data/vendor/jasmine/spec/suites/ReporterSpec.js +60 -0
  155. data/vendor/jasmine/spec/suites/RunnerSpec.js +258 -0
  156. data/vendor/jasmine/spec/suites/SpecRunningSpec.js +1117 -0
  157. data/vendor/jasmine/spec/suites/SpecSpec.js +110 -0
  158. data/vendor/jasmine/spec/suites/SpySpec.js +187 -0
  159. data/vendor/jasmine/spec/suites/SuiteSpec.js +101 -0
  160. data/vendor/jasmine/spec/suites/TrivialReporterSpec.js +140 -0
  161. data/vendor/jasmine/spec/suites/UtilSpec.js +23 -0
  162. data/vendor/jasmine/src/Block.js +34 -0
  163. data/vendor/jasmine/src/Env.js +236 -0
  164. data/vendor/jasmine/src/JsApiReporter.js +103 -0
  165. data/vendor/jasmine/src/Matchers.js +326 -0
  166. data/vendor/jasmine/src/MultiReporter.js +28 -0
  167. data/vendor/jasmine/src/NestedResults.js +99 -0
  168. data/vendor/jasmine/src/PrettyPrinter.js +122 -0
  169. data/vendor/jasmine/src/Queue.js +210 -0
  170. data/vendor/jasmine/src/Reporter.js +27 -0
  171. data/vendor/jasmine/src/Reporters.js +43 -0
  172. data/vendor/jasmine/src/Runner.js +68 -0
  173. data/vendor/jasmine/src/Spec.js +254 -0
  174. data/vendor/jasmine/src/Suite.js +70 -0
  175. data/vendor/jasmine/src/WaitsBlock.js +13 -0
  176. data/vendor/jasmine/src/WaitsForBlock.js +38 -0
  177. data/vendor/jasmine/src/base.js +604 -0
  178. data/vendor/jasmine/src/mock-timeout.js +177 -0
  179. data/vendor/jasmine/src/util.js +67 -0
  180. data/vendor/jasmine/src/version.json +5 -0
  181. metadata +292 -0
@@ -0,0 +1,328 @@
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.XMLReporter</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.Env.html">jasmine.Env</a></li>
199
+
200
+ <li><a href="../symbols/jasmine.EnvjsReporter.html">jasmine.EnvjsReporter</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
+ <li><a href="../symbols/jasmine.XMLReporter.html">jasmine.XMLReporter</a></li>
223
+
224
+ </ul>
225
+ <hr />
226
+ <!-- end publish.classesIndex -->
227
+ </div>
228
+
229
+ <div id="content">
230
+ <!-- ============================== class title ============================ -->
231
+ <h1 class="classTitle">
232
+
233
+ Class jasmine.XMLReporter
234
+ </h1>
235
+
236
+ <!-- ============================== class summary ========================== -->
237
+ <p class="description">
238
+
239
+
240
+
241
+
242
+
243
+ <br /><i>Defined in: </i> <a href="../symbols/src/lib_XMLReporter.js.html">XMLReporter.js</a>.
244
+
245
+ </p>
246
+
247
+ <!-- ============================== constructor summary ==================== -->
248
+
249
+ <table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class jasmine.XMLReporter.">
250
+ <caption>Class Summary</caption>
251
+ <thead>
252
+ <tr>
253
+ <th scope="col">Constructor Attributes</th>
254
+ <th scope="col">Constructor Name and Description</th>
255
+ </tr>
256
+ </thead>
257
+ <tbody>
258
+ <tr>
259
+ <td class="attributes">&nbsp;</td>
260
+ <td class="nameDescription" >
261
+ <div class="fixedFont">
262
+ <b><a href="../symbols/jasmine.XMLReporter.html">jasmine.XMLReporter</a></b>()
263
+ </div>
264
+ <div class="description">JavaScript API reporter.</div>
265
+ </td>
266
+ </tr>
267
+ </tbody>
268
+ </table>
269
+
270
+
271
+ <!-- ============================== properties summary ===================== -->
272
+
273
+
274
+ <!-- ============================== methods summary ======================== -->
275
+
276
+ <!-- ============================== events summary ======================== -->
277
+
278
+
279
+ <!-- ============================== constructor details ==================== -->
280
+
281
+ <div class="details"><a name="constructor"> </a>
282
+ <div class="sectionTitle">
283
+ Class Detail
284
+ </div>
285
+
286
+ <div class="fixedFont">
287
+ <b>jasmine.XMLReporter</b>()
288
+ </div>
289
+
290
+ <div class="description">
291
+ JavaScript API reporter.
292
+
293
+ </div>
294
+
295
+
296
+
297
+
298
+
299
+
300
+
301
+
302
+
303
+
304
+
305
+
306
+ </div>
307
+
308
+
309
+ <!-- ============================== field details ========================== -->
310
+
311
+
312
+ <!-- ============================== method details ========================= -->
313
+
314
+
315
+ <!-- ============================== event details ========================= -->
316
+
317
+
318
+ <hr />
319
+ </div>
320
+
321
+
322
+ <!-- ============================== footer ================================= -->
323
+ <div class="fineprint" style="clear:both">
324
+
325
+ Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Wed Nov 11 2009 12:48:34 GMT-0800 (PST)
326
+ </div>
327
+ </body>
328
+ </html>
@@ -0,0 +1,1359 @@
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</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
+ Namespace jasmine
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_base.js.html">base.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.">
248
+ <caption>Namespace 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.html">jasmine</a></b>
261
+ </div>
262
+ <div class="description">Top level namespace for Jasmine, a lightweight JavaScript BDD/spec/testing framework.</div>
263
+ </td>
264
+ </tr>
265
+ </tbody>
266
+ </table>
267
+
268
+
269
+ <!-- ============================== properties summary ===================== -->
270
+
271
+
272
+
273
+ <table class="summaryTable" cellspacing="0" summary="A summary of the fields documented in the class jasmine.">
274
+ <caption>Field Summary</caption>
275
+ <thead>
276
+ <tr>
277
+ <th scope="col">Field Attributes</th>
278
+ <th scope="col">Field Name and Description</th>
279
+ </tr>
280
+ </thead>
281
+ <tbody>
282
+
283
+ <tr>
284
+ <td class="attributes">&lt;static&gt; &nbsp;</td>
285
+ <td class="nameDescription">
286
+ <div class="fixedFont">
287
+ jasmine.<b><a href="../symbols/jasmine.html#.DEFAULT_UPDATE_INTERVAL">DEFAULT_UPDATE_INTERVAL</a></b>
288
+ </div>
289
+ <div class="description">Default interval for event loop yields.</div>
290
+ </td>
291
+ </tr>
292
+
293
+ <tr>
294
+ <td class="attributes">&lt;static&gt; &nbsp;</td>
295
+ <td class="nameDescription">
296
+ <div class="fixedFont">
297
+ jasmine.<b><a href="../symbols/jasmine.html#.details">details</a></b>
298
+ </div>
299
+ <div class="description"></div>
300
+ </td>
301
+ </tr>
302
+
303
+ <tr>
304
+ <td class="attributes">&lt;static&gt; &nbsp;</td>
305
+ <td class="nameDescription">
306
+ <div class="fixedFont">
307
+ jasmine.<b><a href="../symbols/jasmine.html#.Reporters">Reporters</a></b>
308
+ </div>
309
+ <div class="description">JasmineReporters.reporter
310
+ Base object that will get called whenever a Spec, Suite, or Runner is done.</div>
311
+ </td>
312
+ </tr>
313
+
314
+ </tbody>
315
+ </table>
316
+
317
+
318
+
319
+
320
+
321
+ <!-- ============================== methods summary ======================== -->
322
+
323
+
324
+
325
+ <table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class jasmine.">
326
+ <caption>Method Summary</caption>
327
+ <thead>
328
+ <tr>
329
+ <th scope="col">Method Attributes</th>
330
+ <th scope="col">Method Name and Description</th>
331
+ </tr>
332
+ </thead>
333
+ <tbody>
334
+
335
+ <tr>
336
+ <td class="attributes">&lt;static&gt; &nbsp;</td>
337
+ <td class="nameDescription">
338
+ <div class="fixedFont">jasmine.<b><a href="../symbols/jasmine.html#.any">any</a></b>(clazz)
339
+ </div>
340
+ <div class="description">Returns a matchable 'generic' object of the class type.</div>
341
+ </td>
342
+ </tr>
343
+
344
+ <tr>
345
+ <td class="attributes">&lt;static&gt; &nbsp;</td>
346
+ <td class="nameDescription">
347
+ <div class="fixedFont">jasmine.<b><a href="../symbols/jasmine.html#.createSpy">createSpy</a></b>(name)
348
+ </div>
349
+ <div class="description"></div>
350
+ </td>
351
+ </tr>
352
+
353
+ <tr>
354
+ <td class="attributes">&lt;static&gt; &nbsp;</td>
355
+ <td class="nameDescription">
356
+ <div class="fixedFont">jasmine.<b><a href="../symbols/jasmine.html#.createSpyObj">createSpyObj</a></b>(baseName, methodNames)
357
+ </div>
358
+ <div class="description">Creates a more complicated spy: an Object that has every property a function that is a spy.</div>
359
+ </td>
360
+ </tr>
361
+
362
+ <tr>
363
+ <td class="attributes">&lt;static&gt; &nbsp;</td>
364
+ <td class="nameDescription">
365
+ <div class="fixedFont">jasmine.<b><a href="../symbols/jasmine.html#.ExpectationResult">ExpectationResult</a></b>(params)
366
+ </div>
367
+ <div class="description"></div>
368
+ </td>
369
+ </tr>
370
+
371
+ <tr>
372
+ <td class="attributes">&lt;static&gt; &nbsp;</td>
373
+ <td class="nameDescription">
374
+ <div class="fixedFont">jasmine.<b><a href="../symbols/jasmine.html#.FakeTimer">FakeTimer</a></b>()
375
+ </div>
376
+ <div class="description"></div>
377
+ </td>
378
+ </tr>
379
+
380
+ <tr>
381
+ <td class="attributes">&lt;static&gt; &nbsp;</td>
382
+ <td class="nameDescription">
383
+ <div class="fixedFont">jasmine.<b><a href="../symbols/jasmine.html#.getEnv">getEnv</a></b>()
384
+ </div>
385
+ <div class="description">Getter for the Jasmine environment.</div>
386
+ </td>
387
+ </tr>
388
+
389
+ <tr>
390
+ <td class="attributes">&lt;static&gt; &nbsp;</td>
391
+ <td class="nameDescription">
392
+ <div class="fixedFont">jasmine.<b><a href="../symbols/jasmine.html#.include">include</a></b>(url, opt_global)
393
+ </div>
394
+ <div class="description"></div>
395
+ </td>
396
+ </tr>
397
+
398
+ <tr>
399
+ <td class="attributes">&lt;static&gt; &nbsp;</td>
400
+ <td class="nameDescription">
401
+ <div class="fixedFont">jasmine.<b><a href="../symbols/jasmine.html#.isDomNode">isDomNode</a></b>(obj)
402
+ </div>
403
+ <div class="description">Returns true if the object is a DOM Node.</div>
404
+ </td>
405
+ </tr>
406
+
407
+ <tr>
408
+ <td class="attributes">&lt;static&gt; &nbsp;</td>
409
+ <td class="nameDescription">
410
+ <div class="fixedFont">jasmine.<b><a href="../symbols/jasmine.html#.log">log</a></b>(message)
411
+ </div>
412
+ <div class="description"></div>
413
+ </td>
414
+ </tr>
415
+
416
+ <tr>
417
+ <td class="attributes">&lt;static&gt; &nbsp;</td>
418
+ <td class="nameDescription">
419
+ <div class="fixedFont">jasmine.<b><a href="../symbols/jasmine.html#.MessageResult">MessageResult</a></b>(text)
420
+ </div>
421
+ <div class="description"></div>
422
+ </td>
423
+ </tr>
424
+
425
+ <tr>
426
+ <td class="attributes">&lt;static&gt; &nbsp;</td>
427
+ <td class="nameDescription">
428
+ <div class="fixedFont">jasmine.<b><a href="../symbols/jasmine.html#.pending_">pending_</a></b>()
429
+ </div>
430
+ <div class="description"></div>
431
+ </td>
432
+ </tr>
433
+
434
+ <tr>
435
+ <td class="attributes">&lt;static&gt; &nbsp;</td>
436
+ <td class="nameDescription">
437
+ <div class="fixedFont">jasmine.<b><a href="../symbols/jasmine.html#.pp">pp</a></b>(value)
438
+ </div>
439
+ <div class="description">Pretty printer for expecations.</div>
440
+ </td>
441
+ </tr>
442
+
443
+ <tr>
444
+ <td class="attributes">&lt;static&gt; &nbsp;</td>
445
+ <td class="nameDescription">
446
+ <div class="fixedFont">jasmine.<b><a href="../symbols/jasmine.html#.PrettyPrinter">PrettyPrinter</a></b>()
447
+ </div>
448
+ <div class="description">Base class for pretty printing for expectation results.</div>
449
+ </td>
450
+ </tr>
451
+
452
+ <tr>
453
+ <td class="attributes">&lt;static&gt; &nbsp;</td>
454
+ <td class="nameDescription">
455
+ <div class="fixedFont">jasmine.<b><a href="../symbols/jasmine.html#.Queue">Queue</a></b>(env)
456
+ </div>
457
+ <div class="description"></div>
458
+ </td>
459
+ </tr>
460
+
461
+ <tr>
462
+ <td class="attributes">&lt;static&gt; &nbsp;</td>
463
+ <td class="nameDescription">
464
+ <div class="fixedFont">jasmine.<b><a href="../symbols/jasmine.html#.StringPrettyPrinter">StringPrettyPrinter</a></b>()
465
+ </div>
466
+ <div class="description"></div>
467
+ </td>
468
+ </tr>
469
+
470
+ <tr>
471
+ <td class="attributes">&lt;static&gt; &nbsp;</td>
472
+ <td class="nameDescription">
473
+ <div class="fixedFont">jasmine.<b><a href="../symbols/jasmine.html#.TrivialReporter">TrivialReporter</a></b>(doc)
474
+ </div>
475
+ <div class="description"></div>
476
+ </td>
477
+ </tr>
478
+
479
+ <tr>
480
+ <td class="attributes">&lt;static&gt; &nbsp;</td>
481
+ <td class="nameDescription">
482
+ <div class="fixedFont">jasmine.<b><a href="../symbols/jasmine.html#.WaitsBlock">WaitsBlock</a></b>(env, timeout, spec)
483
+ </div>
484
+ <div class="description"></div>
485
+ </td>
486
+ </tr>
487
+
488
+ <tr>
489
+ <td class="attributes">&lt;static&gt; &nbsp;</td>
490
+ <td class="nameDescription">
491
+ <div class="fixedFont">jasmine.<b><a href="../symbols/jasmine.html#.WaitsForBlock">WaitsForBlock</a></b>(env, timeout, latchFunction, message, spec)
492
+ </div>
493
+ <div class="description"></div>
494
+ </td>
495
+ </tr>
496
+
497
+ <tr>
498
+ <td class="attributes">&lt;static&gt; &nbsp;</td>
499
+ <td class="nameDescription">
500
+ <div class="fixedFont">jasmine.<b><a href="../symbols/jasmine.html#.XmlHttpRequest">XmlHttpRequest</a></b>()
501
+ </div>
502
+ <div class="description"></div>
503
+ </td>
504
+ </tr>
505
+
506
+ </tbody>
507
+ </table>
508
+
509
+
510
+
511
+
512
+ <!-- ============================== events summary ======================== -->
513
+
514
+
515
+ <!-- ============================== constructor details ==================== -->
516
+
517
+ <div class="details"><a name="constructor"> </a>
518
+ <div class="sectionTitle">
519
+ Namespace Detail
520
+ </div>
521
+
522
+ <div class="fixedFont">
523
+ <b>jasmine</b>
524
+ </div>
525
+
526
+ <div class="description">
527
+ Top level namespace for Jasmine, a lightweight JavaScript BDD/spec/testing framework.
528
+
529
+ </div>
530
+
531
+
532
+
533
+
534
+
535
+
536
+
537
+
538
+
539
+
540
+
541
+
542
+ </div>
543
+
544
+
545
+ <!-- ============================== field details ========================== -->
546
+
547
+ <div class="sectionTitle">
548
+ Field Detail
549
+ </div>
550
+
551
+ <a name=".DEFAULT_UPDATE_INTERVAL"> </a>
552
+ <div class="fixedFont">&lt;static&gt;
553
+
554
+
555
+ <span class="light">jasmine.</span><b>DEFAULT_UPDATE_INTERVAL</b>
556
+
557
+ </div>
558
+ <div class="description">
559
+ Default interval for event loop yields. Small values here may result in slow test running. Zero means no updates until all tests have completed.
560
+
561
+
562
+ </div>
563
+
564
+
565
+
566
+
567
+
568
+
569
+
570
+
571
+ <hr />
572
+
573
+ <a name=".details"> </a>
574
+ <div class="fixedFont">&lt;static&gt;
575
+
576
+
577
+ <span class="light">jasmine.</span><b>details</b>
578
+
579
+ </div>
580
+ <div class="description">
581
+
582
+
583
+
584
+ </div>
585
+
586
+
587
+
588
+
589
+
590
+
591
+
592
+
593
+ <hr />
594
+
595
+ <a name=".Reporters"> </a>
596
+ <div class="fixedFont">&lt;static&gt;
597
+
598
+
599
+ <span class="light">jasmine.</span><b>Reporters</b>
600
+
601
+ </div>
602
+ <div class="description">
603
+ JasmineReporters.reporter
604
+ Base object that will get called whenever a Spec, Suite, or Runner is done. It is up to
605
+ descendants of this object to do something with the results (see json_reporter.js)
606
+
607
+ <br />
608
+ <i>Defined in: </i> <a href="../symbols/src/src_Reporters.js.html">Reporters.js</a>.
609
+
610
+
611
+ </div>
612
+
613
+
614
+
615
+
616
+
617
+
618
+
619
+
620
+
621
+
622
+
623
+
624
+ <!-- ============================== method details ========================= -->
625
+
626
+ <div class="sectionTitle">
627
+ Method Detail
628
+ </div>
629
+
630
+ <a name=".any"> </a>
631
+ <div class="fixedFont">&lt;static&gt;
632
+
633
+
634
+ <span class="light">jasmine.</span><b>any</b>(clazz)
635
+
636
+ </div>
637
+ <div class="description">
638
+ Returns a matchable 'generic' object of the class type. For use in expecations of type when values don't matter.
639
+
640
+
641
+ </div>
642
+
643
+
644
+
645
+ <pre class="code">// don't care about which function is passed in, as long as it's a function
646
+ expect(mySpy).wasCalledWith(jasmine.any(Function));</pre>
647
+
648
+
649
+
650
+
651
+ <dl class="detailList">
652
+ <dt class="heading">Parameters:</dt>
653
+
654
+ <dt>
655
+ <span class="light fixedFont">{Class}</span> <b>clazz</b>
656
+
657
+ </dt>
658
+ <dd></dd>
659
+
660
+ </dl>
661
+
662
+
663
+
664
+
665
+
666
+ <dl class="detailList">
667
+ <dt class="heading">Returns:</dt>
668
+
669
+ <dd>matchable object of the type clazz</dd>
670
+
671
+ </dl>
672
+
673
+
674
+
675
+
676
+ <hr />
677
+
678
+ <a name=".createSpy"> </a>
679
+ <div class="fixedFont">&lt;static&gt;
680
+
681
+
682
+ <span class="light">jasmine.</span><b>createSpy</b>(name)
683
+
684
+ </div>
685
+ <div class="description">
686
+
687
+
688
+
689
+ </div>
690
+
691
+
692
+
693
+
694
+ <dl class="detailList">
695
+ <dt class="heading">Parameters:</dt>
696
+
697
+ <dt>
698
+ <b>name</b>
699
+
700
+ </dt>
701
+ <dd></dd>
702
+
703
+ </dl>
704
+
705
+
706
+
707
+
708
+
709
+
710
+
711
+
712
+ <hr />
713
+
714
+ <a name=".createSpyObj"> </a>
715
+ <div class="fixedFont">&lt;static&gt;
716
+
717
+
718
+ <span class="light">jasmine.</span><b>createSpyObj</b>(baseName, methodNames)
719
+
720
+ </div>
721
+ <div class="description">
722
+ Creates a more complicated spy: an Object that has every property a function that is a spy. Used for stubbing something
723
+ large in one call.
724
+
725
+
726
+ </div>
727
+
728
+
729
+
730
+
731
+ <dl class="detailList">
732
+ <dt class="heading">Parameters:</dt>
733
+
734
+ <dt>
735
+ <span class="light fixedFont">{String}</span> <b>baseName</b>
736
+
737
+ </dt>
738
+ <dd>name of spy class</dd>
739
+
740
+ <dt>
741
+ <span class="light fixedFont">{Array}</span> <b>methodNames</b>
742
+
743
+ </dt>
744
+ <dd>array of names of methods to make spies</dd>
745
+
746
+ </dl>
747
+
748
+
749
+
750
+
751
+
752
+
753
+
754
+
755
+ <hr />
756
+
757
+ <a name=".ExpectationResult"> </a>
758
+ <div class="fixedFont">&lt;static&gt;
759
+
760
+
761
+ <span class="light">jasmine.</span><b>ExpectationResult</b>(params)
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>params</b>
778
+
779
+ </dt>
780
+ <dd></dd>
781
+
782
+ </dl>
783
+
784
+
785
+
786
+
787
+
788
+
789
+
790
+
791
+ <hr />
792
+
793
+ <a name=".FakeTimer"> </a>
794
+ <div class="fixedFont">&lt;static&gt;
795
+
796
+
797
+ <span class="light">jasmine.</span><b>FakeTimer</b>()
798
+
799
+ </div>
800
+ <div class="description">
801
+
802
+
803
+ <br />
804
+ <i>Defined in: </i> <a href="../symbols/src/src_mock-timeout.js.html">mock-timeout.js</a>.
805
+
806
+
807
+ </div>
808
+
809
+
810
+
811
+
812
+
813
+
814
+
815
+
816
+
817
+
818
+
819
+ <hr />
820
+
821
+ <a name=".getEnv"> </a>
822
+ <div class="fixedFont">&lt;static&gt;
823
+
824
+
825
+ <span class="light">jasmine.</span><b>getEnv</b>()
826
+
827
+ </div>
828
+ <div class="description">
829
+ Getter for the Jasmine environment. Ensures one gets created
830
+
831
+
832
+ </div>
833
+
834
+
835
+
836
+
837
+
838
+
839
+
840
+
841
+
842
+
843
+
844
+ <hr />
845
+
846
+ <a name=".include"> </a>
847
+ <div class="fixedFont">&lt;static&gt;
848
+
849
+
850
+ <span class="light">jasmine.</span><b>include</b>(url, opt_global)
851
+
852
+ </div>
853
+ <div class="description">
854
+
855
+
856
+
857
+ </div>
858
+
859
+
860
+
861
+
862
+ <dl class="detailList">
863
+ <dt class="heading">Parameters:</dt>
864
+
865
+ <dt>
866
+ <b>url</b>
867
+
868
+ </dt>
869
+ <dd></dd>
870
+
871
+ <dt>
872
+ <b>opt_global</b>
873
+
874
+ </dt>
875
+ <dd></dd>
876
+
877
+ </dl>
878
+
879
+
880
+
881
+
882
+
883
+
884
+
885
+
886
+ <hr />
887
+
888
+ <a name=".isDomNode"> </a>
889
+ <div class="fixedFont">&lt;static&gt;
890
+
891
+ <span class="light">{Boolean}</span>
892
+ <span class="light">jasmine.</span><b>isDomNode</b>(obj)
893
+
894
+ </div>
895
+ <div class="description">
896
+ Returns true if the object is a DOM Node.
897
+
898
+
899
+ </div>
900
+
901
+
902
+
903
+
904
+ <dl class="detailList">
905
+ <dt class="heading">Parameters:</dt>
906
+
907
+ <dt>
908
+ <span class="light fixedFont">{Object}</span> <b>obj</b>
909
+
910
+ </dt>
911
+ <dd>object to check</dd>
912
+
913
+ </dl>
914
+
915
+
916
+
917
+
918
+
919
+ <dl class="detailList">
920
+ <dt class="heading">Returns:</dt>
921
+
922
+ <dd><span class="light fixedFont">{Boolean}</span> </dd>
923
+
924
+ </dl>
925
+
926
+
927
+
928
+
929
+ <hr />
930
+
931
+ <a name=".log"> </a>
932
+ <div class="fixedFont">&lt;static&gt;
933
+
934
+
935
+ <span class="light">jasmine.</span><b>log</b>(message)
936
+
937
+ </div>
938
+ <div class="description">
939
+
940
+
941
+
942
+ </div>
943
+
944
+
945
+
946
+
947
+ <dl class="detailList">
948
+ <dt class="heading">Parameters:</dt>
949
+
950
+ <dt>
951
+ <b>message</b>
952
+
953
+ </dt>
954
+ <dd></dd>
955
+
956
+ </dl>
957
+
958
+
959
+
960
+
961
+
962
+
963
+
964
+
965
+ <hr />
966
+
967
+ <a name=".MessageResult"> </a>
968
+ <div class="fixedFont">&lt;static&gt;
969
+
970
+
971
+ <span class="light">jasmine.</span><b>MessageResult</b>(text)
972
+
973
+ </div>
974
+ <div class="description">
975
+
976
+
977
+
978
+ </div>
979
+
980
+
981
+
982
+
983
+ <dl class="detailList">
984
+ <dt class="heading">Parameters:</dt>
985
+
986
+ <dt>
987
+ <b>text</b>
988
+
989
+ </dt>
990
+ <dd></dd>
991
+
992
+ </dl>
993
+
994
+
995
+
996
+
997
+
998
+
999
+
1000
+
1001
+ <hr />
1002
+
1003
+ <a name=".pending_"> </a>
1004
+ <div class="fixedFont">&lt;static&gt;
1005
+
1006
+
1007
+ <span class="light">jasmine.</span><b>pending_</b>()
1008
+
1009
+ </div>
1010
+ <div class="description">
1011
+
1012
+
1013
+
1014
+ </div>
1015
+
1016
+
1017
+
1018
+
1019
+
1020
+
1021
+
1022
+
1023
+
1024
+
1025
+
1026
+ <hr />
1027
+
1028
+ <a name=".pp"> </a>
1029
+ <div class="fixedFont">&lt;static&gt;
1030
+
1031
+ <span class="light">{String}</span>
1032
+ <span class="light">jasmine.</span><b>pp</b>(value)
1033
+
1034
+ </div>
1035
+ <div class="description">
1036
+ Pretty printer for expecations. Takes any object and turns it into a human-readable string.
1037
+
1038
+
1039
+ </div>
1040
+
1041
+
1042
+
1043
+
1044
+ <dl class="detailList">
1045
+ <dt class="heading">Parameters:</dt>
1046
+
1047
+ <dt>
1048
+ <b>value</b>
1049
+
1050
+ </dt>
1051
+ <dd>{Object} an object to be outputted</dd>
1052
+
1053
+ </dl>
1054
+
1055
+
1056
+
1057
+
1058
+
1059
+ <dl class="detailList">
1060
+ <dt class="heading">Returns:</dt>
1061
+
1062
+ <dd><span class="light fixedFont">{String}</span> </dd>
1063
+
1064
+ </dl>
1065
+
1066
+
1067
+
1068
+
1069
+ <hr />
1070
+
1071
+ <a name=".PrettyPrinter"> </a>
1072
+ <div class="fixedFont">&lt;static&gt;
1073
+
1074
+
1075
+ <span class="light">jasmine.</span><b>PrettyPrinter</b>()
1076
+
1077
+ </div>
1078
+ <div class="description">
1079
+ Base class for pretty printing for expectation results.
1080
+
1081
+ <br />
1082
+ <i>Defined in: </i> <a href="../symbols/src/src_PrettyPrinter.js.html">PrettyPrinter.js</a>.
1083
+
1084
+
1085
+ </div>
1086
+
1087
+
1088
+
1089
+
1090
+
1091
+
1092
+
1093
+
1094
+
1095
+
1096
+
1097
+ <hr />
1098
+
1099
+ <a name=".Queue"> </a>
1100
+ <div class="fixedFont">&lt;static&gt;
1101
+
1102
+
1103
+ <span class="light">jasmine.</span><b>Queue</b>(env)
1104
+
1105
+ </div>
1106
+ <div class="description">
1107
+
1108
+
1109
+ <br />
1110
+ <i>Defined in: </i> <a href="../symbols/src/src_Queue.js.html">Queue.js</a>.
1111
+
1112
+
1113
+ </div>
1114
+
1115
+
1116
+
1117
+
1118
+ <dl class="detailList">
1119
+ <dt class="heading">Parameters:</dt>
1120
+
1121
+ <dt>
1122
+ <b>env</b>
1123
+
1124
+ </dt>
1125
+ <dd></dd>
1126
+
1127
+ </dl>
1128
+
1129
+
1130
+
1131
+
1132
+
1133
+
1134
+
1135
+
1136
+ <hr />
1137
+
1138
+ <a name=".StringPrettyPrinter"> </a>
1139
+ <div class="fixedFont">&lt;static&gt;
1140
+
1141
+
1142
+ <span class="light">jasmine.</span><b>StringPrettyPrinter</b>()
1143
+
1144
+ </div>
1145
+ <div class="description">
1146
+
1147
+
1148
+ <br />
1149
+ <i>Defined in: </i> <a href="../symbols/src/src_PrettyPrinter.js.html">PrettyPrinter.js</a>.
1150
+
1151
+
1152
+ </div>
1153
+
1154
+
1155
+
1156
+
1157
+
1158
+
1159
+
1160
+
1161
+
1162
+
1163
+
1164
+ <hr />
1165
+
1166
+ <a name=".TrivialReporter"> </a>
1167
+ <div class="fixedFont">&lt;static&gt;
1168
+
1169
+
1170
+ <span class="light">jasmine.</span><b>TrivialReporter</b>(doc)
1171
+
1172
+ </div>
1173
+ <div class="description">
1174
+
1175
+
1176
+ <br />
1177
+ <i>Defined in: </i> <a href="../symbols/src/lib_TrivialReporter.js.html">TrivialReporter.js</a>.
1178
+
1179
+
1180
+ </div>
1181
+
1182
+
1183
+
1184
+
1185
+ <dl class="detailList">
1186
+ <dt class="heading">Parameters:</dt>
1187
+
1188
+ <dt>
1189
+ <b>doc</b>
1190
+
1191
+ </dt>
1192
+ <dd></dd>
1193
+
1194
+ </dl>
1195
+
1196
+
1197
+
1198
+
1199
+
1200
+
1201
+
1202
+
1203
+ <hr />
1204
+
1205
+ <a name=".WaitsBlock"> </a>
1206
+ <div class="fixedFont">&lt;static&gt;
1207
+
1208
+
1209
+ <span class="light">jasmine.</span><b>WaitsBlock</b>(env, timeout, spec)
1210
+
1211
+ </div>
1212
+ <div class="description">
1213
+
1214
+
1215
+ <br />
1216
+ <i>Defined in: </i> <a href="../symbols/src/src_WaitsBlock.js.html">WaitsBlock.js</a>.
1217
+
1218
+
1219
+ </div>
1220
+
1221
+
1222
+
1223
+
1224
+ <dl class="detailList">
1225
+ <dt class="heading">Parameters:</dt>
1226
+
1227
+ <dt>
1228
+ <b>env</b>
1229
+
1230
+ </dt>
1231
+ <dd></dd>
1232
+
1233
+ <dt>
1234
+ <b>timeout</b>
1235
+
1236
+ </dt>
1237
+ <dd></dd>
1238
+
1239
+ <dt>
1240
+ <b>spec</b>
1241
+
1242
+ </dt>
1243
+ <dd></dd>
1244
+
1245
+ </dl>
1246
+
1247
+
1248
+
1249
+
1250
+
1251
+
1252
+
1253
+
1254
+ <hr />
1255
+
1256
+ <a name=".WaitsForBlock"> </a>
1257
+ <div class="fixedFont">&lt;static&gt;
1258
+
1259
+
1260
+ <span class="light">jasmine.</span><b>WaitsForBlock</b>(env, timeout, latchFunction, message, spec)
1261
+
1262
+ </div>
1263
+ <div class="description">
1264
+
1265
+
1266
+ <br />
1267
+ <i>Defined in: </i> <a href="../symbols/src/src_WaitsForBlock.js.html">WaitsForBlock.js</a>.
1268
+
1269
+
1270
+ </div>
1271
+
1272
+
1273
+
1274
+
1275
+ <dl class="detailList">
1276
+ <dt class="heading">Parameters:</dt>
1277
+
1278
+ <dt>
1279
+ <b>env</b>
1280
+
1281
+ </dt>
1282
+ <dd></dd>
1283
+
1284
+ <dt>
1285
+ <b>timeout</b>
1286
+
1287
+ </dt>
1288
+ <dd></dd>
1289
+
1290
+ <dt>
1291
+ <b>latchFunction</b>
1292
+
1293
+ </dt>
1294
+ <dd></dd>
1295
+
1296
+ <dt>
1297
+ <b>message</b>
1298
+
1299
+ </dt>
1300
+ <dd></dd>
1301
+
1302
+ <dt>
1303
+ <b>spec</b>
1304
+
1305
+ </dt>
1306
+ <dd></dd>
1307
+
1308
+ </dl>
1309
+
1310
+
1311
+
1312
+
1313
+
1314
+
1315
+
1316
+
1317
+ <hr />
1318
+
1319
+ <a name=".XmlHttpRequest"> </a>
1320
+ <div class="fixedFont">&lt;static&gt;
1321
+
1322
+
1323
+ <span class="light">jasmine.</span><b>XmlHttpRequest</b>()
1324
+
1325
+ </div>
1326
+ <div class="description">
1327
+
1328
+
1329
+
1330
+ </div>
1331
+
1332
+
1333
+
1334
+
1335
+
1336
+
1337
+
1338
+
1339
+
1340
+
1341
+
1342
+
1343
+
1344
+
1345
+
1346
+ <!-- ============================== event details ========================= -->
1347
+
1348
+
1349
+ <hr />
1350
+ </div>
1351
+
1352
+
1353
+ <!-- ============================== footer ================================= -->
1354
+ <div class="fineprint" style="clear:both">
1355
+
1356
+ Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Tue Nov 24 2009 15:21:26 GMT-0800 (PST)
1357
+ </div>
1358
+ </body>
1359
+ </html>