| 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 testChangeEvent() { | 5 testChangeEvent() { |
| 6 test('constructor', () { | 6 test('constructor', () { |
| 7 // create property, list, global and check the proper initialization. | 7 // create property, list, global and check the proper initialization. |
| 8 final target = new AbstractObservable(); | 8 final target = new AbstractObservable(); |
| 9 | 9 |
| 10 validateUpdate( | 10 validateUpdate( |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 | 21 |
| 22 validateRemove( | 22 validateRemove( |
| 23 new ChangeEvent.list(target, ChangeEvent.REMOVE, 3, null, '12'), | 23 new ChangeEvent.list(target, ChangeEvent.REMOVE, 3, null, '12'), |
| 24 target, null, 3, '12'); | 24 target, null, 3, '12'); |
| 25 | 25 |
| 26 validateGlobal( | 26 validateGlobal( |
| 27 new ChangeEvent.list(target, ChangeEvent.GLOBAL, null, null, null), | 27 new ChangeEvent.list(target, ChangeEvent.GLOBAL, null, null, null), |
| 28 target); | 28 target); |
| 29 }); | 29 }); |
| 30 } | 30 } |
| OLD | NEW |