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.build.common; | 5 library polymer.test.build.common; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 | 8 |
9 import 'package:barback/barback.dart'; | 9 import 'package:barback/barback.dart'; |
10 import 'package:stack_trace/stack_trace.dart'; | 10 import 'package:stack_trace/stack_trace.dart'; |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 ' final String tagName;\n' | 180 ' final String tagName;\n' |
181 ' const CustomTag(this.tagName);' | 181 ' const CustomTag(this.tagName);' |
182 '}\n' | 182 '}\n' |
183 'class InitMethodAnnotation { const InitMethodAnnotation(); }\n' | 183 'class InitMethodAnnotation { const InitMethodAnnotation(); }\n' |
184 'const initMethod = const InitMethodAnnotation();\n', | 184 'const initMethod = const InitMethodAnnotation();\n', |
185 | 185 |
186 'polymer|lib/src/instance.dart': | 186 'polymer|lib/src/instance.dart': |
187 'part of polymer;\n' | 187 'part of polymer;\n' |
188 'class PublishedProperty { const PublishedProperty(); }\n' | 188 'class PublishedProperty { const PublishedProperty(); }\n' |
189 'const published = const PublishedProperty();\n' | 189 'const published = const PublishedProperty();\n' |
| 190 'class ComputedProperty {' |
| 191 ' final String expression;\n' |
| 192 ' const ComputedProperty();' |
| 193 '}\n' |
190 'class ObserveProperty { const ObserveProperty(); }\n' | 194 'class ObserveProperty { const ObserveProperty(); }\n' |
191 'abstract class Polymer {}\n' | 195 'abstract class Polymer {}\n' |
192 'class PolymerElement extends HtmlElement with Polymer {}\n', | 196 'class PolymerElement extends HtmlElement with Polymer {}\n', |
193 | 197 |
194 'polymer|lib/init.dart': | 198 'polymer|lib/init.dart': |
195 'library polymer.init;\n' | 199 'library polymer.init;\n' |
196 'import "package:polymer/polymer.dart";\n' | 200 'import "package:polymer/polymer.dart";\n' |
197 'main() {};\n', | 201 'main() {};\n', |
198 | 202 |
199 'observe|lib/observe.dart': | 203 'observe|lib/observe.dart': |
200 'library observe;\n' | 204 'library observe;\n' |
201 'export "src/metadata.dart";', | 205 'export "src/metadata.dart";', |
202 | 206 |
203 'observe|lib/src/metadata.dart': | 207 'observe|lib/src/metadata.dart': |
204 'library observe.src.metadata;\n' | 208 'library observe.src.metadata;\n' |
205 'class ObservableProperty { const ObservableProperty(); }\n' | 209 'class ObservableProperty { const ObservableProperty(); }\n' |
206 'const observable = const ObservableProperty();\n', | 210 'const observable = const ObservableProperty();\n', |
207 }; | 211 }; |
OLD | NEW |