| 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 library polymer.test.transform.all_phases_test; | 5 library polymer.test.transform.all_phases_test; |
| 6 | 6 |
| 7 import 'package:polymer/src/transform.dart'; | 7 import 'package:polymer/src/transform.dart'; |
| 8 import 'package:unittest/compact_vm_config.dart'; | 8 import 'package:unittest/compact_vm_config.dart'; |
| 9 | 9 |
| 10 import 'common.dart'; | 10 import 'common.dart'; |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 String _sampleObservableOutput(String className, String fieldName) => ''' | 204 String _sampleObservableOutput(String className, String fieldName) => ''' |
| 205 library ${className}_$fieldName; | 205 library ${className}_$fieldName; |
| 206 import 'package:observe/observe.dart'; | 206 import 'package:observe/observe.dart'; |
| 207 | 207 |
| 208 class $className extends ChangeNotifierBase { | 208 class $className extends ChangeNotifierBase { |
| 209 int __\$$fieldName; | 209 int __\$$fieldName; |
| 210 int get $fieldName => __\$$fieldName; | 210 int get $fieldName => __\$$fieldName; |
| 211 set $fieldName(int value) { | 211 set $fieldName(int value) { |
| 212 __\$$fieldName = notifyPropertyChange(const Symbol('$fieldName'), __\$$field
Name, value); | 212 __\$$fieldName = notifyPropertyChange(const Symbol('$fieldName'), __\$$field
Name, value); |
| 213 } | 213 } |
| 214 | 214 |
| 215 $className($fieldName) : __\$$fieldName = $fieldName; | 215 $className($fieldName) : __\$$fieldName = $fieldName; |
| 216 } | 216 } |
| 217 '''; | 217 '''; |
| OLD | NEW |