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

Unified Diff: pkg/unittest/lib/vm_config.dart

Issue 11829045: Cleaning up unittest configurations (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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
Index: pkg/unittest/lib/vm_config.dart
diff --git a/pkg/unittest/lib/vm_config.dart b/pkg/unittest/lib/vm_config.dart
index 3a9efb831cffb35b5de5f91f91e2ff35769ecb00..f060dc371ddef4ec3bdf0cffacc38155fecb71c2 100644
--- a/pkg/unittest/lib/vm_config.dart
+++ b/pkg/unittest/lib/vm_config.dart
@@ -11,16 +11,17 @@ import 'dart:io';
import 'unittest.dart';
class VmConfiguration extends Configuration {
- void onDone(int passed, int failed, int errors, List<TestCase> results,
- String uncaughtError) {
+ void onDone(bool success) {
try {
- super.onDone(passed, failed, errors, results, uncaughtError);
+ super.onDone(success);
} on Exception catch (ex) {
// A non-zero exit code is used by the test infrastructure to detect
// failure.
exit(1);
}
}
+
+ void notifyController(String msg) {}
}
void useVmConfiguration() {

Powered by Google App Engine
This is Rietveld 408576698