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

Side by Side Diff: tools/testing/dart/test_runner.dart

Issue 9110031: Enable webdriver component in test.dart (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #library("test_runner"); 5 #library("test_runner");
6 6
7 #import("status_file_parser.dart"); 7 #import("status_file_parser.dart");
8 #import("test_progress.dart"); 8 #import("test_progress.dart");
9 #import("test_suite.dart"); 9 #import("test_suite.dart");
10 10
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 var prefixSplit = prefix.split(' '); 59 var prefixSplit = prefix.split(' ');
60 var newExecutablePath = prefixSplit[0]; 60 var newExecutablePath = prefixSplit[0];
61 for (int i = 1; i < prefixSplit.length; i++) { 61 for (int i = 1; i < prefixSplit.length; i++) {
62 var current = prefixSplit[i]; 62 var current = prefixSplit[i];
63 if (!current.isEmpty()) newArguments.add(current); 63 if (!current.isEmpty()) newArguments.add(current);
64 } 64 }
65 newArguments.add(executablePath); 65 newArguments.add(executablePath);
66 executablePath = newExecutablePath; 66 executablePath = newExecutablePath;
67 } 67 }
68 newArguments.addAll(arguments); 68 newArguments.addAll(arguments);
69 var suffixSplit = prefix.split(' '); 69 var suffixSplit = suffix.split(' ');
70 suffixSplit.forEach((e) { 70 suffixSplit.forEach((e) {
71 if (!e.isEmpty()) newArguments.add(e); 71 if (!e.isEmpty()) newArguments.add(e);
72 }); 72 });
73 arguments = newArguments; 73 arguments = newArguments;
74 } 74 }
75 } 75 }
76 76
77 int get timeout() => configuration['timeout']; 77 int get timeout() => configuration['timeout'];
78 78
79 void completed() { completedHandler(this); } 79 void completed() { completedHandler(this); }
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 test.displayName != 'dartc/junit_tests') { 484 test.displayName != 'dartc/junit_tests') {
485 _ensureDartcBatchRunnersStarted(test.executablePath); 485 _ensureDartcBatchRunnersStarted(test.executablePath);
486 _getDartcBatchRunnerProcess().startTest(test); 486 _getDartcBatchRunnerProcess().startTest(test);
487 } else { 487 } else {
488 new RunningProcess(test).start(); 488 new RunningProcess(test).start();
489 } 489 }
490 _numProcesses++; 490 _numProcesses++;
491 } 491 }
492 } 492 }
493 } 493 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698