| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 part of observable_tests; | 5 part of observable_tests; |
| 6 | 6 |
| 7 testChangeEvent() { | 7 testChangeEvent() { |
| 8 test('constructor', () { | 8 test('constructor', () { |
| 9 // create property, list, global and check the proper initialization. | 9 // create property, list, global and check the proper initialization. |
| 10 final target = new AbstractObservable(); | 10 final target = new AbstractObservable(); |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 | 23 |
| 24 validateRemove( | 24 validateRemove( |
| 25 new ChangeEvent.list(target, ChangeEvent.REMOVE, 3, null, '12'), | 25 new ChangeEvent.list(target, ChangeEvent.REMOVE, 3, null, '12'), |
| 26 target, null, 3, '12'); | 26 target, null, 3, '12'); |
| 27 | 27 |
| 28 validateGlobal( | 28 validateGlobal( |
| 29 new ChangeEvent.list(target, ChangeEvent.GLOBAL, null, null, null), | 29 new ChangeEvent.list(target, ChangeEvent.GLOBAL, null, null, null), |
| 30 target); | 30 target); |
| 31 }); | 31 }); |
| 32 } | 32 } |
| OLD | NEW |