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

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

Issue 11364134: Merge libv1. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: Reupload due to error Created 8 years, 1 month 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
« no previous file with comments | « tests/compiler/dart2js/dart2js.status ('k') | tests/compiler/dart2js/mirrors_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 'dart:uri'; 5 import 'dart:uri';
6 import 'parser_helper.dart'; 6 import 'parser_helper.dart';
7 import 'mock_compiler.dart'; 7 import 'mock_compiler.dart';
8 import '../../../sdk/lib/_internal/compiler/compiler.dart'; 8 import '../../../sdk/lib/_internal/compiler/compiler.dart';
9 import '../../../sdk/lib/_internal/compiler/implementation/dart2jslib.dart' as l eg; 9 import '../../../sdk/lib/_internal/compiler/implementation/dart2jslib.dart' as l eg;
10 import '../../../sdk/lib/_internal/compiler/implementation/dart_backend/dart_bac kend.dart'; 10 import '../../../sdk/lib/_internal/compiler/implementation/dart_backend/dart_bac kend.dart';
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 Expect.fail('$uri: $begin-$end: $message [$kind]'); 97 Expect.fail('$uri: $begin-$end: $message [$kind]');
98 } 98 }
99 } 99 }
100 100
101 final options = <String>['--output-type=dart']; 101 final options = <String>['--output-type=dart'];
102 if (minify) options.add('--minify'); 102 if (minify) options.add('--minify');
103 if (stripTypes) options.add('--force-strip=types'); 103 if (stripTypes) options.add('--force-strip=types');
104 104
105 compile( 105 compile(
106 scriptUri, 106 scriptUri,
107 fileUri('libraryRoot'), 107 fileUri('libraryRoot/'),
108 fileUri('packageRoot'), 108 fileUri('packageRoot/'),
109 provider, 109 provider,
110 handler, 110 handler,
111 options).then(continuation); 111 options).then(continuation);
112 } 112 }
113 113
114 testSimpleFileUnparse() { 114 testSimpleFileUnparse() {
115 final src = ''' 115 final src = '''
116 should_be_dropped() { 116 should_be_dropped() {
117 } 117 }
118 118
(...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after
716 testDoubleMains(); 716 testDoubleMains();
717 testStaticAccessIoLib(); 717 testStaticAccessIoLib();
718 testLocalFunctionPlaceholder(); 718 testLocalFunctionPlaceholder();
719 testMinification(); 719 testMinification();
720 testClosureLocalsMinified(); 720 testClosureLocalsMinified();
721 testParametersMinified(); 721 testParametersMinified();
722 testDeclarationTypePlaceholders(); 722 testDeclarationTypePlaceholders();
723 testPlatformLibraryMemberNamesAreFixed(); 723 testPlatformLibraryMemberNamesAreFixed();
724 testConflictsWithCoreLib(); 724 testConflictsWithCoreLib();
725 } 725 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/dart2js.status ('k') | tests/compiler/dart2js/mirrors_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698