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

Side by Side Diff: frog/tests/tokenizer_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, 7 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 TokenizerTest { 5 class TokenizerTest {
6 static void main() { 6 static void main() {
7 print('start TokenizerTest'); 7 print('start TokenizerTest');
8 testSourceLocations(); 8 testSourceLocations();
9 testBasics(); 9 testBasics();
10 testIncomplete(); 10 testIncomplete();
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 //print('${token.text} ${TokenKind.kindToString(token.kind)}'); 108 //print('${token.text} ${TokenKind.kindToString(token.kind)}');
109 Expect.equals(expected[i], token.text); 109 Expect.equals(expected[i], token.text);
110 if (kinds != null) { 110 if (kinds != null) {
111 Expect.equals(kinds[i], token.kind); 111 Expect.equals(kinds[i], token.kind);
112 } 112 }
113 } 113 }
114 var t = tokenizer.next(); 114 var t = tokenizer.next();
115 Expect.equals(TokenKind.END_OF_FILE, tokenizer.next().kind); 115 Expect.equals(TokenKind.END_OF_FILE, tokenizer.next().kind);
116 } 116 }
117 } 117 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698