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

Side by Side Diff: pkg/csslib/test/nested_test.dart

Issue 22909059: Some more removals of dart:utf. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 nested_test; 5 library nested_test;
6 6
7 import 'dart:utf';
8 import 'package:unittest/unittest.dart'; 7 import 'package:unittest/unittest.dart';
9 import 'package:csslib/parser.dart'; 8 import 'package:csslib/parser.dart';
10 import 'package:csslib/visitor.dart'; 9 import 'package:csslib/visitor.dart';
11 import 'testing.dart'; 10 import 'testing.dart';
12 11
13 List optionsCss = ['--no-colors', 'memory']; 12 List optionsCss = ['--no-colors', 'memory'];
14 13
15 compileAndValidate(String input, String generated) { 14 compileAndValidate(String input, String generated) {
16 var errors = []; 15 var errors = [];
17 var stylesheet = compileCss(input, errors: errors, opts: optionsCss); 16 var stylesheet = compileCss(input, errors: errors, opts: optionsCss);
(...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after
605 604
606 main() { 605 main() {
607 test('Selector and Nested Variations', selectorVariations); 606 test('Selector and Nested Variations', selectorVariations);
608 test('Simple nesting', simpleNest); 607 test('Simple nesting', simpleNest);
609 test('Complex nesting', complexNest); 608 test('Complex nesting', complexNest);
610 test('@media nesting', mediaNesting); 609 test('@media nesting', mediaNesting);
611 test('Simple &', simpleThis); 610 test('Simple &', simpleThis);
612 test("Variations &", variationsThis); 611 test("Variations &", variationsThis);
613 test('Complex &', complexThis); 612 test('Complex &', complexThis);
614 } 613 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698