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

Side by Side Diff: test/compiler_test.dart

Issue 1131243005: pkg/csslib: use pkg/test and allow latest version of logging pkg (Closed) Base URL: https://github.com/dart-lang/csslib@master
Patch Set: Created 5 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
« no previous file with comments | « test/big_1_test.dart ('k') | test/debug_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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 compiler_test; 5 library compiler_test;
6 6
7 import 'dart:convert'; 7 import 'dart:convert';
8 import 'package:unittest/unittest.dart'; 8 import 'package:test/test.dart';
9 import 'package:csslib/parser.dart'; 9 import 'package:csslib/parser.dart';
10 import 'package:csslib/visitor.dart'; 10 import 'package:csslib/visitor.dart';
11 import 'testing.dart'; 11 import 'testing.dart';
12 12
13 void testClass() { 13 void testClass() {
14 var errors = []; 14 var errors = [];
15 var input = ".foobar {}"; 15 var input = ".foobar {}";
16 var stylesheet = parseCss(input, errors: errors); 16 var stylesheet = parseCss(input, errors: errors);
17 17
18 expect(stylesheet != null, true); 18 expect(stylesheet != null, true);
(...skipping 698 matching lines...) Expand 10 before | Expand all | Expand 10 after
717 test('Selector Groups', testSelectorGroups); 717 test('Selector Groups', testSelectorGroups);
718 test('Combinator', testCombinator); 718 test('Combinator', testCombinator);
719 test('Wildcards', testWildcard); 719 test('Wildcards', testWildcard);
720 test('Pseudo', testPseudo); 720 test('Pseudo', testPseudo);
721 test('Attributes', testAttribute); 721 test('Attributes', testAttribute);
722 test('Negation', testNegation); 722 test('Negation', testNegation);
723 test('@host', testHost); 723 test('@host', testHost);
724 test('Parse List<int> as input', testArrayOfChars); 724 test('Parse List<int> as input', testArrayOfChars);
725 test('Simple Emitter', testEmitter); 725 test('Simple Emitter', testEmitter);
726 } 726 }
OLDNEW
« no previous file with comments | « test/big_1_test.dart ('k') | test/debug_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698