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 library custom_element_bindings_test; | 5 library custom_element_bindings_test; |
6 | 6 |
7 import 'dart:async'; | |
8 import 'dart:html'; | 7 import 'dart:html'; |
9 import 'package:mdv/mdv.dart' as mdv; | 8 import 'package:mdv/mdv.dart' as mdv; |
10 import 'package:observe/observe.dart'; | |
11 import 'package:unittest/html_config.dart'; | 9 import 'package:unittest/html_config.dart'; |
12 import 'package:unittest/unittest.dart'; | 10 import 'package:unittest/unittest.dart'; |
13 import 'mdv_test_utils.dart'; | 11 import 'mdv_test_utils.dart'; |
14 | 12 |
15 main() { | 13 main() { |
16 mdv.initialize(); | 14 mdv.initialize(); |
17 useHtmlConfiguration(); | 15 useHtmlConfiguration(); |
18 group('Custom Element Bindings', customElementBindingsTest); | 16 group('Custom Element Bindings', customElementBindingsTest); |
19 } | 17 } |
20 | 18 |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 } | 266 } |
269 | 267 |
270 void clear() => _map.clear(); | 268 void clear() => _map.clear(); |
271 void forEach(void f(K key, V value)) => _map.forEach(f); | 269 void forEach(void f(K key, V value)) => _map.forEach(f); |
272 Iterable<K> get keys => _map.keys; | 270 Iterable<K> get keys => _map.keys; |
273 Iterable<V> get values => _map.values; | 271 Iterable<V> get values => _map.values; |
274 int get length => _map.length; | 272 int get length => _map.length; |
275 bool get isEmpty => _map.isEmpty; | 273 bool get isEmpty => _map.isEmpty; |
276 bool get isNotEmpty => _map.isNotEmpty; | 274 bool get isNotEmpty => _map.isNotEmpty; |
277 } | 275 } |
OLD | NEW |