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

Unified Diff: lib/src/runner/vm/isolate_listener.dart

Issue 1263503008: Add an Environment class that's exposed through RunnerSuite. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 5 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
Index: lib/src/runner/vm/isolate_listener.dart
diff --git a/lib/src/runner/vm/isolate_listener.dart b/lib/src/runner/vm/isolate_listener.dart
index 700c5a7966dc2a40db1accb2e4872d27c08933b8..06e2d6a9693c4941ff8dd0e48c7cdd98af35cbb9 100644
--- a/lib/src/runner/vm/isolate_listener.dart
+++ b/lib/src/runner/vm/isolate_listener.dart
@@ -11,18 +11,18 @@ import 'package:stack_trace/stack_trace.dart';
import '../../backend/declarer.dart';
import '../../backend/metadata.dart';
+import '../../backend/suite.dart';
import '../../backend/test.dart';
import '../../backend/test_platform.dart';
import '../../util/io.dart';
import '../../util/remote_exception.dart';
import '../../utils.dart';
-import '../runner_suite.dart';
/// A class that runs tests in a separate isolate and communicates the results
/// back to the main isolate.
class IsolateListener {
/// The test suite to run.
- final RunnerSuite _suite;
+ final Suite _suite;
/// Extracts metadata about all the tests in the function returned by
/// [getMain] and sends information about them over [sendPort].
@@ -86,7 +86,7 @@ class IsolateListener {
return;
}
- var suite = new RunnerSuite(declarer.tests,
+ var suite = new Suite(declarer.tests,
platform: TestPlatform.vm, os: currentOS, metadata: metadata);
new IsolateListener._(suite)._listen(sendPort);
}

Powered by Google App Engine
This is Rietveld 408576698