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

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

Issue 16004004: Remove debugprints accedentially added in revision 23325 (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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 /** 5 /**
6 * Classes and methods for executing tests. 6 * Classes and methods for executing tests.
7 * 7 *
8 * This module includes: 8 * This module includes:
9 * - Managing parallel execution of tests, including timeout checks. 9 * - Managing parallel execution of tests, including timeout checks.
10 * - Evaluating the output of each test as pass/fail/crash/timeout. 10 * - Evaluating the output of each test as pass/fail/crash/timeout.
(...skipping 1664 matching lines...) Expand 10 before | Expand all | Expand 10 after
1675 false, 1675 false,
1676 output == "TIMEOUT", 1676 output == "TIMEOUT",
1677 encodeUtf8(output), 1677 encodeUtf8(output),
1678 [], 1678 [],
1679 const Duration(seconds: 1), 1679 const Duration(seconds: 1),
1680 false); 1680 false);
1681 test.completedHandler(test); 1681 test.completedHandler(test);
1682 }; 1682 };
1683 BrowserTest browserTest = new BrowserTest(url, callback, test.timeout); 1683 BrowserTest browserTest = new BrowserTest(url, callback, test.timeout);
1684 _getBrowserTestRunner(test).then((testRunner) { 1684 _getBrowserTestRunner(test).then((testRunner) {
1685 print("BatchRunnerArguments ${test.batchRunnerArguments}");
1686 print("Batchtestarguments ${test.batchTestArguments}");
1687 testRunner.queueTest(browserTest); 1685 testRunner.queueTest(browserTest);
1688 }); 1686 });
1689 } 1687 }
1690 1688
1691 void _tryRunTest() { 1689 void _tryRunTest() {
1692 _checkDone(); 1690 _checkDone();
1693 // TODO(ricow): remove most of the hacked selenium code below when 1691 // TODO(ricow): remove most of the hacked selenium code below when
1694 // we have eliminated the need. 1692 // we have eliminated the need.
1695 1693
1696 if (_numProcesses < _maxProcesses && !_tests.isEmpty) { 1694 if (_numProcesses < _maxProcesses && !_tests.isEmpty) {
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
1910 } 1908 }
1911 } 1909 }
1912 1910
1913 void eventAllTestsDone() { 1911 void eventAllTestsDone() {
1914 for (var listener in _eventListener) { 1912 for (var listener in _eventListener) {
1915 listener.allDone(); 1913 listener.allDone();
1916 } 1914 }
1917 } 1915 }
1918 } 1916 }
1919 1917
OLDNEW
« 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