Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(383)

Side by Side Diff: tests/compiler/dart2js/dart_backend_test.dart

Issue 14362026: Make mock_compiler initialize the identical function, and use the identical function element direct… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart ('k') | tests/compiler/dart2js/mock_compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698