jazrb 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (184) hide show
  1. data/LICENSE +20 -0
  2. data/README.rdoc +134 -0
  3. data/bin/autojaz +4 -0
  4. data/bin/jazrb +230 -0
  5. data/doc/jasmine/files.html +460 -0
  6. data/doc/jasmine/index.html +322 -0
  7. data/doc/jasmine/symbols/_global_.html +1083 -0
  8. data/doc/jasmine/symbols/jasmine.Block.html +417 -0
  9. data/doc/jasmine/symbols/jasmine.Clock.html +678 -0
  10. data/doc/jasmine/symbols/jasmine.Env.html +1135 -0
  11. data/doc/jasmine/symbols/jasmine.EnvjsReporter.html +328 -0
  12. data/doc/jasmine/symbols/jasmine.JsApiReporter.html +822 -0
  13. data/doc/jasmine/symbols/jasmine.Matchers.html +1106 -0
  14. data/doc/jasmine/symbols/jasmine.MultiReporter.html +394 -0
  15. data/doc/jasmine/symbols/jasmine.NestedResults.html +710 -0
  16. data/doc/jasmine/symbols/jasmine.Reporter.html +574 -0
  17. data/doc/jasmine/symbols/jasmine.Runner.html +710 -0
  18. data/doc/jasmine/symbols/jasmine.Spec.html +1372 -0
  19. data/doc/jasmine/symbols/jasmine.Spy.html +855 -0
  20. data/doc/jasmine/symbols/jasmine.Suite.html +705 -0
  21. data/doc/jasmine/symbols/jasmine.XMLReporter.html +328 -0
  22. data/doc/jasmine/symbols/jasmine.html +1359 -0
  23. data/doc/jasmine/symbols/jasmine.util.html +535 -0
  24. data/doc/jasmine/symbols/src/lib_EnvjsReporter.js.html +149 -0
  25. data/doc/jasmine/symbols/src/lib_TrivialReporter.js.html +127 -0
  26. data/doc/jasmine/symbols/src/lib_XMLReporter.js.html +210 -0
  27. data/doc/jasmine/symbols/src/src_Block.js.html +35 -0
  28. data/doc/jasmine/symbols/src/src_Env.js.html +233 -0
  29. data/doc/jasmine/symbols/src/src_JsApiReporter.js.html +110 -0
  30. data/doc/jasmine/symbols/src/src_Matchers.js.html +399 -0
  31. data/doc/jasmine/symbols/src/src_MultiReporter.js.html +36 -0
  32. data/doc/jasmine/symbols/src/src_NestedResults.js.html +88 -0
  33. data/doc/jasmine/symbols/src/src_PrettyPrinter.js.html +128 -0
  34. data/doc/jasmine/symbols/src/src_Queue.js.html +119 -0
  35. data/doc/jasmine/symbols/src/src_Reporter.js.html +35 -0
  36. data/doc/jasmine/symbols/src/src_Reporters.js.html +51 -0
  37. data/doc/jasmine/symbols/src/src_Runner.js.html +75 -0
  38. data/doc/jasmine/symbols/src/src_Spec.js.html +228 -0
  39. data/doc/jasmine/symbols/src/src_Suite.js.html +77 -0
  40. data/doc/jasmine/symbols/src/src_WaitsBlock.js.html +21 -0
  41. data/doc/jasmine/symbols/src/src_WaitsForBlock.js.html +45 -0
  42. data/doc/jasmine/symbols/src/src_base.js.html +566 -0
  43. data/doc/jasmine/symbols/src/src_mock-timeout.js.html +185 -0
  44. data/doc/jasmine/symbols/src/src_util.js.html +75 -0
  45. data/lib/autotest/discover.rb +3 -0
  46. data/lib/autotest/jazrb.rb +55 -0
  47. data/lib/jazrb/intro.js +46 -0
  48. data/lib/jazrb/jasmine/EnvjsReporter.js +141 -0
  49. data/lib/jazrb/jasmine/TrivialReporter.js +155 -0
  50. data/lib/jazrb/jasmine/XMLReporter.js +241 -0
  51. data/lib/jazrb/jasmine/consolex.js +28 -0
  52. data/lib/jazrb/jasmine/jasmine-0.10.0.js +2526 -0
  53. data/lib/jazrb/jasmine/jasmine.js +2526 -0
  54. data/lib/jazrb/jasmine/json2.js +478 -0
  55. data/lib/jazrb/options.rb +26 -0
  56. data/lib/jazrb/outro.js +3 -0
  57. data/lib/jazrb/qintro.js +113 -0
  58. data/lib/jazrb/qoutro.js +3 -0
  59. data/lib/jazrb/qunit/qunit.css +17 -0
  60. data/lib/jazrb/qunit/qunit.js +1027 -0
  61. data/lib/jazrb.rb +0 -0
  62. data/spec/example/hello_world_spec.js +29 -0
  63. data/spec/example/nested/HelloWorldSpec.js +13 -0
  64. data/spec/example/nested/SpecHelper.js +1 -0
  65. data/spec/example/plain_spec.js +8 -0
  66. data/spec/example/spec_helper.js +1 -0
  67. data/spec/spec_helper.js +18 -0
  68. data/spec/spec_runner.js +143 -0
  69. data/test/jazrb_test.rb +7 -0
  70. data/test/test_helper.rb +10 -0
  71. data/vendor/jasmine/MIT.LICENSE +20 -0
  72. data/vendor/jasmine/README.markdown +479 -0
  73. data/vendor/jasmine/Rakefile +155 -0
  74. data/vendor/jasmine/contrib/ruby/jasmine_runner.rb +334 -0
  75. data/vendor/jasmine/contrib/ruby/jasmine_spec_builder.rb +153 -0
  76. data/vendor/jasmine/contrib/ruby/run.html +47 -0
  77. data/vendor/jasmine/contrib/ruby/spec/jasmine_runner_spec.rb +71 -0
  78. data/vendor/jasmine/doc/files.html +460 -0
  79. data/vendor/jasmine/doc/index.html +322 -0
  80. data/vendor/jasmine/doc/symbols/_global_.html +1083 -0
  81. data/vendor/jasmine/doc/symbols/jasmine.Block.html +417 -0
  82. data/vendor/jasmine/doc/symbols/jasmine.Clock.html +678 -0
  83. data/vendor/jasmine/doc/symbols/jasmine.Env.html +1135 -0
  84. data/vendor/jasmine/doc/symbols/jasmine.EnvjsReporter.html +328 -0
  85. data/vendor/jasmine/doc/symbols/jasmine.JsApiReporter.html +822 -0
  86. data/vendor/jasmine/doc/symbols/jasmine.Matchers.html +1106 -0
  87. data/vendor/jasmine/doc/symbols/jasmine.MultiReporter.html +394 -0
  88. data/vendor/jasmine/doc/symbols/jasmine.NestedResults.html +710 -0
  89. data/vendor/jasmine/doc/symbols/jasmine.Reporter.html +574 -0
  90. data/vendor/jasmine/doc/symbols/jasmine.Runner.html +710 -0
  91. data/vendor/jasmine/doc/symbols/jasmine.Spec.html +1372 -0
  92. data/vendor/jasmine/doc/symbols/jasmine.Spy.html +855 -0
  93. data/vendor/jasmine/doc/symbols/jasmine.Suite.html +705 -0
  94. data/vendor/jasmine/doc/symbols/jasmine.XMLReporter.html +328 -0
  95. data/vendor/jasmine/doc/symbols/jasmine.html +1359 -0
  96. data/vendor/jasmine/doc/symbols/jasmine.util.html +535 -0
  97. data/vendor/jasmine/doc/symbols/src/lib_EnvjsReporter.js.html +149 -0
  98. data/vendor/jasmine/doc/symbols/src/lib_TrivialReporter.js.html +127 -0
  99. data/vendor/jasmine/doc/symbols/src/lib_XMLReporter.js.html +210 -0
  100. data/vendor/jasmine/doc/symbols/src/src_Block.js.html +35 -0
  101. data/vendor/jasmine/doc/symbols/src/src_Env.js.html +233 -0
  102. data/vendor/jasmine/doc/symbols/src/src_JsApiReporter.js.html +110 -0
  103. data/vendor/jasmine/doc/symbols/src/src_Matchers.js.html +399 -0
  104. data/vendor/jasmine/doc/symbols/src/src_MultiReporter.js.html +36 -0
  105. data/vendor/jasmine/doc/symbols/src/src_NestedResults.js.html +88 -0
  106. data/vendor/jasmine/doc/symbols/src/src_PrettyPrinter.js.html +128 -0
  107. data/vendor/jasmine/doc/symbols/src/src_Queue.js.html +119 -0
  108. data/vendor/jasmine/doc/symbols/src/src_Reporter.js.html +35 -0
  109. data/vendor/jasmine/doc/symbols/src/src_Reporters.js.html +51 -0
  110. data/vendor/jasmine/doc/symbols/src/src_Runner.js.html +75 -0
  111. data/vendor/jasmine/doc/symbols/src/src_Spec.js.html +228 -0
  112. data/vendor/jasmine/doc/symbols/src/src_Suite.js.html +77 -0
  113. data/vendor/jasmine/doc/symbols/src/src_WaitsBlock.js.html +21 -0
  114. data/vendor/jasmine/doc/symbols/src/src_WaitsForBlock.js.html +45 -0
  115. data/vendor/jasmine/doc/symbols/src/src_base.js.html +566 -0
  116. data/vendor/jasmine/doc/symbols/src/src_mock-timeout.js.html +185 -0
  117. data/vendor/jasmine/doc/symbols/src/src_util.js.html +75 -0
  118. data/vendor/jasmine/examples/html/example_suite.html +27 -0
  119. data/vendor/jasmine/examples/html/spec/example_suite.js +11 -0
  120. data/vendor/jasmine/examples/ruby/Rakefile +33 -0
  121. data/vendor/jasmine/examples/ruby/spec/example/example_spec.js +11 -0
  122. data/vendor/jasmine/examples/ruby/spec/jasmine_helper.rb +41 -0
  123. data/vendor/jasmine/examples/ruby/spec/jasmine_spec.rb +31 -0
  124. data/vendor/jasmine/examples/ruby/spec/saucelabs.yml +24 -0
  125. data/vendor/jasmine/geminstaller.yml +23 -0
  126. data/vendor/jasmine/images/fail-16.png +0 -0
  127. data/vendor/jasmine/images/fail.png +0 -0
  128. data/vendor/jasmine/images/go-16.png +0 -0
  129. data/vendor/jasmine/images/go.png +0 -0
  130. data/vendor/jasmine/images/pending-16.png +0 -0
  131. data/vendor/jasmine/images/pending.png +0 -0
  132. data/vendor/jasmine/images/question-bk.png +0 -0
  133. data/vendor/jasmine/images/questionbk-16.png +0 -0
  134. data/vendor/jasmine/images/spinner.gif +0 -0
  135. data/vendor/jasmine/jasmine.watchr +70 -0
  136. data/vendor/jasmine/lib/EnvjsReporter.js +141 -0
  137. data/vendor/jasmine/lib/TrivialReporter.js +155 -0
  138. data/vendor/jasmine/lib/XMLReporter.js +241 -0
  139. data/vendor/jasmine/lib/consolex.js +28 -0
  140. data/vendor/jasmine/lib/jasmine-0.10.0.js +2526 -0
  141. data/vendor/jasmine/lib/jasmine.css +86 -0
  142. data/vendor/jasmine/lib/json2.js +478 -0
  143. data/vendor/jasmine/spec/jasmine_helper.rb +44 -0
  144. data/vendor/jasmine/spec/jasmine_spec.rb +31 -0
  145. data/vendor/jasmine/spec/runner.html +43 -0
  146. data/vendor/jasmine/spec/runner.js +78 -0
  147. data/vendor/jasmine/spec/saucelabs.yml +24 -0
  148. data/vendor/jasmine/spec/suites/EnvSpec.js +71 -0
  149. data/vendor/jasmine/spec/suites/ExceptionsSpec.js +107 -0
  150. data/vendor/jasmine/spec/suites/JsApiReporterSpec.js +82 -0
  151. data/vendor/jasmine/spec/suites/MatchersSpec.js +589 -0
  152. data/vendor/jasmine/spec/suites/MockClockSpec.js +34 -0
  153. data/vendor/jasmine/spec/suites/MultiReporterSpec.js +30 -0
  154. data/vendor/jasmine/spec/suites/NestedResultsSpec.js +54 -0
  155. data/vendor/jasmine/spec/suites/PrettyPrintSpec.js +93 -0
  156. data/vendor/jasmine/spec/suites/QueueSpec.js +23 -0
  157. data/vendor/jasmine/spec/suites/ReporterSpec.js +60 -0
  158. data/vendor/jasmine/spec/suites/RunnerSpec.js +258 -0
  159. data/vendor/jasmine/spec/suites/SpecRunningSpec.js +1117 -0
  160. data/vendor/jasmine/spec/suites/SpecSpec.js +110 -0
  161. data/vendor/jasmine/spec/suites/SpySpec.js +187 -0
  162. data/vendor/jasmine/spec/suites/SuiteSpec.js +101 -0
  163. data/vendor/jasmine/spec/suites/TrivialReporterSpec.js +140 -0
  164. data/vendor/jasmine/spec/suites/UtilSpec.js +23 -0
  165. data/vendor/jasmine/src/Block.js +34 -0
  166. data/vendor/jasmine/src/Env.js +236 -0
  167. data/vendor/jasmine/src/JsApiReporter.js +103 -0
  168. data/vendor/jasmine/src/Matchers.js +326 -0
  169. data/vendor/jasmine/src/MultiReporter.js +28 -0
  170. data/vendor/jasmine/src/NestedResults.js +99 -0
  171. data/vendor/jasmine/src/PrettyPrinter.js +122 -0
  172. data/vendor/jasmine/src/Queue.js +210 -0
  173. data/vendor/jasmine/src/Reporter.js +27 -0
  174. data/vendor/jasmine/src/Reporters.js +43 -0
  175. data/vendor/jasmine/src/Runner.js +68 -0
  176. data/vendor/jasmine/src/Spec.js +254 -0
  177. data/vendor/jasmine/src/Suite.js +70 -0
  178. data/vendor/jasmine/src/WaitsBlock.js +13 -0
  179. data/vendor/jasmine/src/WaitsForBlock.js +38 -0
  180. data/vendor/jasmine/src/base.js +604 -0
  181. data/vendor/jasmine/src/mock-timeout.js +177 -0
  182. data/vendor/jasmine/src/util.js +67 -0
  183. data/vendor/jasmine/src/version.json +5 -0
  184. metadata +279 -0
@@ -0,0 +1,1106 @@
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.Matchers</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.Matchers
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_Matchers.js.html">Matchers.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.Matchers.">
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.Matchers.html">jasmine.Matchers</a></b>(env, actual, spec)
261
+ </div>
262
+ <div class="description"></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.Matchers.">
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">&nbsp;</td>
285
+ <td class="nameDescription">
286
+ <div class="fixedFont">
287
+ <b><a href="../symbols/jasmine.Matchers.html#toBe">toBe</a></b>
288
+ </div>
289
+ <div class="description">toBe: compares the actual to the expected using ===</div>
290
+ </td>
291
+ </tr>
292
+
293
+ <tr>
294
+ <td class="attributes">&nbsp;</td>
295
+ <td class="nameDescription">
296
+ <div class="fixedFont">
297
+ <b><a href="../symbols/jasmine.Matchers.html#toBeDefined">toBeDefined</a></b>
298
+ </div>
299
+ <div class="description">Matcher that compares the acutal to undefined.</div>
300
+ </td>
301
+ </tr>
302
+
303
+ <tr>
304
+ <td class="attributes">&nbsp;</td>
305
+ <td class="nameDescription">
306
+ <div class="fixedFont">
307
+ <b><a href="../symbols/jasmine.Matchers.html#toBeFalsy">toBeFalsy</a></b>
308
+ </div>
309
+ <div class="description">Matcher that boolean nots the actual.</div>
310
+ </td>
311
+ </tr>
312
+
313
+ <tr>
314
+ <td class="attributes">&nbsp;</td>
315
+ <td class="nameDescription">
316
+ <div class="fixedFont">
317
+ <b><a href="../symbols/jasmine.Matchers.html#toBeNull">toBeNull</a></b>
318
+ </div>
319
+ <div class="description">Matcher that compares the actual to null.</div>
320
+ </td>
321
+ </tr>
322
+
323
+ <tr>
324
+ <td class="attributes">&nbsp;</td>
325
+ <td class="nameDescription">
326
+ <div class="fixedFont">
327
+ <b><a href="../symbols/jasmine.Matchers.html#toBeTruthy">toBeTruthy</a></b>
328
+ </div>
329
+ <div class="description">Matcher that boolean not-nots the actual.</div>
330
+ </td>
331
+ </tr>
332
+
333
+ <tr>
334
+ <td class="attributes">&nbsp;</td>
335
+ <td class="nameDescription">
336
+ <div class="fixedFont">
337
+ <b><a href="../symbols/jasmine.Matchers.html#toBeUndefined">toBeUndefined</a></b>
338
+ </div>
339
+ <div class="description">Matcher that compares the acutal to undefined.</div>
340
+ </td>
341
+ </tr>
342
+
343
+ <tr>
344
+ <td class="attributes">&nbsp;</td>
345
+ <td class="nameDescription">
346
+ <div class="fixedFont">
347
+ <b><a href="../symbols/jasmine.Matchers.html#toContain">toContain</a></b>
348
+ </div>
349
+ <div class="description">Matcher that checks that the expected item is an element in the actual Array.</div>
350
+ </td>
351
+ </tr>
352
+
353
+ <tr>
354
+ <td class="attributes">&nbsp;</td>
355
+ <td class="nameDescription">
356
+ <div class="fixedFont">
357
+ <b><a href="../symbols/jasmine.Matchers.html#toEqual">toEqual</a></b>
358
+ </div>
359
+ <div class="description">toEqual: compares the actual to the expected using common sense equality.</div>
360
+ </td>
361
+ </tr>
362
+
363
+ <tr>
364
+ <td class="attributes">&nbsp;</td>
365
+ <td class="nameDescription">
366
+ <div class="fixedFont">
367
+ <b><a href="../symbols/jasmine.Matchers.html#toMatch">toMatch</a></b>
368
+ </div>
369
+ <div class="description">Matcher that compares the actual to the expected using a regular expression.</div>
370
+ </td>
371
+ </tr>
372
+
373
+ <tr>
374
+ <td class="attributes">&nbsp;</td>
375
+ <td class="nameDescription">
376
+ <div class="fixedFont">
377
+ <b><a href="../symbols/jasmine.Matchers.html#toNotBe">toNotBe</a></b>
378
+ </div>
379
+ <div class="description">toNotBe: compares the actual to the expected using !==</div>
380
+ </td>
381
+ </tr>
382
+
383
+ <tr>
384
+ <td class="attributes">&nbsp;</td>
385
+ <td class="nameDescription">
386
+ <div class="fixedFont">
387
+ <b><a href="../symbols/jasmine.Matchers.html#toNotContain">toNotContain</a></b>
388
+ </div>
389
+ <div class="description">Matcher that checks that the expected item is NOT an element in the actual Array.</div>
390
+ </td>
391
+ </tr>
392
+
393
+ <tr>
394
+ <td class="attributes">&nbsp;</td>
395
+ <td class="nameDescription">
396
+ <div class="fixedFont">
397
+ <b><a href="../symbols/jasmine.Matchers.html#toNotEqual">toNotEqual</a></b>
398
+ </div>
399
+ <div class="description">toNotEqual: compares the actual to the expected using the ! of jasmine.Matchers.toEqual</div>
400
+ </td>
401
+ </tr>
402
+
403
+ <tr>
404
+ <td class="attributes">&nbsp;</td>
405
+ <td class="nameDescription">
406
+ <div class="fixedFont">
407
+ <b><a href="../symbols/jasmine.Matchers.html#toNotMatch">toNotMatch</a></b>
408
+ </div>
409
+ <div class="description">Matcher that compares the actual to the expected using the boolean inverse of jasmine.Matchers.toMatch</div>
410
+ </td>
411
+ </tr>
412
+
413
+ <tr>
414
+ <td class="attributes">&nbsp;</td>
415
+ <td class="nameDescription">
416
+ <div class="fixedFont">
417
+ <b><a href="../symbols/jasmine.Matchers.html#toThrow">toThrow</a></b>
418
+ </div>
419
+ <div class="description">Matcher that checks that the expected exception was thrown by the actual.</div>
420
+ </td>
421
+ </tr>
422
+
423
+ <tr>
424
+ <td class="attributes">&nbsp;</td>
425
+ <td class="nameDescription">
426
+ <div class="fixedFont">
427
+ <b><a href="../symbols/jasmine.Matchers.html#wasCalled">wasCalled</a></b>
428
+ </div>
429
+ <div class="description">Matcher that checks to see if the acutal, a Jasmine spy, was called.</div>
430
+ </td>
431
+ </tr>
432
+
433
+ <tr>
434
+ <td class="attributes">&nbsp;</td>
435
+ <td class="nameDescription">
436
+ <div class="fixedFont">
437
+ <b><a href="../symbols/jasmine.Matchers.html#wasNotCalled">wasNotCalled</a></b>
438
+ </div>
439
+ <div class="description">Matcher that checks to see if the acutal, a Jasmine spy, was not called.</div>
440
+ </td>
441
+ </tr>
442
+
443
+ </tbody>
444
+ </table>
445
+
446
+
447
+
448
+
449
+
450
+ <!-- ============================== methods summary ======================== -->
451
+
452
+
453
+
454
+ <table class="summaryTable" cellspacing="0" summary="A summary of the methods documented in the class jasmine.Matchers.">
455
+ <caption>Method Summary</caption>
456
+ <thead>
457
+ <tr>
458
+ <th scope="col">Method Attributes</th>
459
+ <th scope="col">Method Name and Description</th>
460
+ </tr>
461
+ </thead>
462
+ <tbody>
463
+
464
+ <tr>
465
+ <td class="attributes">&lt;static&gt; &nbsp;</td>
466
+ <td class="nameDescription">
467
+ <div class="fixedFont">jasmine.Matchers.<b><a href="../symbols/jasmine.Matchers.html#.Any">Any</a></b>(expectedClass)
468
+ </div>
469
+ <div class="description"></div>
470
+ </td>
471
+ </tr>
472
+
473
+ <tr>
474
+ <td class="attributes">&lt;static&gt; &nbsp;</td>
475
+ <td class="nameDescription">
476
+ <div class="fixedFont">jasmine.Matchers.<b><a href="../symbols/jasmine.Matchers.html#.matcherFn_">matcherFn_</a></b>(matcherName, options)
477
+ </div>
478
+ <div class="description"></div>
479
+ </td>
480
+ </tr>
481
+
482
+ <tr>
483
+ <td class="attributes">&lt;static&gt; &nbsp;</td>
484
+ <td class="nameDescription">
485
+ <div class="fixedFont">jasmine.Matchers.<b><a href="../symbols/jasmine.Matchers.html#.pp">pp</a></b>(str)
486
+ </div>
487
+ <div class="description"></div>
488
+ </td>
489
+ </tr>
490
+
491
+ <tr>
492
+ <td class="attributes">&nbsp;</td>
493
+ <td class="nameDescription">
494
+ <div class="fixedFont"><b><a href="../symbols/jasmine.Matchers.html#report">report</a></b>(result, failing_message, details)
495
+ </div>
496
+ <div class="description"></div>
497
+ </td>
498
+ </tr>
499
+
500
+ </tbody>
501
+ </table>
502
+
503
+
504
+
505
+
506
+ <!-- ============================== events summary ======================== -->
507
+
508
+
509
+ <!-- ============================== constructor details ==================== -->
510
+
511
+ <div class="details"><a name="constructor"> </a>
512
+ <div class="sectionTitle">
513
+ Class Detail
514
+ </div>
515
+
516
+ <div class="fixedFont">
517
+ <b>jasmine.Matchers</b>(env, actual, spec)
518
+ </div>
519
+
520
+ <div class="description">
521
+
522
+
523
+ </div>
524
+
525
+
526
+
527
+
528
+
529
+ <dl class="detailList">
530
+ <dt class="heading">Parameters:</dt>
531
+
532
+ <dt>
533
+ <span class="light fixedFont">{<a href="../symbols/jasmine.Env.html">jasmine.Env</a>}</span> <b>env</b>
534
+
535
+ </dt>
536
+ <dd></dd>
537
+
538
+ <dt>
539
+ <b>actual</b>
540
+
541
+ </dt>
542
+ <dd></dd>
543
+
544
+ <dt>
545
+ <span class="light fixedFont">{<a href="../symbols/jasmine.Spec.html">jasmine.Spec</a>}</span> <b>spec</b>
546
+
547
+ </dt>
548
+ <dd></dd>
549
+
550
+ </dl>
551
+
552
+
553
+
554
+
555
+
556
+
557
+
558
+
559
+ </div>
560
+
561
+
562
+ <!-- ============================== field details ========================== -->
563
+
564
+ <div class="sectionTitle">
565
+ Field Detail
566
+ </div>
567
+
568
+ <a name="toBe"> </a>
569
+ <div class="fixedFont">
570
+
571
+
572
+ <b>toBe</b>
573
+
574
+ </div>
575
+ <div class="description">
576
+ toBe: compares the actual to the expected using ===
577
+
578
+
579
+ </div>
580
+
581
+
582
+
583
+
584
+
585
+
586
+
587
+
588
+ <hr />
589
+
590
+ <a name="toBeDefined"> </a>
591
+ <div class="fixedFont">
592
+
593
+
594
+ <b>toBeDefined</b>
595
+
596
+ </div>
597
+ <div class="description">
598
+ Matcher that compares the acutal to undefined.
599
+
600
+
601
+ </div>
602
+
603
+
604
+
605
+
606
+
607
+
608
+
609
+
610
+ <hr />
611
+
612
+ <a name="toBeFalsy"> </a>
613
+ <div class="fixedFont">
614
+
615
+
616
+ <b>toBeFalsy</b>
617
+
618
+ </div>
619
+ <div class="description">
620
+ Matcher that boolean nots the actual.
621
+
622
+
623
+ </div>
624
+
625
+
626
+
627
+
628
+
629
+
630
+
631
+
632
+ <hr />
633
+
634
+ <a name="toBeNull"> </a>
635
+ <div class="fixedFont">
636
+
637
+
638
+ <b>toBeNull</b>
639
+
640
+ </div>
641
+ <div class="description">
642
+ Matcher that compares the actual to null.
643
+
644
+
645
+ </div>
646
+
647
+
648
+
649
+
650
+
651
+
652
+
653
+
654
+ <hr />
655
+
656
+ <a name="toBeTruthy"> </a>
657
+ <div class="fixedFont">
658
+
659
+
660
+ <b>toBeTruthy</b>
661
+
662
+ </div>
663
+ <div class="description">
664
+ Matcher that boolean not-nots the actual.
665
+
666
+
667
+ </div>
668
+
669
+
670
+
671
+
672
+
673
+
674
+
675
+
676
+ <hr />
677
+
678
+ <a name="toBeUndefined"> </a>
679
+ <div class="fixedFont">
680
+
681
+
682
+ <b>toBeUndefined</b>
683
+
684
+ </div>
685
+ <div class="description">
686
+ Matcher that compares the acutal to undefined.
687
+
688
+
689
+ </div>
690
+
691
+
692
+
693
+
694
+
695
+
696
+
697
+
698
+ <hr />
699
+
700
+ <a name="toContain"> </a>
701
+ <div class="fixedFont">
702
+
703
+
704
+ <b>toContain</b>
705
+
706
+ </div>
707
+ <div class="description">
708
+ Matcher that checks that the expected item is an element in the actual Array.
709
+
710
+
711
+ </div>
712
+
713
+
714
+
715
+
716
+
717
+
718
+
719
+
720
+ <hr />
721
+
722
+ <a name="toEqual"> </a>
723
+ <div class="fixedFont">
724
+
725
+
726
+ <b>toEqual</b>
727
+
728
+ </div>
729
+ <div class="description">
730
+ toEqual: compares the actual to the expected using common sense equality. Handles Objects, Arrays, etc.
731
+
732
+
733
+ </div>
734
+
735
+
736
+
737
+
738
+
739
+
740
+
741
+
742
+ <hr />
743
+
744
+ <a name="toMatch"> </a>
745
+ <div class="fixedFont">
746
+
747
+
748
+ <b>toMatch</b>
749
+
750
+ </div>
751
+ <div class="description">
752
+ Matcher that compares the actual to the expected using a regular expression. Constructs a RegExp, so takes
753
+ a pattern or a String.
754
+
755
+
756
+ </div>
757
+
758
+
759
+
760
+
761
+
762
+
763
+
764
+
765
+ <hr />
766
+
767
+ <a name="toNotBe"> </a>
768
+ <div class="fixedFont">
769
+
770
+
771
+ <b>toNotBe</b>
772
+
773
+ </div>
774
+ <div class="description">
775
+ toNotBe: compares the actual to the expected using !==
776
+
777
+
778
+ </div>
779
+
780
+
781
+
782
+
783
+
784
+
785
+
786
+
787
+ <hr />
788
+
789
+ <a name="toNotContain"> </a>
790
+ <div class="fixedFont">
791
+
792
+
793
+ <b>toNotContain</b>
794
+
795
+ </div>
796
+ <div class="description">
797
+ Matcher that checks that the expected item is NOT an element in the actual Array.
798
+
799
+
800
+ </div>
801
+
802
+
803
+
804
+
805
+
806
+
807
+
808
+
809
+ <hr />
810
+
811
+ <a name="toNotEqual"> </a>
812
+ <div class="fixedFont">
813
+
814
+
815
+ <b>toNotEqual</b>
816
+
817
+ </div>
818
+ <div class="description">
819
+ toNotEqual: compares the actual to the expected using the ! of jasmine.Matchers.toEqual
820
+
821
+
822
+ </div>
823
+
824
+
825
+
826
+
827
+
828
+
829
+
830
+
831
+ <hr />
832
+
833
+ <a name="toNotMatch"> </a>
834
+ <div class="fixedFont">
835
+
836
+
837
+ <b>toNotMatch</b>
838
+
839
+ </div>
840
+ <div class="description">
841
+ Matcher that compares the actual to the expected using the boolean inverse of jasmine.Matchers.toMatch
842
+
843
+
844
+ </div>
845
+
846
+
847
+
848
+
849
+
850
+
851
+
852
+
853
+ <hr />
854
+
855
+ <a name="toThrow"> </a>
856
+ <div class="fixedFont">
857
+
858
+
859
+ <b>toThrow</b>
860
+
861
+ </div>
862
+ <div class="description">
863
+ Matcher that checks that the expected exception was thrown by the actual.
864
+
865
+
866
+ </div>
867
+
868
+
869
+
870
+
871
+
872
+
873
+
874
+
875
+ <hr />
876
+
877
+ <a name="wasCalled"> </a>
878
+ <div class="fixedFont">
879
+
880
+
881
+ <b>wasCalled</b>
882
+
883
+ </div>
884
+ <div class="description">
885
+ Matcher that checks to see if the acutal, a Jasmine spy, was called.
886
+
887
+
888
+ </div>
889
+
890
+
891
+
892
+
893
+
894
+
895
+
896
+
897
+ <hr />
898
+
899
+ <a name="wasNotCalled"> </a>
900
+ <div class="fixedFont">
901
+
902
+
903
+ <b>wasNotCalled</b>
904
+
905
+ </div>
906
+ <div class="description">
907
+ Matcher that checks to see if the acutal, a Jasmine spy, was not called.
908
+
909
+
910
+ </div>
911
+
912
+
913
+
914
+
915
+
916
+
917
+
918
+
919
+
920
+
921
+
922
+
923
+ <!-- ============================== method details ========================= -->
924
+
925
+ <div class="sectionTitle">
926
+ Method Detail
927
+ </div>
928
+
929
+ <a name=".Any"> </a>
930
+ <div class="fixedFont">&lt;static&gt;
931
+
932
+
933
+ <span class="light">jasmine.Matchers.</span><b>Any</b>(expectedClass)
934
+
935
+ </div>
936
+ <div class="description">
937
+
938
+
939
+
940
+ </div>
941
+
942
+
943
+
944
+
945
+ <dl class="detailList">
946
+ <dt class="heading">Parameters:</dt>
947
+
948
+ <dt>
949
+ <b>expectedClass</b>
950
+
951
+ </dt>
952
+ <dd></dd>
953
+
954
+ </dl>
955
+
956
+
957
+
958
+
959
+
960
+
961
+
962
+
963
+ <hr />
964
+
965
+ <a name=".matcherFn_"> </a>
966
+ <div class="fixedFont">&lt;static&gt;
967
+
968
+
969
+ <span class="light">jasmine.Matchers.</span><b>matcherFn_</b>(matcherName, options)
970
+
971
+ </div>
972
+ <div class="description">
973
+
974
+
975
+
976
+ </div>
977
+
978
+
979
+
980
+
981
+ <dl class="detailList">
982
+ <dt class="heading">Parameters:</dt>
983
+
984
+ <dt>
985
+ <b>matcherName</b>
986
+
987
+ </dt>
988
+ <dd></dd>
989
+
990
+ <dt>
991
+ <b>options</b>
992
+
993
+ </dt>
994
+ <dd></dd>
995
+
996
+ </dl>
997
+
998
+
999
+
1000
+
1001
+
1002
+
1003
+
1004
+
1005
+ <hr />
1006
+
1007
+ <a name=".pp"> </a>
1008
+ <div class="fixedFont">&lt;static&gt;
1009
+
1010
+
1011
+ <span class="light">jasmine.Matchers.</span><b>pp</b>(str)
1012
+
1013
+ </div>
1014
+ <div class="description">
1015
+
1016
+
1017
+
1018
+ </div>
1019
+
1020
+
1021
+
1022
+
1023
+ <dl class="detailList">
1024
+ <dt class="heading">Parameters:</dt>
1025
+
1026
+ <dt>
1027
+ <b>str</b>
1028
+
1029
+ </dt>
1030
+ <dd></dd>
1031
+
1032
+ </dl>
1033
+
1034
+
1035
+
1036
+
1037
+
1038
+
1039
+
1040
+
1041
+ <hr />
1042
+
1043
+ <a name="report"> </a>
1044
+ <div class="fixedFont">
1045
+
1046
+
1047
+ <b>report</b>(result, failing_message, details)
1048
+
1049
+ </div>
1050
+ <div class="description">
1051
+
1052
+
1053
+
1054
+ </div>
1055
+
1056
+
1057
+
1058
+
1059
+ <dl class="detailList">
1060
+ <dt class="heading">Parameters:</dt>
1061
+
1062
+ <dt>
1063
+ <b>result</b>
1064
+
1065
+ </dt>
1066
+ <dd></dd>
1067
+
1068
+ <dt>
1069
+ <b>failing_message</b>
1070
+
1071
+ </dt>
1072
+ <dd></dd>
1073
+
1074
+ <dt>
1075
+ <b>details</b>
1076
+
1077
+ </dt>
1078
+ <dd></dd>
1079
+
1080
+ </dl>
1081
+
1082
+
1083
+
1084
+
1085
+
1086
+
1087
+
1088
+
1089
+
1090
+
1091
+
1092
+
1093
+ <!-- ============================== event details ========================= -->
1094
+
1095
+
1096
+ <hr />
1097
+ </div>
1098
+
1099
+
1100
+ <!-- ============================== footer ================================= -->
1101
+ <div class="fineprint" style="clear:both">
1102
+
1103
+ 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)
1104
+ </div>
1105
+ </body>
1106
+ </html>