| OLD | NEW |
| 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 Loading... |
| 106 }); | 106 }); |
| 107 } | 107 } |
| 108 } | 108 } |
| 109 | 109 |
| 110 index++; | 110 index++; |
| 111 } | 111 } |
| 112 }); | 112 }); |
| 113 } | 113 } |
| 114 }); | 114 }); |
| 115 } | 115 } |
| OLD | NEW |