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

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

Issue 10832129: Get back recording 'implements' and 'extends' keyword on NodeList (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 | « lib/compiler/implementation/tree/unparser.dart ('k') | 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("../../../lib/compiler/compiler.dart"); 7 #import("../../../lib/compiler/compiler.dart");
8 #import("../../../lib/compiler/implementation/tree/tree.dart"); 8 #import("../../../lib/compiler/implementation/tree/tree.dart");
9 9
10 testUnparse(String statement) { 10 testUnparse(String statement) {
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 testUnparse('var x=new List<List<List<List<int>>>>();'); 97 testUnparse('var x=new List<List<List<List<int>>>>();');
98 testUnparse('var x=new List<List<List<List<List<int>>>>>();'); 98 testUnparse('var x=new List<List<List<List<List<int>>>>>();');
99 } 99 }
100 100
101 testForLoop() { 101 testForLoop() {
102 testUnparse('for(;i<100;i++){}'); 102 testUnparse('for(;i<100;i++){}');
103 testUnparse('for(i=0;i<100;i++){}'); 103 testUnparse('for(i=0;i<100;i++){}');
104 } 104 }
105 105
106 testEmptyList() { 106 testEmptyList() {
107 testUnparse('var x= [];'); 107 testUnparse('var x=[];');
108 } 108 }
109 109
110 testClosure() { 110 testClosure() {
111 testUnparse('var x=(var x)=> x;'); 111 testUnparse('var x=(var x)=> x;');
112 } 112 }
113 113
114 testIndexedOperatorDecl() { 114 testIndexedOperatorDecl() {
115 testUnparseMember('operator[](int i)=> null;'); 115 testUnparseMember('operator[](int i)=> null;');
116 testUnparseMember('operator[]=(int i,int j)=> null;'); 116 testUnparseMember('operator[]=(int i,int j)=> null;');
117 } 117 }
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 testFactoryConstructor(); 426 testFactoryConstructor();
427 testTopLevelField(); 427 testTopLevelField();
428 testAbstractClass(); 428 testAbstractClass();
429 testConflictLibraryClassRename(); 429 testConflictLibraryClassRename();
430 testNoConflictSendsRename(); 430 testNoConflictSendsRename();
431 testConflictSendsRename(); 431 testConflictSendsRename();
432 // Disabled with revert of https://chromiumcodereview.appspot.com/10824062/ 432 // Disabled with revert of https://chromiumcodereview.appspot.com/10824062/
433 // testDefaultClassWithArgs(); 433 // testDefaultClassWithArgs();
434 testClassExtendsWithArgs(); 434 testClassExtendsWithArgs();
435 } 435 }
OLDNEW
« no previous file with comments | « lib/compiler/implementation/tree/unparser.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698