| OLD | NEW |
| 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 30 matching lines...) Expand all Loading... |
| 41 }); | 41 }); |
| 42 | 42 |
| 43 group('supported_meter', () { | 43 group('supported_meter', () { |
| 44 test('supported', () { | 44 test('supported', () { |
| 45 expect(MeterElement.supported, true); | 45 expect(MeterElement.supported, true); |
| 46 }); | 46 }); |
| 47 }); | 47 }); |
| 48 | 48 |
| 49 group('supported_object', () { | 49 group('supported_object', () { |
| 50 test('supported', () { | 50 test('supported', () { |
| 51 expect(MeterElement.supported, true); | 51 expect(ObjectElement.supported, true); |
| 52 }); | 52 }); |
| 53 }); | 53 }); |
| 54 | 54 |
| 55 group('supported_output', () { | 55 group('supported_output', () { |
| 56 test('supported', () { | 56 test('supported', () { |
| 57 expect(OutputElement.supported, true); | 57 expect(OutputElement.supported, true); |
| 58 }); | 58 }); |
| 59 }); | 59 }); |
| 60 | 60 |
| 61 group('supported_progress', () { | 61 group('supported_progress', () { |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 expect((new UListElement()) is UListElement, true); | 288 expect((new UListElement()) is UListElement, true); |
| 289 }); | 289 }); |
| 290 test('video', () { | 290 test('video', () { |
| 291 expect((new VideoElement()) is VideoElement, true); | 291 expect((new VideoElement()) is VideoElement, true); |
| 292 }); | 292 }); |
| 293 test('unknown', () { | 293 test('unknown', () { |
| 294 expect((new Element.tag('someunknown')) is UnknownElement, true); | 294 expect((new Element.tag('someunknown')) is UnknownElement, true); |
| 295 });; | 295 });; |
| 296 }); | 296 }); |
| 297 } | 297 } |
| OLD | NEW |