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

Unified Diff: pkg/unittest/lib/src/config.dart

Issue 13251003: pkg/unittest: readonly view of testCase collection (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: nit Created 7 years, 9 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 | « no previous file | pkg/unittest/lib/unittest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/unittest/lib/src/config.dart
diff --git a/pkg/unittest/lib/src/config.dart b/pkg/unittest/lib/src/config.dart
index 9b00394ff45d9b129689ce2d519f79e07fdf827e..b557783464d9a40ae055e264b5669bf7c2c7bb9e 100644
--- a/pkg/unittest/lib/src/config.dart
+++ b/pkg/unittest/lib/src/config.dart
@@ -49,7 +49,7 @@ class Configuration {
* a test suite.
*/
void onTestStart(TestCase testCase) {
- assert(testCase != null);
+ assert(testCase != null);
}
/**
@@ -57,7 +57,7 @@ class Configuration {
* progress on a test suite.
*/
void onTestResult(TestCase testCase) {
- assert(testCase != null);
+ assert(testCase != null);
}
/**
@@ -103,7 +103,7 @@ class Configuration {
void onSummary(int passed, int failed, int errors, List<TestCase> results,
String uncaughtError) {
// Print each test's result.
- for (final t in _tests) {
+ for (final t in testCases) {
var resultString = "${t.result}".toUpperCase();
print('$resultString: ${t.description}');
« no previous file with comments | « no previous file | pkg/unittest/lib/unittest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698