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

Unified Diff: tools/testing/dart/test_suite.dart

Issue 10356125: Fix dartc part of test scripts. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/test_suite.dart
diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart
index b715d61a241cbc8e36511e77f3fa3d9061657d14..8760b72ec745e74eb94e01f546a5688704aa1109 100644
--- a/tools/testing/dart/test_suite.dart
+++ b/tools/testing/dart/test_suite.dart
@@ -1048,9 +1048,6 @@ class DartcCompilationTestSuite extends StandardTestSuite {
Directory dir = new Directory("$directoryPath/$testDir");
if (dir.existsSync()) {
activityStarted();
- dir.onError = (s) {
- throw s;
- };
var lister = dir.list(recursive: listRecursively());
lister.onFile = processFile;
lister.onDone = (ignore) => activityCompleted();
@@ -1115,9 +1112,6 @@ class JUnitTestSuite implements TestSuite {
directoryPath = '$dartDir/$directoryPath';
Directory dir = new Directory(directoryPath);
- dir.onError = (s) {
- throw s;
- };
var lister = dir.list(recursive: true);
lister.onFile = processFile;
lister.onDone = createTest;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698