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

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
« no previous file with comments | « pkg/unittest/lib/unittest.dart ('k') | pkg/unittest/test/unittest_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..0b23996fea54dcb8ba58f4da17f974d41129a598 100644
--- a/pkg/unittest/lib/vm_config.dart
+++ b/pkg/unittest/lib/vm_config.dart
@@ -10,19 +10,20 @@ library unittest_vm_config;
import 'dart:io';
import 'unittest.dart';
-class VmConfiguration extends Configuration {
- void onDone(int passed, int failed, int errors, List<TestCase> results,
- String uncaughtError) {
+class VMConfiguration extends Configuration {
+ void onDone(bool success) {
try {
- super.onDone(passed, failed, errors, results, uncaughtError);
- } on Exception catch (ex) {
+ super.onDone(success);
+ } catch (ex) {
// A non-zero exit code is used by the test infrastructure to detect
// failure.
exit(1);
}
}
+
+ void notifyController(String msg) {}
}
-void useVmConfiguration() {
Jennifer Messerly 2013/01/10 03:01:18 totally optional but: is it worth having an @depre
- configure(new VmConfiguration());
+void useVMConfiguration() {
+ configure(new VMConfiguration());
}
« no previous file with comments | « pkg/unittest/lib/unittest.dart ('k') | pkg/unittest/test/unittest_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698