| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | |
| 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. | |
| 4 | |
| 5 library polymer.test.sort_registration_test; | |
| 6 | |
| 7 import 'dart:html'; | |
| 8 import 'package:polymer/polymer.dart'; | |
| 9 import 'package:unittest/html_config.dart'; | |
| 10 import 'package:unittest/unittest.dart'; | |
| 11 | |
| 12 part 'sort_registration_part1.dart'; | |
| 13 part 'sort_registration_part2.dart'; | |
| 14 | |
| 15 @CustomTag('x-a') | |
| 16 class A extends PolymerElement { | |
| 17 A.created() : super.created(); | |
| 18 } | |
| 19 | |
| 20 main() => initPolymer().then((zone) => zone.run(() { | |
| 21 useHtmlConfiguration(); | |
| 22 setUp(() => Polymer.onReady); | |
| 23 | |
| 24 test('registration is done in the right order', () { | |
| 25 expect(querySelector('x-e') is E, isTrue); | |
| 26 }); | |
| 27 })); | |
| OLD | NEW |