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

Unified Diff: test/support.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/run.sh ('k') | test/tokenizer_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « test/run.sh ('k') | test/tokenizer_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698