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

Side by Side Diff: pkg/csslib/test/debug_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/lib/visitor.dart ('k') | pkg/csslib/test/declaration_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
(Empty)
1 library debug;
2
3 import 'package:unittest/unittest.dart';
4 import 'testing.dart';
5
6 void main() {
7 test("excercise debug", () {
8 var style = parseCss(_input);
9
10 var debugValue = style.toDebugString();
11 expect(debugValue, isNotNull);
12
13 var style2 = style.clone();
14
15 expect(style2.toDebugString(), debugValue);
16 });
17 }
18
19 const String _input = r'''
20 .foo {
21 background-color: #191919;
22 width: 10PX;
23 height: 22mM !important;
24 border-width: 20cm;
25 margin-width: 33%;
26 border-height: 30EM;
27 width: .6in;
28 length: 1.2in;
29 -web-stuff: -10Px;
30 }''';
OLDNEW
« no previous file with comments | « pkg/csslib/lib/visitor.dart ('k') | pkg/csslib/test/declaration_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698