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

Side by Side Diff: test/parser_test.dart

Issue 10916294: switch html5lib to new pkg layout (Closed) Base URL: https://github.com/dart-lang/html5lib.git@master
Patch Set: Created 8 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
« no previous file with comments | « test/parser_feature_test.dart ('k') | test/run.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #library('parser_test'); 1 #library('parser_test');
2 2
3 #import('dart:io'); 3 #import('dart:io');
4 #import('package:unittest/unittest.dart'); 4 #import('package:unittest/unittest.dart');
5 #import('package:unittest/vm_config.dart'); 5 #import('package:unittest/vm_config.dart');
6 #import('../lib/constants.dart'); 6 #import('package:html5lib/src/constants.dart');
7 #import('../lib/utils.dart'); 7 #import('package:html5lib/src/utils.dart');
8 #import('../treebuilders/simpletree.dart'); 8 #import('package:html5lib/dom.dart');
9 #import('../html5parser.dart'); 9 #import('package:html5lib/html5parser.dart');
10 #import('../tokenizer.dart'); 10 #import('package:html5lib/tokenizer.dart');
11 #import('support.dart'); 11 #import('support.dart');
12 12
13 // Run the parse error checks 13 // Run the parse error checks
14 // TODO(jmesserly): presumably we want this on by default? 14 // TODO(jmesserly): presumably we want this on by default?
15 final checkParseErrors = false; 15 final checkParseErrors = false;
16 16
17 String namespaceHtml(String expected) { 17 String namespaceHtml(String expected) {
18 // TODO(jmesserly): this is a workaround for http://dartbug.com/2979 18 // TODO(jmesserly): this is a workaround for http://dartbug.com/2979
19 // We can't do regex replace directly =\ 19 // We can't do regex replace directly =\
20 // final namespaceExpected = const RegExp(@"^(\s*)<(\S+)>", multiLine: true); 20 // final namespaceExpected = const RegExp(@"^(\s*)<(\S+)>", multiLine: true);
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 }); 106 });
107 } 107 }
108 } 108 }
109 109
110 index++; 110 index++;
111 } 111 }
112 }); 112 });
113 } 113 }
114 }); 114 });
115 } 115 }
OLDNEW
« no previous file with comments | « test/parser_feature_test.dart ('k') | test/run.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698