OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 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 | 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 import 'dart:async'; | 5 import 'dart:async'; |
6 import 'dart:html'; | 6 import 'dart:html'; |
7 import 'package:polymer/polymer.dart'; | 7 import 'package:polymer/polymer.dart'; |
8 import 'package:unittest/unittest.dart'; | 8 import 'package:unittest/unittest.dart'; |
9 import 'package:unittest/html_config.dart'; | 9 import 'package:unittest/html_config.dart'; |
10 | 10 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 }); | 51 }); |
52 } | 52 } |
53 } | 53 } |
54 | 54 |
55 main() { | 55 main() { |
56 initPolymer(); | 56 initPolymer(); |
57 useHtmlConfiguration(); | 57 useHtmlConfiguration(); |
58 | 58 |
59 setUp(() => Polymer.onReady); | 59 setUp(() => Polymer.onReady); |
60 | 60 |
61 test('inserted called', () => (query('x-test') as XTest).onTestDone); | 61 test('inserted called', () => (querySelector('x-test') as XTest).onTestDone); |
62 } | 62 } |
OLD | NEW |