| 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 'parser_helper.dart'; | 8 import 'parser_helper.dart'; |
| 9 import 'mock_compiler.dart'; | 9 import 'mock_compiler.dart'; |
| 10 import '../../../sdk/lib/_internal/compiler/compiler.dart'; | 10 import '../../../sdk/lib/_internal/compiler/compiler.dart'; |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 class Null {} | 32 class Null {} |
| 33 class TypeError {} | 33 class TypeError {} |
| 34 class Type {} | 34 class Type {} |
| 35 class StackTrace {} | 35 class StackTrace {} |
| 36 class LinkedHashMap {} | 36 class LinkedHashMap {} |
| 37 class Math { | 37 class Math { |
| 38 static double parseDouble(String s) => 1.0; | 38 static double parseDouble(String s) => 1.0; |
| 39 } | 39 } |
| 40 print(x) {} | 40 print(x) {} |
| 41 identical(a, b) => true; | 41 identical(a, b) => true; |
| 42 const proxy = 0; |
| 42 '''; | 43 '''; |
| 43 | 44 |
| 44 const ioLib = r''' | 45 const ioLib = r''' |
| 45 library io; | 46 library io; |
| 46 class Platform { | 47 class Platform { |
| 47 static int operatingSystem; | 48 static int operatingSystem; |
| 48 } | 49 } |
| 49 '''; | 50 '''; |
| 50 | 51 |
| 51 const htmlLib = r''' | 52 const htmlLib = r''' |
| (...skipping 677 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 729 testStaticAccessIoLib(); | 730 testStaticAccessIoLib(); |
| 730 testLocalFunctionPlaceholder(); | 731 testLocalFunctionPlaceholder(); |
| 731 testMinification(); | 732 testMinification(); |
| 732 testClosureLocalsMinified(); | 733 testClosureLocalsMinified(); |
| 733 testParametersMinified(); | 734 testParametersMinified(); |
| 734 testDeclarationTypePlaceholders(); | 735 testDeclarationTypePlaceholders(); |
| 735 testPlatformLibraryMemberNamesAreFixed(); | 736 testPlatformLibraryMemberNamesAreFixed(); |
| 736 testConflictsWithCoreLib(); | 737 testConflictsWithCoreLib(); |
| 737 testUnresolvedNamedConstructor(); | 738 testUnresolvedNamedConstructor(); |
| 738 } | 739 } |
| OLD | NEW |