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

Unified Diff: tests/standalone/coverage_test.dart

Issue 17406010: Move getters from Options to Platform (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixed Dart_GetType Created 7 years, 6 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 | « tests/lib/mirrors/library_uri_io_test.dart ('k') | tests/standalone/debugger/breakpoint_resolved_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/coverage_test.dart
diff --git a/tests/standalone/coverage_test.dart b/tests/standalone/coverage_test.dart
index b5a236e9802dd93c5a86692661eac1b4a1d740f9..b48d99be1213e0b1199fd149f84926b23a6cc709 100644
--- a/tests/standalone/coverage_test.dart
+++ b/tests/standalone/coverage_test.dart
@@ -47,11 +47,9 @@ void checkSuccess() {
}
void main() {
- var options = new Options();
-
// Compute paths for coverage tool and coverage target relative
// the the path of this script.
- var scriptPath = new Path(options.script).directoryPath;
+ var scriptPath = new Path(Platform.script).directoryPath;
var toolPath = scriptPath.join(new Path(coverageToolScript)).canonicalize();
targPath = scriptPath.join(new Path(coverageTargetScript)).canonicalize();
@@ -62,7 +60,7 @@ void main() {
toolPath.toNativePath(),
targPath.toNativePath() ];
- Process.start(options.executable, processOpts).then((Process process) {
+ Process.start(Platform.executable, processOpts).then((Process process) {
coverageToolProcess = process;
coverageToolProcess.stdin.close();
var stdoutStringStream = coverageToolProcess.stdout
« no previous file with comments | « tests/lib/mirrors/library_uri_io_test.dart ('k') | tests/standalone/debugger/breakpoint_resolved_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698