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

Side by Side Diff: utils/tests/css/selector_literal_test.dart

Issue 10154010: test rename overhaul: step 3 _tests.dart => _test.dart (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 #library("selector_literal_tests"); 5 #library("selector_literal_tests");
6 #import("../../css/css.dart"); 6 #import("../../css/css.dart");
7 7
8 final String ERROR = 'CompilerException: <buffer>:'; 8 final String ERROR = 'CompilerException: <buffer>:';
9 9
10 main() { 10 main() {
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 // Too many element IDs. 226 // Too many element IDs.
227 css = '@{#_privateId1 #_privateId2}'; 227 css = '@{#_privateId1 #_privateId2}';
228 try { 228 try {
229 cssParseAndValidate('${css}', cssWorld); 229 cssParseAndValidate('${css}', cssWorld);
230 Expect.fail("${css} should not succeed."); 230 Expect.fail("${css} should not succeed.");
231 } catch (final e) { 231 } catch (final e) {
232 Expect.equals("CssSelectorException: Use of Id selector must be " + 232 Expect.equals("CssSelectorException: Use of Id selector must be " +
233 "singleton starting at #_privateId2", e.toString()); 233 "singleton starting at #_privateId2", e.toString());
234 } 234 }
235 } 235 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698