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

Side by Side Diff: frog/tests/parser_test.dart

Issue 10250002: test rename overhaul: step 5 - frog and leg tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 class ParserTest { 5 class ParserTest {
6 static final String TAIL = '//comment\n\n'; 6 static final String TAIL = '//comment\n\n';
7 7
8 static main() { 8 static main() {
9 print('start ParserTest'); 9 print('start ParserTest');
10 initializeWorld(new FileSystem('.')); 10 initializeWorld(new FileSystem('.'));
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 if (!mustBeType) { 303 if (!mustBeType) {
304 testStatement('x + ' + code + ';'); 304 testStatement('x + ' + code + ';');
305 } 305 }
306 if (!mustBeExpression) { 306 if (!mustBeExpression) {
307 testStatement(code + ' x;'); 307 testStatement(code + ' x;');
308 testDeclaration(code + ' x;'); 308 testDeclaration(code + ' x;');
309 } 309 }
310 // TODO(jimhug): add negative test cases. 310 // TODO(jimhug): add negative test cases.
311 } 311 }
312 } 312 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698