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

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

Issue 17552019: Reorganize mdv and observe packages (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: tests passing 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
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 List API tests. 10 // TODO(jmesserly): need all standard List API tests.
11 11
12 const _LENGTH = const Symbol('length'); 12 const _LENGTH = const Symbol('length');
13 13
14 group('observe length', () { 14 group('observe length', () {
15 15
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 }); 236 });
237 }); 237 });
238 } 238 }
239 239
240 const _LENGTH = const Symbol('length'); 240 const _LENGTH = const Symbol('length');
241 241
242 final _lengthChange = new PropertyChangeRecord(_LENGTH); 242 final _lengthChange = new PropertyChangeRecord(_LENGTH);
243 243
244 _change(index, {removedCount: 0, addedCount: 0}) => new ListChangeRecord( 244 _change(index, {removedCount: 0, addedCount: 0}) => new ListChangeRecord(
245 index, removedCount: removedCount, addedCount: addedCount); 245 index, removedCount: removedCount, addedCount: addedCount);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698