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

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

Issue 11862002: Make 'useXConfiguration' check for an existing configuration. This is so that it (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 | « no previous file | pkg/unittest/lib/html_config.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/unittest/lib/compact_vm_config.dart
diff --git a/pkg/unittest/lib/compact_vm_config.dart b/pkg/unittest/lib/compact_vm_config.dart
index 7e6d7e8362b94e185ddf7623fae99f4a30ff2d54..99658c8fca20e330121405d78eb1e9e1038fc787 100644
--- a/pkg/unittest/lib/compact_vm_config.dart
+++ b/pkg/unittest/lib/compact_vm_config.dart
@@ -165,10 +165,9 @@ class CompactVMConfiguration extends VMConfiguration {
}
return '...$res';
}
-
- void notifyController(String msg) {}
gram 2013/01/11 18:48:49 I assume this is okay, although it is not related
Siggi Cherem (dart-lang) 2013/01/11 19:03:13 yeah - in a previous CL I made this a subclass of
}
void useCompactVMConfiguration() {
+ if (config != null) return;
configure(new CompactVMConfiguration());
}
« no previous file with comments | « no previous file | pkg/unittest/lib/html_config.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698