| Index: pkg/unittest/lib/test_controller.js
|
| ===================================================================
|
| --- pkg/unittest/lib/test_controller.js (revision 27472)
|
| +++ pkg/unittest/lib/test_controller.js (working copy)
|
| @@ -63,9 +63,12 @@
|
| notifyStart();
|
|
|
| function notifyDone() {
|
| + if (testRunner) testRunner.notifyDone();
|
| +
|
| // TODO(ricow): REMOVE, debug info, see issue 13292
|
| - dartPrint('Calling notifyDone()');
|
| - if (testRunner) testRunner.notifyDone();
|
| + if (!testRunner) {
|
| + dartPrint('Calling notifyDone()');
|
| + }
|
| // To support in browser launching of tests we post back start and result
|
| // messages to the window.opener.
|
| var driver = getDriverWindow();
|
| @@ -76,8 +79,9 @@
|
|
|
| function processMessage(msg) {
|
| // TODO(ricow): REMOVE, debug info, see issue 13292
|
| - dartPrint('processMessage(): ' + msg);
|
| -
|
| + if (!testRunner) {
|
| + dartPrint('processMessage(): ' + msg);
|
| + }
|
| if (typeof msg != 'string') return;
|
| if (msg == 'unittest-suite-done') {
|
| notifyDone();
|
|
|