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

Unified Diff: runtime/vm/debugger_test.cc

Issue 1157173005: Include 'fixedId' key when printing service ids (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 7 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 | « runtime/vm/debugger.cc ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/debugger_test.cc
diff --git a/runtime/vm/debugger_test.cc b/runtime/vm/debugger_test.cc
index 0cda54908160c83fda36d7ab94a3514755f003af..8b537d76d8e09e0e0fd170ed4fc29b56fbf787c6 100644
--- a/runtime/vm/debugger_test.cc
+++ b/runtime/vm/debugger_test.cc
@@ -69,17 +69,17 @@ TEST_CASE(Debugger_PrintBreakpointsToJSONArray) {
}
ExpectSubstringF(
js.ToCString(),
- "[{\"type\":\"Breakpoint\",\"id\":\"breakpoints\\/2\","
+ "[{\"type\":\"Breakpoint\",\"fixedId\":true,\"id\":\"breakpoints\\/2\","
"\"breakpointNumber\":2,\"resolved\":false,"
"\"location\":{\"type\":\"Location\","
- "\"script\":{\"type\":\"@Script\","
+ "\"script\":{\"type\":\"@Script\",\"fixedId\":true,"
"\"id\":\"libraries\\/%" Pd "\\/scripts\\/test-lib\","
"\"uri\":\"test-lib\","
"\"kind\":\"script\"},\"tokenPos\":14}},"
- "{\"type\":\"Breakpoint\",\"id\":\"breakpoints\\/1\","
+ "{\"type\":\"Breakpoint\",\"fixedId\":true,\"id\":\"breakpoints\\/1\","
"\"breakpointNumber\":1,\"resolved\":false,"
"\"location\":{\"type\":\"Location\","
- "\"script\":{\"type\":\"@Script\","
+ "\"script\":{\"type\":\"@Script\",\"fixedId\":true,"
"\"id\":\"libraries\\/%" Pd "\\/scripts\\/test-lib\","
"\"uri\":\"test-lib\","
"\"kind\":\"script\"},\"tokenPos\":5}}]",
« no previous file with comments | « runtime/vm/debugger.cc ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698