Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Side by Side Diff: tests/html/element_types_test.dart

Issue 11934004: Remove more classes and members by making them private. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merged and stuff. Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | tools/dom/scripts/htmlrenamer.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library element_types; 5 library element_types;
6 import '../../pkg/unittest/lib/unittest.dart'; 6 import '../../pkg/unittest/lib/unittest.dart';
7 import '../../pkg/unittest/lib/html_individual_config.dart'; 7 import '../../pkg/unittest/lib/html_individual_config.dart';
8 import 'dart:html'; 8 import 'dart:html';
9 9
10 main() { 10 main() {
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 }); 121 });
122 test('div', () { 122 test('div', () {
123 expect((new DivElement()) is DivElement, true); 123 expect((new DivElement()) is DivElement, true);
124 }); 124 });
125 test('embed', () { 125 test('embed', () {
126 expect((new EmbedElement()) is EmbedElement, EmbedElement.supported); 126 expect((new EmbedElement()) is EmbedElement, EmbedElement.supported);
127 }); 127 });
128 test('fieldset', () { 128 test('fieldset', () {
129 expect((new FieldSetElement()) is FieldSetElement, true); 129 expect((new FieldSetElement()) is FieldSetElement, true);
130 }); 130 });
131 test('font', () {
132 expect((new Element.tag('font')) is FontElement, true);
133 });
134 test('form', () { 131 test('form', () {
135 expect((new FormElement()) is FormElement, true); 132 expect((new FormElement()) is FormElement, true);
136 }); 133 });
137 test('frame', () {
138 expect((new Element.tag('frame')) is FrameElement, true);
139 });
140 test('frameset', () {
141 expect((new Element.tag('frameset')) is FrameSetElement, true);
142 });
143 test('head', () { 134 test('head', () {
144 expect((new HeadElement()) is HeadElement, true); 135 expect((new HeadElement()) is HeadElement, true);
145 }); 136 });
146 test('hr', () { 137 test('hr', () {
147 expect((new HRElement()) is HRElement, true); 138 expect((new HRElement()) is HRElement, true);
148 }); 139 });
149 test('html', () { 140 test('html', () {
150 expect((new HtmlElement()) is HtmlElement, true); 141 expect((new HtmlElement()) is HtmlElement, true);
151 }); 142 });
152 test('h1', () { 143 test('h1', () {
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 }); 184 });
194 test('legend', () { 185 test('legend', () {
195 expect((new LegendElement()) is LegendElement, true); 186 expect((new LegendElement()) is LegendElement, true);
196 }); 187 });
197 test('link', () { 188 test('link', () {
198 expect((new LinkElement()) is LinkElement, true); 189 expect((new LinkElement()) is LinkElement, true);
199 }); 190 });
200 test('map', () { 191 test('map', () {
201 expect((new MapElement()) is MapElement, true); 192 expect((new MapElement()) is MapElement, true);
202 }); 193 });
203 test('marquee', () {
204 expect((new Element.tag('marquee')) is MarqueeElement,
205 MarqueeElement.supported);
206 });
207 test('menu', () { 194 test('menu', () {
208 expect((new MenuElement()) is MenuElement, true); 195 expect((new MenuElement()) is MenuElement, true);
209 }); 196 });
210 test('meta', () { 197 test('meta', () {
211 expect((new Element.tag('meta')) is MetaElement, true); 198 expect((new Element.tag('meta')) is MetaElement, true);
212 }); 199 });
213 test('meter', () { 200 test('meter', () {
214 expect((new Element.tag('meter')) is MeterElement, MeterElement.supported) ; 201 expect((new Element.tag('meter')) is MeterElement, MeterElement.supported) ;
215 }); 202 });
216 test('del', () { 203 test('del', () {
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 expect((new UListElement()) is UListElement, true); 288 expect((new UListElement()) is UListElement, true);
302 }); 289 });
303 test('video', () { 290 test('video', () {
304 expect((new VideoElement()) is VideoElement, true); 291 expect((new VideoElement()) is VideoElement, true);
305 }); 292 });
306 test('unknown', () { 293 test('unknown', () {
307 expect((new Element.tag('someunknown')) is UnknownElement, true); 294 expect((new Element.tag('someunknown')) is UnknownElement, true);
308 });; 295 });;
309 }); 296 });
310 } 297 }
OLDNEW
« no previous file with comments | « sdk/lib/html/dartium/html_dartium.dart ('k') | tools/dom/scripts/htmlrenamer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698