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

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

Issue 11358145: Update utils to new library syntax. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month 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 | « utils/template/uitest.dart ('k') | utils/tests/css/expression_test.dart » ('j') | 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) 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("declaration_tests"); 5 library declaration_tests;
6 #import("../../css/css.dart"); 6 import '../../css/css.dart';
7 7
8 void main() { 8 void main() {
9 initCssWorld(); 9 initCssWorld();
10 10
11 testSimpleTerms(); 11 testSimpleTerms();
12 testMoreDecls(); 12 testMoreDecls();
13 testIdentifiers(); 13 testIdentifiers();
14 testComposites(); 14 testComposites();
15 testNewerCss(); 15 testNewerCss();
16 testCssFile(); 16 testCssFile();
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 "}\n"; 240 "}\n";
241 241
242 Parser parser = 242 Parser parser =
243 new Parser(new SourceFile(SourceFile.IN_MEMORY_FILE, scss)); 243 new Parser(new SourceFile(SourceFile.IN_MEMORY_FILE, scss));
244 244
245 Stylesheet stylesheet = parser.parse(); 245 Stylesheet stylesheet = parser.parse();
246 Expect.isNotNull(stylesheet); 246 Expect.isNotNull(stylesheet);
247 247
248 Expect.equals(generated, stylesheet.toString()); 248 Expect.equals(generated, stylesheet.toString());
249 } 249 }
OLDNEW
« no previous file with comments | « utils/template/uitest.dart ('k') | utils/tests/css/expression_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698