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

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

Issue 11819051: Add again useVmConfiguration for deprecation purposes. This requires adding a (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/pubspec.yaml » ('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 0b23996fea54dcb8ba58f4da17f974d41129a598..5682c0e1e1bebf2b8c9ee9b1a70c122cbfc2dd1f 100644
--- a/pkg/unittest/lib/vm_config.dart
+++ b/pkg/unittest/lib/vm_config.dart
@@ -9,6 +9,7 @@ library unittest_vm_config;
import 'dart:io';
import 'unittest.dart';
+import 'package:meta/meta.dart';
class VMConfiguration extends Configuration {
void onDone(bool success) {
@@ -27,3 +28,6 @@ class VMConfiguration extends Configuration {
void useVMConfiguration() {
configure(new VMConfiguration());
}
+
+@deprecated
+void useVmConfiguration() => useVMConfiguration();
« no previous file with comments | « no previous file | pkg/unittest/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698