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

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

Issue 10872039: Remove forgotten usage of --unparse-validate flag. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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
« no previous file with comments | « no previous file | no next file » | 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("../../../lib/compiler/compiler.dart"); 8 #import("../../../lib/compiler/compiler.dart");
9 #import("../../../lib/compiler/implementation/leg.dart", prefix:'leg'); 9 #import("../../../lib/compiler/implementation/leg.dart", prefix:'leg');
10 #import("../../../lib/compiler/implementation/dart_backend/dart_backend.dart"); 10 #import("../../../lib/compiler/implementation/dart_backend/dart_backend.dart");
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 Expect.fail('$uri: $begin-$end: $message [$kind]'); 80 Expect.fail('$uri: $begin-$end: $message [$kind]');
81 } 81 }
82 } 82 }
83 83
84 compile( 84 compile(
85 scriptUri, 85 scriptUri,
86 fileUri('libraryRoot'), 86 fileUri('libraryRoot'),
87 fileUri('packageRoot'), 87 fileUri('packageRoot'),
88 provider, 88 provider,
89 handler, 89 handler,
90 const ['--output-type=dart', '--unparse-validation']).then(continuation); 90 const ['--output-type=dart']).then(continuation);
91 } 91 }
92 92
93 testSignedConstants() { 93 testSignedConstants() {
94 testUnparse('var x=+42;'); 94 testUnparse('var x=+42;');
95 testUnparse('var x=+.42;'); 95 testUnparse('var x=+.42;');
96 testUnparse('var x=-42;'); 96 testUnparse('var x=-42;');
97 testUnparse('var x=-.42;'); 97 testUnparse('var x=-.42;');
98 testUnparse('var x=+0;'); 98 testUnparse('var x=+0;');
99 testUnparse('var x=+0.0;'); 99 testUnparse('var x=+0.0;');
100 testUnparse('var x=+.0;'); 100 testUnparse('var x=+.0;');
(...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after
705 testFieldTypeOutput(); 705 testFieldTypeOutput();
706 testDefaultClassNamePlaceholder(); 706 testDefaultClassNamePlaceholder();
707 testFactoryRename(); 707 testFactoryRename();
708 testTypeVariablesAreRenamed(); 708 testTypeVariablesAreRenamed();
709 testClassTypeArgumentBound(); 709 testClassTypeArgumentBound();
710 testDoubleMains(); 710 testDoubleMains();
711 testInterfaceDefaultAnotherLib(); 711 testInterfaceDefaultAnotherLib();
712 testStaticAccessIoLib(); 712 testStaticAccessIoLib();
713 testLocalFunctionPlaceholder(); 713 testLocalFunctionPlaceholder();
714 } 714 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698