| 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 'dart:async'; | 5 import 'dart:async'; |
| 6 import 'package:mdv_observe/mdv_observe.dart'; | 6 import 'package:observe/observe.dart'; |
| 7 import 'package:unittest/unittest.dart'; | 7 import 'package:unittest/unittest.dart'; |
| 8 import 'utils.dart'; | 8 import 'utils.dart'; |
| 9 | 9 |
| 10 main() { | 10 main() { |
| 11 // Note: to test the basic Observable system, we use ObservableBox due to its | 11 // Note: to test the basic Observable system, we use ObservableBox due to its |
| 12 // simplicity. | 12 // simplicity. |
| 13 | 13 |
| 14 const _VALUE = const Symbol('value'); | 14 const _VALUE = const Symbol('value'); |
| 15 | 15 |
| 16 group('ObservableBox', () { | 16 group('ObservableBox', () { |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 })); | 121 })); |
| 122 t.value = 777; | 122 t.value = 777; |
| 123 })); | 123 })); |
| 124 })); | 124 })); |
| 125 t.value = 42; | 125 t.value = 42; |
| 126 }); | 126 }); |
| 127 }); | 127 }); |
| 128 } | 128 } |
| 129 | 129 |
| 130 _record(key) => new PropertyChangeRecord(key); | 130 _record(key) => new PropertyChangeRecord(key); |
| OLD | NEW |