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

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

Issue 428323003: Fix another csslib IE10 test failure. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 4 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
« no previous file with comments | « pkg/csslib/pubspec.yaml ('k') | no next file » | 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 declaration_test; 5 library declaration_test;
6 6
7 import 'package:unittest/unittest.dart'; 7 import 'package:unittest/unittest.dart';
8 import 'testing.dart'; 8 import 'testing.dart';
9 9
10 10
(...skipping 994 matching lines...) Expand 10 before | Expand all | Expand 10 after
1005 1005
1006 expect(stylesheet != null, true); 1006 expect(stylesheet != null, true);
1007 1007
1008 expect(errors.length, 1, reason: errors.toString()); 1008 expect(errors.length, 1, reason: errors.toString());
1009 1009
1010 errorMessage = errors[0]; 1010 errorMessage = errors[0];
1011 expect(errorMessage.message, contains('unexpected end of file')); 1011 expect(errorMessage.message, contains('unexpected end of file'));
1012 expect(errorMessage.span, isNotNull); 1012 expect(errorMessage.span, isNotNull);
1013 expect(errorMessage.span.start.line, 7); 1013 expect(errorMessage.span.start.line, 7);
1014 expect(errorMessage.span.start.column, 0); 1014 expect(errorMessage.span.start.column, 0);
1015 expect(errorMessage.span.text, ''); 1015 expect(errorMessage.span.text.trim(), '');
1016 } 1016 }
1017 1017
1018 main() { 1018 main() {
1019 test('Simple Terms', testSimpleTerms); 1019 test('Simple Terms', testSimpleTerms);
1020 test('Declarations', testDeclarations); 1020 test('Declarations', testDeclarations);
1021 test('Identifiers', testIdentifiers); 1021 test('Identifiers', testIdentifiers);
1022 test('Composites', testComposites); 1022 test('Composites', testComposites);
1023 test('Units', testUnits); 1023 test('Units', testUnits);
1024 test('Unicode', testUnicode); 1024 test('Unicode', testUnicode);
1025 test('Newer CSS', testNewerCss); 1025 test('Newer CSS', testNewerCss);
1026 test('Media Queries', testMediaQueries); 1026 test('Media Queries', testMediaQueries);
1027 test('Font-Face', testFontFace); 1027 test('Font-Face', testFontFace);
1028 test('CSS file', testCssFile); 1028 test('CSS file', testCssFile);
1029 test('Compact Emitter', testCompactEmitter); 1029 test('Compact Emitter', testCompactEmitter);
1030 test('Selector Negation', testNotSelectors); 1030 test('Selector Negation', testNotSelectors);
1031 test('IE stuff', testIE); 1031 test('IE stuff', testIE);
1032 test('IE declaration syntax', testIEDeclaration); 1032 test('IE declaration syntax', testIEDeclaration);
1033 test('Hanging bugs', testHangs); 1033 test('Hanging bugs', testHangs);
1034 } 1034 }
OLDNEW
« no previous file with comments | « pkg/csslib/pubspec.yaml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698