| 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 '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 Loading... |
| 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); |
| OLD | NEW |