| Index: test/support.dart
|
| diff --git a/tests/support.dart b/test/support.dart
|
| similarity index 96%
|
| rename from tests/support.dart
|
| rename to test/support.dart
|
| index d3be471b8f12835ef0a3e9a9b0d56ed7b8b5e77d..fcb8ec9410813595607f819b086b114c2c07ae61 100644
|
| --- a/tests/support.dart
|
| +++ b/test/support.dart
|
| @@ -2,8 +2,8 @@
|
| #library('support');
|
|
|
| #import('dart:io');
|
| -#import('../treebuilders/base.dart');
|
| -#import('../treebuilders/simpletree.dart');
|
| +#import('package:html5lib/src/treebuilder.dart');
|
| +#import('package:html5lib/dom.dart');
|
|
|
| typedef TreeBuilder TreeBuilderFactory(bool namespaceHTMLElements);
|
|
|
| @@ -25,7 +25,7 @@ Future<List<String>> getDataFiles(String subdirectory, [FileMatcher matcher]) {
|
|
|
| // TODO(jmesserly): should have listSync for scripting...
|
| // This entire method was one line of Python code
|
| - var dir = new Directory.fromPath(new Path('tests/data/$subdirectory'));
|
| + var dir = new Directory.fromPath(new Path('test/data/$subdirectory'));
|
| var lister = dir.list();
|
| var files = <String>[];
|
| lister.onFile = (file) {
|
|
|