| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 "package:expect/expect.dart"; |
| 5 import "dart:uri"; | 6 import "dart:uri"; |
| 6 | 7 |
| 7 import 'compiler_helper.dart'; | 8 import 'compiler_helper.dart'; |
| 8 import 'parser_helper.dart'; | 9 import 'parser_helper.dart'; |
| 9 | 10 |
| 10 import '../../../sdk/lib/_internal/compiler/implementation/elements/elements.dar
t'; | 11 import '../../../sdk/lib/_internal/compiler/implementation/elements/elements.dar
t'; |
| 11 import '../../../sdk/lib/_internal/compiler/implementation/dart2jslib.dart'; | 12 import '../../../sdk/lib/_internal/compiler/implementation/dart2jslib.dart'; |
| 12 import '../../../sdk/lib/_internal/compiler/implementation/util/util.dart' | 13 import '../../../sdk/lib/_internal/compiler/implementation/util/util.dart' |
| 13 show Spannable, Link; | 14 show Spannable, Link; |
| 14 import '../../../sdk/lib/_internal/compiler/implementation/tree/tree.dart' | 15 import '../../../sdk/lib/_internal/compiler/implementation/tree/tree.dart' |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 compileAndCheckLibrary(source, | 212 compileAndCheckLibrary(source, |
| 212 (e) => e.compilationUnits.first.partTag.metadata); | 213 (e) => e.compilationUnits.first.partTag.metadata); |
| 213 } | 214 } |
| 214 | 215 |
| 215 void main() { | 216 void main() { |
| 216 testClassMetadata(); | 217 testClassMetadata(); |
| 217 testTopLevelMethodMetadata(); | 218 testTopLevelMethodMetadata(); |
| 218 testTopLevelFieldMetadata(); | 219 testTopLevelFieldMetadata(); |
| 219 testLibraryTags(); | 220 testLibraryTags(); |
| 220 } | 221 } |
| OLD | NEW |