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

Unified Diff: tests/standalone/debugger/debug_lib.dart

Issue 52573002: Remove uses of Options from pkg, samples, tests, and third_party directories. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Edit comment Created 7 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
Index: tests/standalone/debugger/debug_lib.dart
diff --git a/tests/standalone/debugger/debug_lib.dart b/tests/standalone/debugger/debug_lib.dart
index a5f19ab153efdd97286a7bbbb3e63b54531f89ea..cee7c2f94334bbcddcd5ac7251bc5a43b51d7612 100644
--- a/tests/standalone/debugger/debug_lib.dart
+++ b/tests/standalone/debugger/debug_lib.dart
@@ -601,12 +601,11 @@ class Debugger {
}
-bool RunScript(List script) {
- var options = new Options();
- if (options.arguments.contains("--debuggee")) {
+bool RunScript(List script, List<String> arguments) {
+ if (arguments.contains("--debuggee")) {
return false;
}
- verboseWire = options.arguments.contains("--wire");
+ verboseWire = arguments.contains("--wire");
// Port number 0 means debug target picks a free port dynamically.
var targetOpts = [ "--debug:0" ];
« no previous file with comments | « tests/standalone/debugger/closure_debugger_test.dart ('k') | tests/standalone/debugger/nosuchmethod_debugger_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698