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 11 matching lines...) Expand all Loading... |
22 class double extends num {} | 22 class double extends num {} |
23 abstract class String {} | 23 abstract class String {} |
24 class Function {} | 24 class Function {} |
25 class List<T> {} | 25 class List<T> {} |
26 class Map<K,V> {} | 26 class Map<K,V> {} |
27 class Closure {} | 27 class Closure {} |
28 class Dynamic_ {} | 28 class Dynamic_ {} |
29 class Null {} | 29 class Null {} |
30 class TypeError {} | 30 class TypeError {} |
31 class Type {} | 31 class Type {} |
| 32 class StackTrace {} |
32 class LinkedHashMap {} | 33 class LinkedHashMap {} |
33 class Math { | 34 class Math { |
34 static double parseDouble(String s) => 1.0; | 35 static double parseDouble(String s) => 1.0; |
35 } | 36 } |
36 print(x) {} | 37 print(x) {} |
37 identical(a, b) => true; | 38 identical(a, b) => true; |
38 '''; | 39 '''; |
39 | 40 |
40 const ioLib = r''' | 41 const ioLib = r''' |
41 library io; | 42 library io; |
(...skipping 680 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
722 testStaticAccessIoLib(); | 723 testStaticAccessIoLib(); |
723 testLocalFunctionPlaceholder(); | 724 testLocalFunctionPlaceholder(); |
724 testMinification(); | 725 testMinification(); |
725 testClosureLocalsMinified(); | 726 testClosureLocalsMinified(); |
726 testParametersMinified(); | 727 testParametersMinified(); |
727 testDeclarationTypePlaceholders(); | 728 testDeclarationTypePlaceholders(); |
728 testPlatformLibraryMemberNamesAreFixed(); | 729 testPlatformLibraryMemberNamesAreFixed(); |
729 testConflictsWithCoreLib(); | 730 testConflictsWithCoreLib(); |
730 testUnresolvedNamedConstructor(); | 731 testUnresolvedNamedConstructor(); |
731 } | 732 } |
OLD | NEW |