| 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:uri'; | 7 import 'dart:uri'; |
| 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 16 matching lines...) Expand all Loading... |
| 27 interface Closure {} | 27 interface Closure {} |
| 28 interface Dynamic_ {} | 28 interface Dynamic_ {} |
| 29 interface Null {} | 29 interface Null {} |
| 30 interface TypeError {} | 30 interface TypeError {} |
| 31 class Type {} | 31 class Type {} |
| 32 class LinkedHashMap {} | 32 class LinkedHashMap {} |
| 33 class Math { | 33 class Math { |
| 34 static double parseDouble(String s) => 1.0; | 34 static double parseDouble(String s) => 1.0; |
| 35 } | 35 } |
| 36 print(x) {} | 36 print(x) {} |
| 37 identical(a, b) => true; |
| 37 '''; | 38 '''; |
| 38 | 39 |
| 39 const ioLib = r''' | 40 const ioLib = r''' |
| 40 library io; | 41 library io; |
| 41 class Platform { | 42 class Platform { |
| 42 static int operatingSystem; | 43 static int operatingSystem; |
| 43 } | 44 } |
| 44 '''; | 45 '''; |
| 45 | 46 |
| 46 const htmlLib = r''' | 47 const htmlLib = r''' |
| (...skipping 709 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 756 testStaticAccessIoLib(); | 757 testStaticAccessIoLib(); |
| 757 testLocalFunctionPlaceholder(); | 758 testLocalFunctionPlaceholder(); |
| 758 testMinification(); | 759 testMinification(); |
| 759 testClosureLocalsMinified(); | 760 testClosureLocalsMinified(); |
| 760 testParametersMinified(); | 761 testParametersMinified(); |
| 761 testDeclarationTypePlaceholders(); | 762 testDeclarationTypePlaceholders(); |
| 762 testPlatformLibraryMemberNamesAreFixed(); | 763 testPlatformLibraryMemberNamesAreFixed(); |
| 763 testConflictsWithCoreLib(); | 764 testConflictsWithCoreLib(); |
| 764 testUnresolvedNamedConstructor(); | 765 testUnresolvedNamedConstructor(); |
| 765 } | 766 } |
| OLD | NEW |