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 "package:async_helper/async_helper.dart"; | 7 import "package:async_helper/async_helper.dart"; |
8 import '../mock_compiler.dart'; | 8 import '../mock_compiler.dart'; |
9 import '../mock_libraries.dart'; | 9 import '../mock_libraries.dart'; |
10 import 'package:compiler/compiler.dart'; | 10 import 'package:compiler/compiler.dart'; |
11 import 'package:compiler/implementation/dart2jslib.dart' as leg; | 11 import 'package:compiler/src/dart2jslib.dart' as leg; |
12 import 'package:compiler/implementation/dart_backend/dart_backend.dart'; | 12 import 'package:compiler/src/dart_backend/dart_backend.dart'; |
13 import 'package:compiler/implementation/elements/elements.dart'; | 13 import 'package:compiler/src/elements/elements.dart'; |
14 import 'package:compiler/implementation/tree/tree.dart'; | 14 import 'package:compiler/src/tree/tree.dart'; |
15 | 15 |
16 const ioLib = r''' | 16 const ioLib = r''' |
17 library io; | 17 library io; |
18 class Platform { | 18 class Platform { |
19 static int operatingSystem; | 19 static int operatingSystem; |
20 } | 20 } |
21 '''; | 21 '''; |
22 | 22 |
23 const htmlLib = r''' | 23 const htmlLib = r''' |
24 library html; | 24 library html; |
(...skipping 1075 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1100 testParametersMinified(); | 1100 testParametersMinified(); |
1101 testDeclarationTypePlaceholders(); | 1101 testDeclarationTypePlaceholders(); |
1102 testPlatformLibraryMemberNamesAreFixed(); | 1102 testPlatformLibraryMemberNamesAreFixed(); |
1103 testConflictsWithCoreLib(); | 1103 testConflictsWithCoreLib(); |
1104 testUnresolvedNamedConstructor1(); | 1104 testUnresolvedNamedConstructor1(); |
1105 testUnresolvedNamedConstructor2(); | 1105 testUnresolvedNamedConstructor2(); |
1106 testUnresolvedNamedConstructor3(); | 1106 testUnresolvedNamedConstructor3(); |
1107 testClassAndNamedMixinDeclarations(); | 1107 testClassAndNamedMixinDeclarations(); |
1108 } | 1108 } |
1109 | 1109 |
OLD | NEW |