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

Unified Diff: pkg/barback/test/utils.dart

Issue 18811008: Tweak unittest compact config a bit and don't use it on bots. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix comment. Created 7 years, 5 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/barback/pubspec.yaml ('k') | pkg/unittest/lib/compact_vm_config.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/barback/test/utils.dart
diff --git a/pkg/barback/test/utils.dart b/pkg/barback/test/utils.dart
index f14ff3d4595d5cabd5a0503ab3205d82bf4a2862..7900c4298ac406123b36fcbdcb277ce480f69994 100644
--- a/pkg/barback/test/utils.dart
+++ b/pkg/barback/test/utils.dart
@@ -12,9 +12,7 @@ import 'package:barback/barback.dart';
import 'package:barback/src/asset_graph.dart';
import 'package:pathos/path.dart' as pathos;
import 'package:scheduled_test/scheduled_test.dart';
-
-// TODO(rnystrom): Get rid of this or find a better path for it.
-import '../../../sdk/lib/_internal/pub/test/command_line_config.dart';
+import 'package:unittest/compact_vm_config.dart';
var _configured = false;
@@ -29,7 +27,7 @@ int _nextBuildResult;
void initConfig() {
if (_configured) return;
_configured = true;
- unittestConfiguration = new CommandLineConfiguration();
+ useCompactVMConfiguration();
}
/// Creates a new [AssetProvider] and [AssetGraph] with the given [assets] and
« no previous file with comments | « pkg/barback/pubspec.yaml ('k') | pkg/unittest/lib/compact_vm_config.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698