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

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

Issue 234673003: Reduce test.dart memory usage. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Improve Created 6 years, 8 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 | « tools/testing/dart/http_server.dart ('k') | tools/testing/dart/test_suite.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/test_progress.dart
diff --git a/tools/testing/dart/test_progress.dart b/tools/testing/dart/test_progress.dart
index 6bfa8283abd772d82e166cf0631576b8ab6dac09..54172a11c9bdbcea3e616981df76e8166ace681f 100644
--- a/tools/testing/dart/test_progress.dart
+++ b/tools/testing/dart/test_progress.dart
@@ -526,6 +526,15 @@ class TestFailurePrinter extends EventListener {
}
}
+class DeleteTestCaseOutput extends EventListener {
+ void done(TestCase test) {
+ for (CommandOutputImpl output in test.commandOutputs.values) {
+ output.stdout = null;
+ output.stderr = null;
+ }
+ }
kustermann 2014/04/11 15:17:37 I think you shouldn't do that. If two test cases (
Bill Hesse 2014/04/23 14:52:41 Removing the code that deletes test output. Leavi
+}
+
class ProgressIndicator extends EventListener {
ProgressIndicator(this._startTime);
« no previous file with comments | « tools/testing/dart/http_server.dart ('k') | tools/testing/dart/test_suite.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698