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_runner.dart

Issue 16948002: Add correct timing collection for new browser controller (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 6 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/browser_controller.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/test_runner.dart
===================================================================
--- tools/testing/dart/test_runner.dart (revision 23951)
+++ tools/testing/dart/test_runner.dart (working copy)
@@ -1667,7 +1667,7 @@
}
void _startBrowserControllerTest(var test) {
- var callback = (var output) {
+ var callback = (var output, var duration) {
var nextCommandIndex = test.commandOutputs.keys.length;
new CommandOutput.fromCase(test,
test.commands[nextCommandIndex],
@@ -1676,7 +1676,7 @@
output == "TIMEOUT",
encodeUtf8(output),
[],
- const Duration(seconds: 1),
+ duration,
false);
test.completedHandler(test);
};
« no previous file with comments | « tools/testing/dart/browser_controller.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698