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

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

Issue 11267008: Fix issue that cases the usesWebDriver getter in TestCase to always return false. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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 | tools/testing/dart/test_runner.dart » ('j') | tools/testing/dart/test_runner.dart » ('J')
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 #library("test_progress"); 5 #library("test_progress");
6 6
7 #import("dart:io"); 7 #import("dart:io");
8 #import("test_runner.dart"); 8 #import("test_runner.dart");
9 #import("test_suite.dart"); 9 #import("test_suite.dart");
10 10
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 output.add(''); 124 output.add('');
125 output.add(_header('FAILED: ${test.configurationString}' 125 output.add(_header('FAILED: ${test.configurationString}'
126 ' ${test.displayName}')); 126 ' ${test.displayName}'));
127 StringBuffer expected = new StringBuffer(); 127 StringBuffer expected = new StringBuffer();
128 expected.add('Expected: '); 128 expected.add('Expected: ');
129 for (var expectation in test.expectedOutcomes) { 129 for (var expectation in test.expectedOutcomes) {
130 expected.add('$expectation '); 130 expected.add('$expectation ');
131 } 131 }
132 output.add(expected.toString()); 132 output.add(expected.toString());
133 output.add('Actual: ${test.output.result}'); 133 output.add('Actual: ${test.output.result}');
134 if (test.info != null) { 134 if (!test.output.hasTimedOut && test.info != null) {
135 if (test.output.incomplete && !test.info.hasCompileError) { 135 if (test.output.incomplete && !test.info.hasCompileError) {
136 output.add('Unexpected compile-time error.'); 136 output.add('Unexpected compile-time error.');
137 } else { 137 } else {
138 if (test.info.hasCompileError) { 138 if (test.info.hasCompileError) {
139 output.add('Compile-time error expected.'); 139 output.add('Compile-time error expected.');
140 } 140 }
141 if (test.info.hasRuntimeError) { 141 if (test.info.hasRuntimeError) {
142 output.add('Runtime error expected.'); 142 output.add('Runtime error expected.');
143 } 143 }
144 } 144 }
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 print(''); 441 print('');
442 print('$config:'); 442 print('$config:');
443 statuses.sort((a, b) => a.compareTo(b)); 443 statuses.sort((a, b) => a.compareTo(b));
444 for (String status in statuses) { 444 for (String status in statuses) {
445 print(' $status'); 445 print(' $status');
446 } 446 }
447 }); 447 });
448 _printStatus(); 448 _printStatus();
449 } 449 }
450 } 450 }
OLDNEW
« no previous file with comments | « no previous file | tools/testing/dart/test_runner.dart » ('j') | tools/testing/dart/test_runner.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698