Chromium Code Reviews

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

Issue 1497033003: - Remove the legacy debug protocol. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address review comments. Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « tests/standalone/debugger/break_at_equals_test.dart ('k') | tests/standalone/debugger/closure_bp_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/debugger/breakpoint_resolved_test.dart
diff --git a/tests/standalone/debugger/breakpoint_resolved_test.dart b/tests/standalone/debugger/breakpoint_resolved_test.dart
deleted file mode 100644
index 14c28274483b5ea2ab828e4a0283f342bddcabac..0000000000000000000000000000000000000000
--- a/tests/standalone/debugger/breakpoint_resolved_test.dart
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-import "debug_lib.dart";
-
-main(List<String> arguments) {
- if (RunScript(testScript, arguments)) return;
-
- bar();
-
- print("Hello from debuggee");
-}
-
-bar() {
- // Attempt to set breakpoint in this empty line does not
- // result in a resolved breakpoint.
- print("bar");
-}
-
-var testScript = [
- MatchFrame(0, "main"),
- SetBreakpoint(10),
- SetBreakpoint(12),
- SetBreakpoint(16),
- Resume(),
- MatchFrame(0, "main"),
- Resume(), // Next breakpoint expected in main, when bar() returns.
- MatchFrame(0, "main"),
- // Only two breakpoint resolved events expected.
- ExpectEvent("breakpointResolved", {"breakpointId": 2}),
- ExpectEvent("breakpointResolved", {"breakpointId": 3}),
- Resume(),
-];
« no previous file with comments | « tests/standalone/debugger/break_at_equals_test.dart ('k') | tests/standalone/debugger/closure_bp_test.dart » ('j') | no next file with comments »

Powered by Google App Engine