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.
- data/.gitignore +1 -0
- data/Rakefile +28 -0
- data/coffeescripts/shuriken/test/assertions.coffee +111 -0
- data/coffeescripts/shuriken/test/reporters.coffee +61 -0
- data/coffeescripts/shuriken/test.coffee +117 -0
- data/coffeescripts/shuriken.coffee +2 -2
- data/javascripts/shuriken/mixins/callbacks.js +45 -0
- data/javascripts/shuriken/mixins.js +58 -0
- data/javascripts/shuriken/test/assertions.js +117 -0
- data/javascripts/shuriken/test/reporters.js +84 -0
- data/javascripts/shuriken/test.js +165 -0
- data/javascripts/shuriken.js +195 -0
- data/lib/shuriken.rb +1 -1
- data/shuriken.gemspec +84 -4
- data/tests/basic_namespace_tests.coffee +114 -0
- data/tests/template.erb +26 -0
- data/tests.watchr +6 -0
- data/vendor/jasmine-0.10.0/MIT.LICENSE +20 -0
- data/vendor/jasmine-0.10.0/README.markdown +437 -0
- data/vendor/jasmine-0.10.0/doc/files.html +460 -0
- data/vendor/jasmine-0.10.0/doc/index.html +322 -0
- data/vendor/jasmine-0.10.0/doc/symbols/_global_.html +918 -0
- data/vendor/jasmine-0.10.0/doc/symbols/jasmine.Block.html +417 -0
- data/vendor/jasmine-0.10.0/doc/symbols/jasmine.Clock.html +678 -0
- data/vendor/jasmine-0.10.0/doc/symbols/jasmine.Env.html +1169 -0
- data/vendor/jasmine-0.10.0/doc/symbols/jasmine.JsApiReporter.html +822 -0
- data/vendor/jasmine-0.10.0/doc/symbols/jasmine.Matchers.html +1461 -0
- data/vendor/jasmine-0.10.0/doc/symbols/jasmine.MultiReporter.html +394 -0
- data/vendor/jasmine-0.10.0/doc/symbols/jasmine.NestedResults.html +710 -0
- data/vendor/jasmine-0.10.0/doc/symbols/jasmine.Reporter.html +574 -0
- data/vendor/jasmine-0.10.0/doc/symbols/jasmine.Runner.html +710 -0
- data/vendor/jasmine-0.10.0/doc/symbols/jasmine.Spec.html +1259 -0
- data/vendor/jasmine-0.10.0/doc/symbols/jasmine.Spy.html +855 -0
- data/vendor/jasmine-0.10.0/doc/symbols/jasmine.Suite.html +705 -0
- data/vendor/jasmine-0.10.0/doc/symbols/jasmine.html +1345 -0
- data/vendor/jasmine-0.10.0/doc/symbols/jasmine.util.html +535 -0
- data/vendor/jasmine-0.10.0/doc/symbols/src/lib_TrivialReporter.js.html +124 -0
- data/vendor/jasmine-0.10.0/doc/symbols/src/src_Block.js.html +29 -0
- data/vendor/jasmine-0.10.0/doc/symbols/src/src_Env.js.html +240 -0
- data/vendor/jasmine-0.10.0/doc/symbols/src/src_JsApiReporter.js.html +111 -0
- data/vendor/jasmine-0.10.0/doc/symbols/src/src_Matchers.js.html +328 -0
- data/vendor/jasmine-0.10.0/doc/symbols/src/src_MultiReporter.js.html +36 -0
- data/vendor/jasmine-0.10.0/doc/symbols/src/src_NestedResults.js.html +88 -0
- data/vendor/jasmine-0.10.0/doc/symbols/src/src_PrettyPrinter.js.html +130 -0
- data/vendor/jasmine-0.10.0/doc/symbols/src/src_Queue.js.html +102 -0
- data/vendor/jasmine-0.10.0/doc/symbols/src/src_Reporter.js.html +35 -0
- data/vendor/jasmine-0.10.0/doc/symbols/src/src_Reporters.js.html +51 -0
- data/vendor/jasmine-0.10.0/doc/symbols/src/src_Runner.js.html +75 -0
- data/vendor/jasmine-0.10.0/doc/symbols/src/src_Spec.js.html +211 -0
- data/vendor/jasmine-0.10.0/doc/symbols/src/src_Suite.js.html +77 -0
- data/vendor/jasmine-0.10.0/doc/symbols/src/src_WaitsBlock.js.html +21 -0
- data/vendor/jasmine-0.10.0/doc/symbols/src/src_WaitsForBlock.js.html +45 -0
- data/vendor/jasmine-0.10.0/doc/symbols/src/src_base.js.html +555 -0
- data/vendor/jasmine-0.10.0/doc/symbols/src/src_mock-timeout.js.html +185 -0
- data/vendor/jasmine-0.10.0/doc/symbols/src/src_util.js.html +75 -0
- data/vendor/jasmine-0.10.0/example/example_runner.html +25 -0
- data/vendor/jasmine-0.10.0/example/spec/example_suite.js +11 -0
- data/vendor/jasmine-0.10.0/lib/TrivialReporter.js +117 -0
- data/vendor/jasmine-0.10.0/lib/consolex.js +28 -0
- data/vendor/jasmine-0.10.0/lib/jasmine-0.10.0.js +2261 -0
- data/vendor/jasmine-0.10.0/lib/jasmine.css +86 -0
- data/vendor/jasmine-0.10.0/spec/runner.html +63 -0
- data/vendor/jasmine-0.10.0/spec/suites/CustomMatchersSpec.js +112 -0
- data/vendor/jasmine-0.10.0/spec/suites/EnvSpec.js +71 -0
- data/vendor/jasmine-0.10.0/spec/suites/ExceptionsSpec.js +107 -0
- data/vendor/jasmine-0.10.0/spec/suites/JsApiReporterSpec.js +82 -0
- data/vendor/jasmine-0.10.0/spec/suites/MatchersSpec.js +589 -0
- data/vendor/jasmine-0.10.0/spec/suites/MockClockSpec.js +34 -0
- data/vendor/jasmine-0.10.0/spec/suites/MultiReporterSpec.js +30 -0
- data/vendor/jasmine-0.10.0/spec/suites/NestedResultsSpec.js +54 -0
- data/vendor/jasmine-0.10.0/spec/suites/PrettyPrintSpec.js +93 -0
- data/vendor/jasmine-0.10.0/spec/suites/QueueSpec.js +23 -0
- data/vendor/jasmine-0.10.0/spec/suites/ReporterSpec.js +60 -0
- data/vendor/jasmine-0.10.0/spec/suites/RunnerSpec.js +258 -0
- data/vendor/jasmine-0.10.0/spec/suites/SpecRunningSpec.js +1086 -0
- data/vendor/jasmine-0.10.0/spec/suites/SpecSpec.js +110 -0
- data/vendor/jasmine-0.10.0/spec/suites/SpySpec.js +187 -0
- data/vendor/jasmine-0.10.0/spec/suites/SuiteSpec.js +101 -0
- data/vendor/jasmine-0.10.0/spec/suites/TrivialReporterSpec.js +140 -0
- data/vendor/jasmine-0.10.0/spec/suites/UtilSpec.js +23 -0
- data/vendor/jquery.js +154 -0
- data/wip-coffeescripts/example_test.coffee +0 -0
- data/wip-coffeescripts/test/assertions.coffee +111 -0
- data/wip-coffeescripts/test/reporters.coffee +61 -0
- data/wip-coffeescripts/test.coffee +96 -15
- metadata +83 -4
@@ -0,0 +1,394 @@
|
|
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.MultiReporter</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.MultiReporter
|
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_MultiReporter.js.html">MultiReporter.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.MultiReporter.">
|
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"> </td>
|
258
|
+
<td class="nameDescription" >
|
259
|
+
<div class="fixedFont">
|
260
|
+
<b><a href="../symbols/jasmine.MultiReporter.html">jasmine.MultiReporter</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.MultiReporter.">
|
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"> </td>
|
288
|
+
<td class="nameDescription">
|
289
|
+
<div class="fixedFont"><b><a href="../symbols/jasmine.MultiReporter.html#addReporter">addReporter</a></b>(reporter)
|
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.MultiReporter</b>()
|
313
|
+
</div>
|
314
|
+
|
315
|
+
<div class="description">
|
316
|
+
|
317
|
+
|
318
|
+
</div>
|
319
|
+
|
320
|
+
|
321
|
+
|
322
|
+
|
323
|
+
|
324
|
+
|
325
|
+
|
326
|
+
|
327
|
+
|
328
|
+
|
329
|
+
|
330
|
+
|
331
|
+
</div>
|
332
|
+
|
333
|
+
|
334
|
+
<!-- ============================== field details ========================== -->
|
335
|
+
|
336
|
+
|
337
|
+
<!-- ============================== method details ========================= -->
|
338
|
+
|
339
|
+
<div class="sectionTitle">
|
340
|
+
Method Detail
|
341
|
+
</div>
|
342
|
+
|
343
|
+
<a name="addReporter"> </a>
|
344
|
+
<div class="fixedFont">
|
345
|
+
|
346
|
+
|
347
|
+
<b>addReporter</b>(reporter)
|
348
|
+
|
349
|
+
</div>
|
350
|
+
<div class="description">
|
351
|
+
|
352
|
+
|
353
|
+
|
354
|
+
</div>
|
355
|
+
|
356
|
+
|
357
|
+
|
358
|
+
|
359
|
+
<dl class="detailList">
|
360
|
+
<dt class="heading">Parameters:</dt>
|
361
|
+
|
362
|
+
<dt>
|
363
|
+
<b>reporter</b>
|
364
|
+
|
365
|
+
</dt>
|
366
|
+
<dd></dd>
|
367
|
+
|
368
|
+
</dl>
|
369
|
+
|
370
|
+
|
371
|
+
|
372
|
+
|
373
|
+
|
374
|
+
|
375
|
+
|
376
|
+
|
377
|
+
|
378
|
+
|
379
|
+
|
380
|
+
|
381
|
+
<!-- ============================== event details ========================= -->
|
382
|
+
|
383
|
+
|
384
|
+
<hr />
|
385
|
+
</div>
|
386
|
+
|
387
|
+
|
388
|
+
<!-- ============================== footer ================================= -->
|
389
|
+
<div class="fineprint" style="clear:both">
|
390
|
+
|
391
|
+
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)
|
392
|
+
</div>
|
393
|
+
</body>
|
394
|
+
</html>
|