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

Unified Diff: lib/test.dart

Issue 1379203002: Refactor groups to pipe them through to the runner. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Code review changes Created 5 years, 2 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 | « lib/src/runner/vm/isolate_test.dart ('k') | test/backend/declarer_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/test.dart
diff --git a/lib/test.dart b/lib/test.dart
index 05bb8fed34f7960a369e7000b129e506d2deb944..e662d1e5289a41027a4135a21530a5df2f027ec4 100644
--- a/lib/test.dart
+++ b/lib/test.dart
@@ -41,7 +41,7 @@ Declarer _globalDeclarer;
/// [IsolateListener] or [IframeListener]. If the test file is run directly,
/// this returns [_globalDeclarer] (and sets it up on the first call).
Declarer get _declarer {
- var declarer = Zone.current[#test.declarer];
+ var declarer = Declarer.current;
if (declarer != null) return declarer;
if (_globalDeclarer != null) return _globalDeclarer;
@@ -55,7 +55,7 @@ Declarer get _declarer {
// TODO(nweiz): Use a different environment if VM environment starts
// import dart:io before cross-platform libraries exist.
const VMEnvironment(),
- _globalDeclarer.tests,
+ _globalDeclarer.build(),
path: p.prettyUri(Uri.base),
platform: TestPlatform.vm,
os: currentOSGuess);
« no previous file with comments | « lib/src/runner/vm/isolate_test.dart ('k') | test/backend/declarer_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698