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

Side by Side Diff: pkg/observe/test/observable_map_test.dart

Issue 17552019: Reorganize mdv and observe packages (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merged Created 7 years, 5 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 | « pkg/observe/test/observable_list_test.dart ('k') | pkg/observe/test/observe_test.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 import 'package:mdv_observe/mdv_observe.dart'; 5 import 'package:observe/observe.dart';
6 import 'package:unittest/unittest.dart'; 6 import 'package:unittest/unittest.dart';
7 import 'utils.dart'; 7 import 'utils.dart';
8 8
9 main() { 9 main() {
10 // TODO(jmesserly): need all standard Map API tests. 10 // TODO(jmesserly): need all standard Map API tests.
11 11
12 group('observe length', () { 12 group('observe length', () {
13 ObservableMap map; 13 ObservableMap map;
14 List<ChangeRecord> changes; 14 List<ChangeRecord> changes;
15 15
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 }); 232 });
233 } 233 }
234 234
235 235
236 const _LENGTH = const Symbol('length'); 236 const _LENGTH = const Symbol('length');
237 237
238 final _lengthChange = new PropertyChangeRecord(_LENGTH); 238 final _lengthChange = new PropertyChangeRecord(_LENGTH);
239 239
240 _change(key, {isInsert: false, isRemove: false}) => 240 _change(key, {isInsert: false, isRemove: false}) =>
241 new MapChangeRecord(key, isInsert: isInsert, isRemove: isRemove); 241 new MapChangeRecord(key, isInsert: isInsert, isRemove: isRemove);
OLDNEW
« no previous file with comments | « pkg/observe/test/observable_list_test.dart ('k') | pkg/observe/test/observe_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698