| 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 'package:expect/expect.dart'; |
| 6 import 'dart:async'; | 6 import 'dart:async'; |
| 7 import 'dart:io'; | 7 import 'dart:io'; |
| 8 import 'dart:uri'; | 8 import 'dart:uri'; |
| 9 import 'package:expect/expect.dart'; | |
| 10 import '../../../sdk/lib/_internal/compiler/implementation/filenames.dart'; | 9 import '../../../sdk/lib/_internal/compiler/implementation/filenames.dart'; |
| 11 import '../../../sdk/lib/_internal/compiler/implementation/mirrors/mirrors.dart'
; | 10 import '../../../sdk/lib/_internal/compiler/implementation/mirrors/mirrors.dart'
; |
| 12 import '../../../sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirro
r.dart'; | 11 import '../../../sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirro
r.dart'; |
| 13 import '../../../sdk/lib/_internal/compiler/implementation/source_file_provider.
dart'; | 12 import '../../../sdk/lib/_internal/compiler/implementation/source_file_provider.
dart'; |
| 14 import 'mock_compiler.dart'; | 13 import 'mock_compiler.dart'; |
| 15 | 14 |
| 16 const String SOURCE = 'source'; | 15 const String SOURCE = 'source'; |
| 17 const Uri SOURCE_URI = const Uri.fromComponents(scheme: SOURCE, path: SOURCE); | 16 const Uri SOURCE_URI = const Uri.fromComponents(scheme: SOURCE, path: SOURCE); |
| 18 | 17 |
| 19 MirrorSystem createMirrorSystem(String source) { | 18 MirrorSystem createMirrorSystem(String source) { |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 testDeclarationComment('final int field = 0;', ['field']); | 77 testDeclarationComment('final int field = 0;', ['field']); |
| 79 testDeclarationComment('final field1 = 0, field2 = 0;', ['field1', 'field2']); | 78 testDeclarationComment('final field1 = 0, field2 = 0;', ['field1', 'field2']); |
| 80 testDeclarationComment('final int field1 = 0, field2 = 0;', | 79 testDeclarationComment('final int field1 = 0, field2 = 0;', |
| 81 ['field1', 'field2']); | 80 ['field1', 'field2']); |
| 82 testDeclarationComment('const field = 0;', ['field']); | 81 testDeclarationComment('const field = 0;', ['field']); |
| 83 testDeclarationComment('const int field = 0;', ['field']); | 82 testDeclarationComment('const int field = 0;', ['field']); |
| 84 testDeclarationComment('const field1 = 0, field2 = 0;', ['field1', 'field2']); | 83 testDeclarationComment('const field1 = 0, field2 = 0;', ['field1', 'field2']); |
| 85 testDeclarationComment('const int field1 = 0, field2 = 0;', | 84 testDeclarationComment('const int field1 = 0, field2 = 0;', |
| 86 ['field1', 'field2']); | 85 ['field1', 'field2']); |
| 87 } | 86 } |
| OLD | NEW |