| 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'; | |
| 6 import 'package:observe/observe.dart'; | 5 import 'package:observe/observe.dart'; |
| 7 import 'package:unittest/unittest.dart'; | 6 import 'package:unittest/unittest.dart'; |
| 8 import 'observe_test_utils.dart'; | 7 import 'observe_test_utils.dart'; |
| 9 | 8 |
| 10 // This file contains code ported from: | 9 // This file contains code ported from: |
| 11 // https://github.com/rafaelw/ChangeSummary/blob/master/tests/test.js | 10 // https://github.com/rafaelw/ChangeSummary/blob/master/tests/test.js |
| 12 | 11 |
| 13 main() { | 12 main() { |
| 14 group('PathObserver', observePathTests); | 13 group('PathObserver', observePathTests); |
| 15 } | 14 } |
| (...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 | 252 |
| 254 class WatcherModel extends ObservableBase { | 253 class WatcherModel extends ObservableBase { |
| 255 // TODO(jmesserly): dart2js does not let these be on the same line: | 254 // TODO(jmesserly): dart2js does not let these be on the same line: |
| 256 // @observable var a, b, c; | 255 // @observable var a, b, c; |
| 257 @observable var a; | 256 @observable var a; |
| 258 @observable var b; | 257 @observable var b; |
| 259 @observable var c; | 258 @observable var c; |
| 260 | 259 |
| 261 WatcherModel(); | 260 WatcherModel(); |
| 262 } | 261 } |
| OLD | NEW |