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

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

Issue 119673004: Version 1.1.0-dev.5.2 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 6 years, 11 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 | « dart/tests/language/string_charcode_test.dart ('k') | dart/tests/standalone/debugger/debug_lib.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tests/standalone/debugger/breakpoint_resolved_test.dart
===================================================================
--- dart/tests/standalone/debugger/breakpoint_resolved_test.dart (revision 31530)
+++ dart/tests/standalone/debugger/breakpoint_resolved_test.dart (working copy)
@@ -13,7 +13,8 @@
}
bar() {
-
+ // Attempt to set breakpoint in this empty line does not
+ // result in a resolved breakpoint.
print("bar");
}
@@ -24,12 +25,10 @@
SetBreakpoint(16),
Resume(),
MatchFrame(0, "main"),
- Resume(),
- MatchFrame(0, "bar"),
- Resume(),
+ Resume(), // Next breakpoint expected in main, when bar() returns.
MatchFrame(0, "main"),
+ // Only two breakpoint resolved events expected.
ExpectEvent("breakpointResolved", {"breakpointId": 1}),
ExpectEvent("breakpointResolved", {"breakpointId": 2}),
- ExpectEvent("breakpointResolved", {"breakpointId": 3}),
Resume(),
];
« no previous file with comments | « dart/tests/language/string_charcode_test.dart ('k') | dart/tests/standalone/debugger/debug_lib.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698