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

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

Issue 64373003: pkg/csslib: types, fixes, cleanup (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: more Created 7 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 | « pkg/csslib/test/declaration_test.dart ('k') | pkg/csslib/test/run_all.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) 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 error_test; 5 library error_test;
6 6
7 import 'package:unittest/unittest.dart'; 7 import 'package:unittest/unittest.dart';
8 import 'testing.dart'; 8 import 'testing.dart';
9 import 'package:csslib/parser.dart';
10 import 'package:csslib/visitor.dart';
11 import 'package:csslib/src/messages.dart'; 9 import 'package:csslib/src/messages.dart';
12 10
13 /** 11 /**
14 * Test for unsupported font-weights values of bolder, lighter and inherit. 12 * Test for unsupported font-weights values of bolder, lighter and inherit.
15 */ 13 */
16 void testUnsupportedFontWeights() { 14 void testUnsupportedFontWeights() {
17 var errors = []; 15 var errors = [];
18 16
19 // TODO(terry): Need to support bolder. 17 // TODO(terry): Need to support bolder.
20 // font-weight value bolder. 18 // font-weight value bolder.
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 } 344 }
347 345
348 main() { 346 main() {
349 test('font-weight value errors', testUnsupportedFontWeights); 347 test('font-weight value errors', testUnsupportedFontWeights);
350 test('line-height value errors', testUnsupportedLineHeights); 348 test('line-height value errors', testUnsupportedLineHeights);
351 test('bad selectors', testBadSelectors); 349 test('bad selectors', testBadSelectors);
352 test('bad Hex values', testBadHexValues); 350 test('bad Hex values', testBadHexValues);
353 test('bad unicode ranges', testBadUnicode); 351 test('bad unicode ranges', testBadUnicode);
354 test('nested rules', testBadNesting); 352 test('nested rules', testBadNesting);
355 } 353 }
OLDNEW
« no previous file with comments | « pkg/csslib/test/declaration_test.dart ('k') | pkg/csslib/test/run_all.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698