]>
Commit | Line | Data |
---|---|---|
6527f429 DM |
1 | describe("AlternateClassName", function() { \r |
2 | describe("Ext.button.Button", function() {\r | |
3 | \r | |
4 | it("should have Ext.Button as the alternate class name", function() {\r | |
5 | expect(Ext.button.Button.prototype.alternateClassName).toEqual("Ext.Button");\r | |
6 | });\r | |
7 | \r | |
8 | it("should allow the use of Ext.Button", function() {\r | |
9 | expect(Ext.Button).toBeDefined();\r | |
10 | });\r | |
11 | \r | |
12 | });\r | |
13 | \r | |
14 | describe("Ext.button.Cycle", function() {\r | |
15 | \r | |
16 | it("should have Ext.CycleButton as the alternate class name", function() {\r | |
17 | expect(Ext.button.Cycle.prototype.alternateClassName).toEqual("Ext.CycleButton");\r | |
18 | });\r | |
19 | \r | |
20 | it("should allow the use of Ext.CycleButton", function() {\r | |
21 | expect(Ext.CycleButton).toBeDefined();\r | |
22 | });\r | |
23 | \r | |
24 | });\r | |
25 | \r | |
26 | describe("Ext.button.Split", function() {\r | |
27 | \r | |
28 | it("should have Ext.SplitButton as the alternate class name", function() {\r | |
29 | expect(Ext.button.Split.prototype.alternateClassName).toEqual("Ext.SplitButton");\r | |
30 | });\r | |
31 | \r | |
32 | it("should allow the use of Ext.SplitButton", function() {\r | |
33 | expect(Ext.SplitButton).toBeDefined();\r | |
34 | });\r | |
35 | \r | |
36 | });\r | |
37 | \r | |
38 | describe("Ext.container.ButtonGroup", function() {\r | |
39 | \r | |
40 | it("should have Ext.ButtonGroup as the alternate class name", function() {\r | |
41 | expect(Ext.container.ButtonGroup.prototype.alternateClassName).toEqual("Ext.ButtonGroup");\r | |
42 | });\r | |
43 | \r | |
44 | it("should allow the use of Ext.ButtonGroup", function() {\r | |
45 | expect(Ext.ButtonGroup).toBeDefined();\r | |
46 | });\r | |
47 | \r | |
48 | });\r | |
49 | \r | |
50 | describe("Ext.container.Container", function() {\r | |
51 | \r | |
52 | it("should have Ext.Container as the alternate class name", function() {\r | |
53 | expect(Ext.container.Container.prototype.alternateClassName).toEqual(["Ext.Container", "Ext.AbstractContainer"]);\r | |
54 | });\r | |
55 | \r | |
56 | it("should allow the use of Ext.Container", function() {\r | |
57 | expect(Ext.Container).toBeDefined();\r | |
58 | });\r | |
59 | \r | |
60 | });\r | |
61 | \r | |
62 | describe("Ext.container.Viewport", function() {\r | |
63 | \r | |
64 | it("should have Ext.Viewport as the alternate class name", function() {\r | |
65 | expect(Ext.container.Viewport.prototype.alternateClassName).toEqual("Ext.Viewport");\r | |
66 | });\r | |
67 | \r | |
68 | it("should allow the use of Ext.Viewport", function() {\r | |
69 | expect(Ext.Viewport).toBeDefined();\r | |
70 | });\r | |
71 | \r | |
72 | });\r | |
73 | \r | |
74 | describe("Ext.form.action.DirectLoad", function() {\r | |
75 | \r | |
76 | it("should have Ext.form.Action.DirectLoad as the alternate class name", function() {\r | |
77 | expect(Ext.form.action.DirectLoad.prototype.alternateClassName).toEqual("Ext.form.Action.DirectLoad");\r | |
78 | });\r | |
79 | \r | |
80 | it("should allow the use of Ext.form.Action.DirectLoad", function() {\r | |
81 | expect(Ext.form.Action.DirectLoad).toBeDefined();\r | |
82 | });\r | |
83 | \r | |
84 | });\r | |
85 | \r | |
86 | describe("Ext.form.action.DirectSubmit", function() {\r | |
87 | \r | |
88 | it("should have Ext.form.Action.DirectSubmit as the alternate class name", function() {\r | |
89 | expect(Ext.form.action.DirectSubmit.prototype.alternateClassName).toEqual("Ext.form.Action.DirectSubmit");\r | |
90 | });\r | |
91 | \r | |
92 | it("should allow the use of Ext.form.Action.DirectSubmit", function() {\r | |
93 | expect(Ext.form.Action.DirectSubmit).toBeDefined();\r | |
94 | });\r | |
95 | \r | |
96 | });\r | |
97 | \r | |
98 | describe("Ext.form.action.Load", function() {\r | |
99 | \r | |
100 | it("should have Ext.form.Action.Load as the alternate class name", function() {\r | |
101 | expect(Ext.form.action.Load.prototype.alternateClassName).toEqual("Ext.form.Action.Load");\r | |
102 | });\r | |
103 | \r | |
104 | it("should allow the use of Ext.form.Action.Load", function() {\r | |
105 | expect(Ext.form.Action.Load).toBeDefined();\r | |
106 | });\r | |
107 | \r | |
108 | });\r | |
109 | \r | |
110 | describe("Ext.form.action.Submit", function() {\r | |
111 | \r | |
112 | it("should have Ext.form.Action.Submit as the alternate class name", function() {\r | |
113 | expect(Ext.form.action.Submit.prototype.alternateClassName).toEqual("Ext.form.Action.Submit");\r | |
114 | });\r | |
115 | \r | |
116 | it("should allow the use of Ext.form.Action.Submit", function() {\r | |
117 | expect(Ext.form.Action.Submit).toBeDefined();\r | |
118 | });\r | |
119 | \r | |
120 | });\r | |
121 | \r | |
122 | describe("Ext.form.Basic", function() {\r | |
123 | \r | |
124 | it("should have Ext.form.BasicForm as the alternate class name", function() {\r | |
125 | expect(Ext.form.Basic.prototype.alternateClassName).toEqual("Ext.form.BasicForm");\r | |
126 | });\r | |
127 | \r | |
128 | it("should allow the use of Ext.form.BasicForm", function() {\r | |
129 | expect(Ext.form.BasicForm).toBeDefined();\r | |
130 | });\r | |
131 | \r | |
132 | });\r | |
133 | \r | |
134 | describe("Ext.form.field.Date", function() {\r | |
135 | \r | |
136 | it("should have Ext.form.DateField as the alternate class name", function() {\r | |
137 | expect(Ext.form.field.Date.prototype.alternateClassName).toEqual(["Ext.form.DateField", "Ext.form.Date"]);\r | |
138 | });\r | |
139 | \r | |
140 | it("should allow the use of Ext.form.DateField", function() {\r | |
141 | expect(Ext.form.DateField).toBeDefined();\r | |
142 | });\r | |
143 | \r | |
144 | });\r | |
145 | \r | |
146 | describe("Ext.form.field.Display", function() {\r | |
147 | \r | |
148 | it("should have Ext.form.DisplayField as the alternate class name", function() {\r | |
149 | expect(Ext.form.field.Display.prototype.alternateClassName).toEqual(["Ext.form.DisplayField", "Ext.form.Display"]);\r | |
150 | });\r | |
151 | \r | |
152 | it("should allow the use of Ext.form.DisplayField", function() {\r | |
153 | expect(Ext.form.DisplayField).toBeDefined();\r | |
154 | });\r | |
155 | \r | |
156 | });\r | |
157 | \r | |
158 | describe("Ext.form.field.Number", function() {\r | |
159 | \r | |
160 | it("should have Ext.form.NumberField as the alternate class name", function() {\r | |
161 | expect(Ext.form.field.Number.prototype.alternateClassName).toEqual(["Ext.form.NumberField", "Ext.form.Number"]);\r | |
162 | });\r | |
163 | \r | |
164 | it("should allow the use of Ext.form.NumberField", function() {\r | |
165 | expect(Ext.form.NumberField).toBeDefined();\r | |
166 | });\r | |
167 | \r | |
168 | });\r | |
169 | \r | |
170 | describe("Ext.form.field.Text", function() {\r | |
171 | \r | |
172 | it("should have Ext.form.TextField as the alternate class name", function() {\r | |
173 | expect(Ext.form.field.Text.prototype.alternateClassName).toEqual(["Ext.form.TextField", "Ext.form.Text"]);\r | |
174 | });\r | |
175 | \r | |
176 | it("should allow the use of Ext.form.TextField", function() {\r | |
177 | expect(Ext.form.TextField).toBeDefined();\r | |
178 | });\r | |
179 | \r | |
180 | });\r | |
181 | \r | |
182 | describe("Ext.form.field.Time", function() {\r | |
183 | \r | |
184 | it("should have Ext.form.TimeField as the alternate class name", function() {\r | |
185 | expect(Ext.form.field.Time.prototype.alternateClassName).toEqual(["Ext.form.TimeField", "Ext.form.Time"]);\r | |
186 | });\r | |
187 | \r | |
188 | it("should allow the use of Ext.form.TimeField", function() {\r | |
189 | expect(Ext.form.TimeField).toBeDefined();\r | |
190 | });\r | |
191 | \r | |
192 | });\r | |
193 | \r | |
194 | describe("Ext.layout.container.Card", function() {\r | |
195 | \r | |
196 | it("should have Ext.layout.CardLayout as the alternate class name", function() {\r | |
197 | expect(Ext.layout.container.Card.prototype.alternateClassName).toEqual("Ext.layout.CardLayout");\r | |
198 | });\r | |
199 | \r | |
200 | it("should allow the use of Ext.layout.CardLayout", function() {\r | |
201 | expect(Ext.layout.CardLayout).toBeDefined();\r | |
202 | });\r | |
203 | \r | |
204 | });\r | |
205 | \r | |
206 | describe("Ext.panel.Panel", function() {\r | |
207 | \r | |
208 | it("should have Ext.Panel as the alternate class name", function() {\r | |
209 | expect(Ext.panel.Panel.prototype.alternateClassName).toEqual("Ext.Panel");\r | |
210 | });\r | |
211 | \r | |
212 | it("should allow the use of Ext.Panel", function() {\r | |
213 | expect(Ext.Panel).toBeDefined();\r | |
214 | });\r | |
215 | \r | |
216 | });\r | |
217 | \r | |
218 | describe("Ext.picker.Color", function() {\r | |
219 | \r | |
220 | it("should have Ext.ColorPalette as the alternate class name", function() {\r | |
221 | expect(Ext.picker.Color.prototype.alternateClassName).toEqual("Ext.ColorPalette");\r | |
222 | });\r | |
223 | \r | |
224 | it("should allow the use of Ext.ColorPalette", function() {\r | |
225 | expect(Ext.ColorPalette).toBeDefined();\r | |
226 | });\r | |
227 | \r | |
228 | });\r | |
229 | \r | |
230 | describe("Ext.picker.Date", function() {\r | |
231 | \r | |
232 | it("should have Ext.DatePicker as the alternate class name", function() {\r | |
233 | expect(Ext.picker.Date.prototype.alternateClassName).toEqual("Ext.DatePicker");\r | |
234 | });\r | |
235 | \r | |
236 | it("should allow the use of Ext.DatePicker", function() {\r | |
237 | expect(Ext.DatePicker).toBeDefined();\r | |
238 | });\r | |
239 | \r | |
240 | });\r | |
241 | \r | |
242 | describe("Ext.picker.Month", function() {\r | |
243 | \r | |
244 | it("should have Ext.MonthPicker as the alternate class name", function() {\r | |
245 | expect(Ext.picker.Month.prototype.alternateClassName).toEqual("Ext.MonthPicker");\r | |
246 | });\r | |
247 | \r | |
248 | it("should allow the use of Ext.MonthPicker", function() {\r | |
249 | expect(Ext.MonthPicker).toBeDefined();\r | |
250 | });\r | |
251 | \r | |
252 | });\r | |
253 | \r | |
254 | describe("Ext.toolbar.Paging", function() {\r | |
255 | \r | |
256 | it("should have Ext.PagingToolbar as the alternate class name", function() {\r | |
257 | expect(Ext.toolbar.Paging.prototype.alternateClassName).toEqual("Ext.PagingToolbar");\r | |
258 | });\r | |
259 | \r | |
260 | it("should allow the use of Ext.PagingToolbar", function() {\r | |
261 | expect(Ext.PagingToolbar).toBeDefined();\r | |
262 | });\r | |
263 | \r | |
264 | });\r | |
265 | \r | |
266 | describe("Ext.toolbar.Toolbar", function() {\r | |
267 | \r | |
268 | it("should have Ext.Toolbar as the alternate class name", function() {\r | |
269 | expect(Ext.toolbar.Toolbar.prototype.alternateClassName).toEqual("Ext.Toolbar");\r | |
270 | });\r | |
271 | \r | |
272 | it("should allow the use of Ext.Toolbar", function() {\r | |
273 | expect(Ext.Toolbar).toBeDefined();\r | |
274 | });\r | |
275 | \r | |
276 | });\r | |
277 | \r | |
278 | describe("Ext.util.History", function() {\r | |
279 | \r | |
280 | it("should have Ext.History as the alternate class name", function() {\r | |
281 | expect(Ext.util.History.alternateClassName).toEqual("Ext.History");\r | |
282 | });\r | |
283 | \r | |
284 | it("should allow the use of Ext.History", function() {\r | |
285 | expect(Ext.History).toBeDefined();\r | |
286 | });\r | |
287 | \r | |
288 | });\r | |
289 | \r | |
290 | describe("Ext.util.KeyMap", function() {\r | |
291 | \r | |
292 | it("should have Ext.KeyMap as the alternate class name", function() {\r | |
293 | expect(Ext.util.KeyMap.prototype.alternateClassName).toEqual("Ext.KeyMap");\r | |
294 | });\r | |
295 | \r | |
296 | it("should allow the use of Ext.KeyMap", function() {\r | |
297 | expect(Ext.KeyMap).toBeDefined();\r | |
298 | });\r | |
299 | \r | |
300 | });\r | |
301 | \r | |
302 | describe("Ext.util.KeyNav", function() {\r | |
303 | \r | |
304 | it("should have Ext.KeyNav as the alternate class name", function() {\r | |
305 | expect(Ext.util.KeyNav.prototype.alternateClassName).toEqual("Ext.KeyNav");\r | |
306 | });\r | |
307 | \r | |
308 | it("should allow the use of Ext.KeyNav", function() {\r | |
309 | expect(Ext.KeyNav).toBeDefined();\r | |
310 | });\r | |
311 | \r | |
312 | });\r | |
313 | \r | |
314 | describe("Ext.view.BoundList", function() {\r | |
315 | \r | |
316 | it("should have Ext.BoundList as the alternate class name", function() {\r | |
317 | expect(Ext.view.BoundList.prototype.alternateClassName).toEqual("Ext.BoundList");\r | |
318 | });\r | |
319 | \r | |
320 | it("should allow the use of Ext.BoundList", function() {\r | |
321 | expect(Ext.BoundList).toBeDefined();\r | |
322 | });\r | |
323 | \r | |
324 | });\r | |
325 | \r | |
326 | describe("Ext.window.Window", function() {\r | |
327 | \r | |
328 | it("should have Ext.Window as the alternate class name", function() {\r | |
329 | expect(Ext.window.Window.prototype.alternateClassName).toEqual("Ext.Window");\r | |
330 | });\r | |
331 | \r | |
332 | it("should allow the use of Ext.Window", function() {\r | |
333 | expect(Ext.Window).toBeDefined();\r | |
334 | });\r | |
335 | \r | |
336 | });\r | |
337 | \r | |
338 | });\r |