Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: tests/html/custom_element_bindings_test.dart

Issue 15263004: Adding isNotEmpty property to collection and string. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix template generation Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tests/corelib/string_test.dart ('k') | tools/dom/src/AttributeMap.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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'; 7 import 'dart:async';
8 import 'dart:html'; 8 import 'dart:html';
9 import 'package:mdv_observe/mdv_observe.dart'; 9 import 'package:mdv_observe/mdv_observe.dart';
10 import 'package:unittest/html_config.dart'; 10 import 'package:unittest/html_config.dart';
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 log.add(['remove', key]); 276 log.add(['remove', key]);
277 _map.remove(key); 277 _map.remove(key);
278 } 278 }
279 279
280 void clear() => _map.clear(); 280 void clear() => _map.clear();
281 void forEach(void f(K key, V value)) => _map.forEach(f); 281 void forEach(void f(K key, V value)) => _map.forEach(f);
282 Iterable<K> get keys => _map.keys; 282 Iterable<K> get keys => _map.keys;
283 Iterable<V> get values => _map.values; 283 Iterable<V> get values => _map.values;
284 int get length => _map.length; 284 int get length => _map.length;
285 bool get isEmpty => _map.isEmpty; 285 bool get isEmpty => _map.isEmpty;
286 bool get isNotEmpty => _map.isNotEmpty;
286 } 287 }
OLDNEW
« no previous file with comments | « tests/corelib/string_test.dart ('k') | tools/dom/src/AttributeMap.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698