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

Unified Diff: lib/unittest/config.dart

Issue 10037027: unittest step2: bye bye to multiple entrypoints for unittest (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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 | « frog/tests/frog/src/unittest_node.dart ('k') | lib/unittest/dom_config.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/unittest/config.dart
diff --git a/lib/unittest/config.dart b/lib/unittest/config.dart
index 9507b508f92f8ad9dcb93bce14a37ceae4e88baa..88ecbf0765a0552f585247872723c1300cf3403e 100644
--- a/lib/unittest/config.dart
+++ b/lib/unittest/config.dart
@@ -2,6 +2,8 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+/** This file is sourced by unitest.dart. */
+
/**
* Hooks to configure the unittest library for different platforms. This class
* implements the API in a platform-independent way. Tests that want to take
@@ -36,11 +38,11 @@ class Configuration {
*/
void onDone(int passed, int failed, int errors, List<TestCase> results) {
// Print each test's result.
- for (final test in _tests) {
- print('${test.result.toUpperCase()}: ${test.description}');
+ for (final t in _tests) {
+ print('${t.result.toUpperCase()}: ${t.description}');
- if (test.message != '') {
- print(' ${test.message}');
+ if (t.message != '') {
+ print(' ${t.message}');
}
}
« no previous file with comments | « frog/tests/frog/src/unittest_node.dart ('k') | lib/unittest/dom_config.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698