evergreen 0.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. data/README.rdoc +101 -3
  2. data/bin/evergreen +2 -2
  3. data/lib/evergreen.rb +14 -2
  4. data/lib/evergreen/evergreen.js +23 -0
  5. data/lib/evergreen/rails.rb +8 -0
  6. data/lib/evergreen/runner.rb +21 -14
  7. data/lib/evergreen/spec.rb +12 -33
  8. data/lib/evergreen/version.rb +1 -1
  9. data/lib/evergreen/views/list.erb +1 -1
  10. data/lib/evergreen/views/spec.erb +9 -22
  11. data/lib/jasmine/README.markdown +21 -28
  12. data/lib/jasmine/Rakefile +98 -68
  13. data/lib/jasmine/example/SpecRunner.html +27 -0
  14. data/lib/jasmine/example/spec/PlayerSpec.js +58 -0
  15. data/lib/jasmine/example/spec/SpecHelper.js +9 -0
  16. data/lib/jasmine/example/src/Player.js +22 -0
  17. data/lib/jasmine/example/src/Song.js +7 -0
  18. data/lib/jasmine/lib/jasmine-html.js +182 -0
  19. data/lib/jasmine/lib/{jasmine-0.10.4.js → jasmine.js} +127 -155
  20. data/lib/jasmine/spec/runner.html +4 -3
  21. data/lib/jasmine/spec/suites/BaseSpec.js +27 -0
  22. data/lib/jasmine/spec/suites/CustomMatchersSpec.js +0 -24
  23. data/lib/jasmine/spec/suites/EnvSpec.js +1 -1
  24. data/lib/jasmine/spec/suites/JsApiReporterSpec.js +16 -9
  25. data/lib/jasmine/spec/suites/MatchersSpec.js +49 -42
  26. data/lib/jasmine/spec/suites/MockClockSpec.js +4 -0
  27. data/lib/jasmine/spec/suites/MultiReporterSpec.js +23 -8
  28. data/lib/jasmine/spec/suites/PrettyPrintSpec.js +2 -2
  29. data/lib/jasmine/spec/suites/ReporterSpec.js +10 -14
  30. data/lib/jasmine/spec/suites/RunnerSpec.js +6 -6
  31. data/lib/jasmine/spec/suites/SpecRunningSpec.js +1 -1
  32. data/lib/jasmine/spec/suites/SpecSpec.js +15 -1
  33. data/lib/jasmine/spec/suites/SpySpec.js +3 -3
  34. data/lib/jasmine/spec/suites/TrivialReporterSpec.js +91 -14
  35. data/lib/jasmine/spec/suites/WaitsForBlockSpec.js +5 -6
  36. data/lib/jasmine/src/JsApiReporter.js +4 -6
  37. data/lib/jasmine/src/Matchers.js +19 -19
  38. data/lib/jasmine/src/MultiReporter.js +8 -1
  39. data/lib/jasmine/src/NestedResults.js +5 -5
  40. data/lib/jasmine/src/PrettyPrinter.js +2 -2
  41. data/lib/jasmine/src/Reporter.js +4 -0
  42. data/lib/jasmine/src/Spec.js +12 -8
  43. data/lib/jasmine/src/base.js +40 -44
  44. data/lib/jasmine/{lib → src/html}/TrivialReporter.js +17 -6
  45. data/lib/jasmine/src/html/jasmine.css +166 -0
  46. data/lib/jasmine/src/mock-timeout.js +22 -16
  47. data/lib/jasmine/src/version.json +2 -2
  48. data/lib/tasks/evergreen.rake +7 -0
  49. data/spec/evergreen_spec.rb +18 -0
  50. data/spec/fixtures/public/jquery.js +152 -0
  51. data/spec/fixtures/spec/javascripts/bar_spec.js +0 -0
  52. data/spec/fixtures/spec/javascripts/failing_spec.js +12 -0
  53. data/spec/fixtures/spec/javascripts/foo_spec.js +0 -0
  54. data/spec/fixtures/spec/javascripts/templates_spec.html +1 -0
  55. data/spec/fixtures/spec/javascripts/templates_spec.js +23 -0
  56. data/spec/fixtures/spec/javascripts/testing_spec.js +11 -0
  57. data/spec/fixtures/spec/javascripts/transactions_spec.js +14 -0
  58. data/spec/meta_spec.rb +17 -0
  59. data/spec/runner_spec.rb +35 -0
  60. data/spec/spec_helper.rb +33 -0
  61. data/spec/spec_spec.rb +30 -0
  62. metadata +64 -48
  63. data/lib/jasmine/doc/files.html +0 -460
  64. data/lib/jasmine/doc/index.html +0 -322
  65. data/lib/jasmine/doc/symbols/_global_.html +0 -918
  66. data/lib/jasmine/doc/symbols/jasmine.Block.html +0 -417
  67. data/lib/jasmine/doc/symbols/jasmine.Clock.html +0 -678
  68. data/lib/jasmine/doc/symbols/jasmine.Env.html +0 -1169
  69. data/lib/jasmine/doc/symbols/jasmine.JsApiReporter.html +0 -822
  70. data/lib/jasmine/doc/symbols/jasmine.Matchers.html +0 -1474
  71. data/lib/jasmine/doc/symbols/jasmine.MultiReporter.html +0 -394
  72. data/lib/jasmine/doc/symbols/jasmine.NestedResults.html +0 -710
  73. data/lib/jasmine/doc/symbols/jasmine.Reporter.html +0 -574
  74. data/lib/jasmine/doc/symbols/jasmine.Runner.html +0 -710
  75. data/lib/jasmine/doc/symbols/jasmine.Spec.html +0 -1253
  76. data/lib/jasmine/doc/symbols/jasmine.Spy.html +0 -855
  77. data/lib/jasmine/doc/symbols/jasmine.Suite.html +0 -705
  78. data/lib/jasmine/doc/symbols/jasmine.html +0 -1345
  79. data/lib/jasmine/doc/symbols/jasmine.util.html +0 -535
  80. data/lib/jasmine/doc/symbols/src/lib_TrivialReporter.js.html +0 -124
  81. data/lib/jasmine/doc/symbols/src/src_Block.js.html +0 -29
  82. data/lib/jasmine/doc/symbols/src/src_Env.js.html +0 -248
  83. data/lib/jasmine/doc/symbols/src/src_JsApiReporter.js.html +0 -111
  84. data/lib/jasmine/doc/symbols/src/src_Matchers.js.html +0 -344
  85. data/lib/jasmine/doc/symbols/src/src_MultiReporter.js.html +0 -36
  86. data/lib/jasmine/doc/symbols/src/src_NestedResults.js.html +0 -88
  87. data/lib/jasmine/doc/symbols/src/src_PrettyPrinter.js.html +0 -130
  88. data/lib/jasmine/doc/symbols/src/src_Queue.js.html +0 -102
  89. data/lib/jasmine/doc/symbols/src/src_Reporter.js.html +0 -35
  90. data/lib/jasmine/doc/symbols/src/src_Reporters.js.html +0 -51
  91. data/lib/jasmine/doc/symbols/src/src_Runner.js.html +0 -75
  92. data/lib/jasmine/doc/symbols/src/src_Spec.js.html +0 -214
  93. data/lib/jasmine/doc/symbols/src/src_Suite.js.html +0 -77
  94. data/lib/jasmine/doc/symbols/src/src_WaitsBlock.js.html +0 -21
  95. data/lib/jasmine/doc/symbols/src/src_WaitsForBlock.js.html +0 -45
  96. data/lib/jasmine/doc/symbols/src/src_base.js.html +0 -585
  97. data/lib/jasmine/doc/symbols/src/src_mock-timeout.js.html +0 -185
  98. data/lib/jasmine/doc/symbols/src/src_util.js.html +0 -75
  99. data/lib/jasmine/example/example_runner.html +0 -22
  100. data/lib/jasmine/example/spec/example_suite.js +0 -11
  101. data/lib/jasmine/spec/jasmine_helper.rb +0 -44
  102. data/lib/jasmine/spec/jasmine_spec.rb +0 -31
  103. data/lib/jasmine/spec/saucelabs.yml +0 -24
  104. data/lib/jasmine/src/Reporters.js +0 -43
@@ -1,417 +0,0 @@
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.Block</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.Block
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_Block.js.html">Block.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.Block.">
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.Block.html">jasmine.Block</a></b>(env, func, spec)
261
- </div>
262
- <div class="description">Blocks are functions with executable code that make up a spec.</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.Block.">
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.Block.html#execute">execute</a></b>(onComplete)
290
- </div>
291
- <div class="description"></div>
292
- </td>
293
- </tr>
294
-
295
- </tbody>
296
- </table>
297
-
298
-
299
-
300
-
301
- <!-- ============================== events summary ======================== -->
302
-
303
-
304
- <!-- ============================== constructor details ==================== -->
305
-
306
- <div class="details"><a name="constructor"> </a>
307
- <div class="sectionTitle">
308
- Class Detail
309
- </div>
310
-
311
- <div class="fixedFont">
312
- <b>jasmine.Block</b>(env, func, spec)
313
- </div>
314
-
315
- <div class="description">
316
- Blocks are functions with executable code that make up a spec.
317
-
318
- </div>
319
-
320
-
321
-
322
-
323
-
324
- <dl class="detailList">
325
- <dt class="heading">Parameters:</dt>
326
-
327
- <dt>
328
- <span class="light fixedFont">{<a href="../symbols/jasmine.Env.html">jasmine.Env</a>}</span> <b>env</b>
329
-
330
- </dt>
331
- <dd></dd>
332
-
333
- <dt>
334
- <span class="light fixedFont">{Function}</span> <b>func</b>
335
-
336
- </dt>
337
- <dd></dd>
338
-
339
- <dt>
340
- <span class="light fixedFont">{<a href="../symbols/jasmine.Spec.html">jasmine.Spec</a>}</span> <b>spec</b>
341
-
342
- </dt>
343
- <dd></dd>
344
-
345
- </dl>
346
-
347
-
348
-
349
-
350
-
351
-
352
-
353
-
354
- </div>
355
-
356
-
357
- <!-- ============================== field details ========================== -->
358
-
359
-
360
- <!-- ============================== method details ========================= -->
361
-
362
- <div class="sectionTitle">
363
- Method Detail
364
- </div>
365
-
366
- <a name="execute"> </a>
367
- <div class="fixedFont">
368
-
369
-
370
- <b>execute</b>(onComplete)
371
-
372
- </div>
373
- <div class="description">
374
-
375
-
376
-
377
- </div>
378
-
379
-
380
-
381
-
382
- <dl class="detailList">
383
- <dt class="heading">Parameters:</dt>
384
-
385
- <dt>
386
- <b>onComplete</b>
387
-
388
- </dt>
389
- <dd></dd>
390
-
391
- </dl>
392
-
393
-
394
-
395
-
396
-
397
-
398
-
399
-
400
-
401
-
402
-
403
-
404
- <!-- ============================== event details ========================= -->
405
-
406
-
407
- <hr />
408
- </div>
409
-
410
-
411
- <!-- ============================== footer ================================= -->
412
- <div class="fineprint" style="clear:both">
413
-
414
- Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Thu Mar 18 2010 20:35:00 GMT-0700 (PDT)
415
- </div>
416
- </body>
417
- </html>
@@ -1,678 +0,0 @@
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.Clock</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.Clock
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_mock-timeout.js.html">mock-timeout.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.Clock.">
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.Clock.html">jasmine.Clock</a></b>
261
- </div>
262
- <div class="description"></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.Clock.">
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">&lt;static&gt; &nbsp;</td>
288
- <td class="nameDescription">
289
- <div class="fixedFont">jasmine.Clock.<b><a href="../symbols/jasmine.Clock.html#.assertInstalled">assertInstalled</a></b>()
290
- </div>
291
- <div class="description"></div>
292
- </td>
293
- </tr>
294
-
295
- <tr>
296
- <td class="attributes">&lt;static&gt; &nbsp;</td>
297
- <td class="nameDescription">
298
- <div class="fixedFont">jasmine.Clock.<b><a href="../symbols/jasmine.Clock.html#.installMock">installMock</a></b>()
299
- </div>
300
- <div class="description"></div>
301
- </td>
302
- </tr>
303
-
304
- <tr>
305
- <td class="attributes">&lt;static&gt; &nbsp;</td>
306
- <td class="nameDescription">
307
- <div class="fixedFont">jasmine.Clock.<b><a href="../symbols/jasmine.Clock.html#.reset">reset</a></b>()
308
- </div>
309
- <div class="description"></div>
310
- </td>
311
- </tr>
312
-
313
- <tr>
314
- <td class="attributes">&lt;static&gt; &nbsp;</td>
315
- <td class="nameDescription">
316
- <div class="fixedFont">jasmine.Clock.<b><a href="../symbols/jasmine.Clock.html#.runFunctionsWithinRange">runFunctionsWithinRange</a></b>(oldMillis, nowMillis)
317
- </div>
318
- <div class="description"></div>
319
- </td>
320
- </tr>
321
-
322
- <tr>
323
- <td class="attributes">&lt;static&gt; &nbsp;</td>
324
- <td class="nameDescription">
325
- <div class="fixedFont">jasmine.Clock.<b><a href="../symbols/jasmine.Clock.html#.scheduleFunction">scheduleFunction</a></b>(timeoutKey, funcToCall, millis, recurring)
326
- </div>
327
- <div class="description"></div>
328
- </td>
329
- </tr>
330
-
331
- <tr>
332
- <td class="attributes">&lt;static&gt; &nbsp;</td>
333
- <td class="nameDescription">
334
- <div class="fixedFont">jasmine.Clock.<b><a href="../symbols/jasmine.Clock.html#.tick">tick</a></b>(millis)
335
- </div>
336
- <div class="description"></div>
337
- </td>
338
- </tr>
339
-
340
- <tr>
341
- <td class="attributes">&lt;static&gt; &nbsp;</td>
342
- <td class="nameDescription">
343
- <div class="fixedFont">jasmine.Clock.<b><a href="../symbols/jasmine.Clock.html#.uninstallMock">uninstallMock</a></b>()
344
- </div>
345
- <div class="description"></div>
346
- </td>
347
- </tr>
348
-
349
- <tr>
350
- <td class="attributes">&lt;static&gt; &nbsp;</td>
351
- <td class="nameDescription">
352
- <div class="fixedFont">jasmine.Clock.<b><a href="../symbols/jasmine.Clock.html#.useMock">useMock</a></b>()
353
- </div>
354
- <div class="description"></div>
355
- </td>
356
- </tr>
357
-
358
- </tbody>
359
- </table>
360
-
361
-
362
-
363
-
364
- <!-- ============================== events summary ======================== -->
365
-
366
-
367
- <!-- ============================== constructor details ==================== -->
368
-
369
- <div class="details"><a name="constructor"> </a>
370
- <div class="sectionTitle">
371
- Namespace Detail
372
- </div>
373
-
374
- <div class="fixedFont">
375
- <b>jasmine.Clock</b>
376
- </div>
377
-
378
- <div class="description">
379
-
380
-
381
- </div>
382
-
383
-
384
-
385
-
386
-
387
-
388
-
389
-
390
-
391
-
392
-
393
-
394
- </div>
395
-
396
-
397
- <!-- ============================== field details ========================== -->
398
-
399
-
400
- <!-- ============================== method details ========================= -->
401
-
402
- <div class="sectionTitle">
403
- Method Detail
404
- </div>
405
-
406
- <a name=".assertInstalled"> </a>
407
- <div class="fixedFont">&lt;static&gt;
408
-
409
-
410
- <span class="light">jasmine.Clock.</span><b>assertInstalled</b>()
411
-
412
- </div>
413
- <div class="description">
414
-
415
-
416
-
417
- </div>
418
-
419
-
420
-
421
-
422
-
423
-
424
-
425
-
426
-
427
-
428
-
429
- <hr />
430
-
431
- <a name=".installMock"> </a>
432
- <div class="fixedFont">&lt;static&gt;
433
-
434
-
435
- <span class="light">jasmine.Clock.</span><b>installMock</b>()
436
-
437
- </div>
438
- <div class="description">
439
-
440
-
441
-
442
- </div>
443
-
444
-
445
-
446
-
447
-
448
-
449
-
450
-
451
-
452
-
453
-
454
- <hr />
455
-
456
- <a name=".reset"> </a>
457
- <div class="fixedFont">&lt;static&gt;
458
-
459
-
460
- <span class="light">jasmine.Clock.</span><b>reset</b>()
461
-
462
- </div>
463
- <div class="description">
464
-
465
-
466
-
467
- </div>
468
-
469
-
470
-
471
-
472
-
473
-
474
-
475
-
476
-
477
-
478
-
479
- <hr />
480
-
481
- <a name=".runFunctionsWithinRange"> </a>
482
- <div class="fixedFont">&lt;static&gt;
483
-
484
-
485
- <span class="light">jasmine.Clock.</span><b>runFunctionsWithinRange</b>(oldMillis, nowMillis)
486
-
487
- </div>
488
- <div class="description">
489
-
490
-
491
-
492
- </div>
493
-
494
-
495
-
496
-
497
- <dl class="detailList">
498
- <dt class="heading">Parameters:</dt>
499
-
500
- <dt>
501
- <b>oldMillis</b>
502
-
503
- </dt>
504
- <dd></dd>
505
-
506
- <dt>
507
- <b>nowMillis</b>
508
-
509
- </dt>
510
- <dd></dd>
511
-
512
- </dl>
513
-
514
-
515
-
516
-
517
-
518
-
519
-
520
-
521
- <hr />
522
-
523
- <a name=".scheduleFunction"> </a>
524
- <div class="fixedFont">&lt;static&gt;
525
-
526
-
527
- <span class="light">jasmine.Clock.</span><b>scheduleFunction</b>(timeoutKey, funcToCall, millis, recurring)
528
-
529
- </div>
530
- <div class="description">
531
-
532
-
533
-
534
- </div>
535
-
536
-
537
-
538
-
539
- <dl class="detailList">
540
- <dt class="heading">Parameters:</dt>
541
-
542
- <dt>
543
- <b>timeoutKey</b>
544
-
545
- </dt>
546
- <dd></dd>
547
-
548
- <dt>
549
- <b>funcToCall</b>
550
-
551
- </dt>
552
- <dd></dd>
553
-
554
- <dt>
555
- <b>millis</b>
556
-
557
- </dt>
558
- <dd></dd>
559
-
560
- <dt>
561
- <b>recurring</b>
562
-
563
- </dt>
564
- <dd></dd>
565
-
566
- </dl>
567
-
568
-
569
-
570
-
571
-
572
-
573
-
574
-
575
- <hr />
576
-
577
- <a name=".tick"> </a>
578
- <div class="fixedFont">&lt;static&gt;
579
-
580
-
581
- <span class="light">jasmine.Clock.</span><b>tick</b>(millis)
582
-
583
- </div>
584
- <div class="description">
585
-
586
-
587
-
588
- </div>
589
-
590
-
591
-
592
-
593
- <dl class="detailList">
594
- <dt class="heading">Parameters:</dt>
595
-
596
- <dt>
597
- <b>millis</b>
598
-
599
- </dt>
600
- <dd></dd>
601
-
602
- </dl>
603
-
604
-
605
-
606
-
607
-
608
-
609
-
610
-
611
- <hr />
612
-
613
- <a name=".uninstallMock"> </a>
614
- <div class="fixedFont">&lt;static&gt;
615
-
616
-
617
- <span class="light">jasmine.Clock.</span><b>uninstallMock</b>()
618
-
619
- </div>
620
- <div class="description">
621
-
622
-
623
-
624
- </div>
625
-
626
-
627
-
628
-
629
-
630
-
631
-
632
-
633
-
634
-
635
-
636
- <hr />
637
-
638
- <a name=".useMock"> </a>
639
- <div class="fixedFont">&lt;static&gt;
640
-
641
-
642
- <span class="light">jasmine.Clock.</span><b>useMock</b>()
643
-
644
- </div>
645
- <div class="description">
646
-
647
-
648
-
649
- </div>
650
-
651
-
652
-
653
-
654
-
655
-
656
-
657
-
658
-
659
-
660
-
661
-
662
-
663
-
664
-
665
- <!-- ============================== event details ========================= -->
666
-
667
-
668
- <hr />
669
- </div>
670
-
671
-
672
- <!-- ============================== footer ================================= -->
673
- <div class="fineprint" style="clear:both">
674
-
675
- Documentation generated by <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a> 2.1.0 on Thu Mar 18 2010 20:35:00 GMT-0700 (PDT)
676
- </div>
677
- </body>
678
- </html>