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_constructors2_test; | 5 library element_types_constructors2_test; |
6 | 6 |
7 import 'package:unittest/unittest.dart'; | 7 import 'package:unittest/unittest.dart'; |
8 import 'package:unittest/html_individual_config.dart'; | 8 import 'package:unittest/html_individual_config.dart'; |
9 import 'dart:html'; | 9 import 'dart:html'; |
10 | 10 |
(...skipping 17 matching lines...) Expand all Loading... |
28 check('html', () => new HtmlHtmlElement() is HtmlHtmlElement); | 28 check('html', () => new HtmlHtmlElement() is HtmlHtmlElement); |
29 check('h1', () => new HeadingElement.h1() is HeadingElement); | 29 check('h1', () => new HeadingElement.h1() is HeadingElement); |
30 check('h2', () => new HeadingElement.h2() is HeadingElement); | 30 check('h2', () => new HeadingElement.h2() is HeadingElement); |
31 check('h3', () => new HeadingElement.h3() is HeadingElement); | 31 check('h3', () => new HeadingElement.h3() is HeadingElement); |
32 check('h4', () => new HeadingElement.h4() is HeadingElement); | 32 check('h4', () => new HeadingElement.h4() is HeadingElement); |
33 check('h5', () => new HeadingElement.h5() is HeadingElement); | 33 check('h5', () => new HeadingElement.h5() is HeadingElement); |
34 check('h6', () => new HeadingElement.h6() is HeadingElement); | 34 check('h6', () => new HeadingElement.h6() is HeadingElement); |
35 check('iframe', () => new IFrameElement() is IFrameElement); | 35 check('iframe', () => new IFrameElement() is IFrameElement); |
36 check('img', () => new ImageElement() is ImageElement); | 36 check('img', () => new ImageElement() is ImageElement); |
37 check('input', () => new InputElement() is InputElement); | 37 check('input', () => new InputElement() is InputElement); |
38 check('keygen', | 38 check('keygen', () => new KeygenElement() is KeygenElement, |
39 () => new KeygenElement() is KeygenElement, KeygenElement.supported); | 39 KeygenElement.supported); |
40 }); | 40 }); |
41 } | 41 } |
OLD | NEW |