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

Unified Diff: tests/standalone/debugger/break_at_equals_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. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/standalone/debugger/break_at_equals_test.dart
diff --git a/tests/standalone/debugger/break_at_equals_test.dart b/tests/standalone/debugger/break_at_equals_test.dart
deleted file mode 100644
index 5000e6d374d5ed07c84828841e611eb6f86ad2ed..0000000000000000000000000000000000000000
--- a/tests/standalone/debugger/break_at_equals_test.dart
+++ /dev/null
@@ -1,52 +0,0 @@
-// Copyright (c) 2014, 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";
-
-class MyClass {
- operator ==(other) {
- print(other);
- return true; // Breakpoint #3.
- }
-}
-
-main(List<String> arguments) {
- if (RunScript(testScript, arguments)) return;
- var a = new MyClass();
- var b = null;
- a == b; // Breakpoint #1.
- print("after 1");
- b = 123;
- a == b; // Breakpoint #2.
- print("after 2");
- a == null; // Breakpoint #4.
- print("after 4");
- if (null == a) {
- throw "unreachable";
- }
- print("ok");
-}
-
-// Checks that debugger can stop at calls to == even if one
-// of the operands is null.
-
-var testScript = [
- MatchFrames(["main"]),
- MatchLine(14),
- SetBreakpoint(18),
- SetBreakpoint(21),
- SetBreakpoint(10),
- SetBreakpoint(23),
- Resume(),
- MatchFrames(["main"]),
- MatchLine(18), // At breakpoint #1.
- Resume(),
- MatchLine(21), // At breakpoint #2; didn't hit breakpoint in MyClass.==.
- Resume(),
- MatchFrames(["MyClass.==", "main"]),
- MatchLine(10), // At breakpoint #3 in MyClass.==.
- Resume(),
- MatchLine(23), // At breakpoint #4.
- Resume()
-];
« no previous file with comments | « tests/standalone/debugger/basic_debugger_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