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

Unified Diff: pkg/unittest/test/unittest_test_utils.dart

Issue 22999020: pkg/unittest: give Configuration a default (blank) implementation (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: nits Created 7 years, 4 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 | « pkg/unittest/lib/src/simple_configuration.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/unittest/test/unittest_test_utils.dart
diff --git a/pkg/unittest/test/unittest_test_utils.dart b/pkg/unittest/test/unittest_test_utils.dart
index 03fc8d62133470b0434c43c83d6749daf1fca9c7..7d9a922d0ec76f6158d32dc9cfd32ec4cdf2088e 100644
--- a/pkg/unittest/test/unittest_test_utils.dart
+++ b/pkg/unittest/test/unittest_test_utils.dart
@@ -33,7 +33,7 @@ String buildStatusString(int passed, int failed, int errors,
'$setup:$teardown:$uncaughtError$testDetails';
}
-class TestConfiguration extends SimpleConfiguration {
+class TestConfiguration extends Configuration {
// Some test state that is captured.
int count = 0; // A count of callbacks.
@@ -44,9 +44,7 @@ class TestConfiguration extends SimpleConfiguration {
final SendPort _port;
String _result;
- TestConfiguration(this._port);
-
- void onInit() {}
+ TestConfiguration(this._port) : super.blank();
void onSummary(int passed, int failed, int errors, List<TestCase> results,
String uncaughtError) {
« no previous file with comments | « pkg/unittest/lib/src/simple_configuration.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698