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

Unified Diff: runtime/vm/coverage_test.cc

Issue 487023003: vmservice protocol cleanup (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: gen js Created 6 years, 4 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/bin/vmservice/observatory/lib/src/service/object.dart ('k') | runtime/vm/debugger_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/coverage_test.cc
diff --git a/runtime/vm/coverage_test.cc b/runtime/vm/coverage_test.cc
index 0d2f775c0f3a5587deb7786d179778ebb627c4f0..c4c62e13da8285b40ed0ec17592a3bf33cc3d17b 100644
--- a/runtime/vm/coverage_test.cc
+++ b/runtime/vm/coverage_test.cc
@@ -51,7 +51,7 @@ TEST_CASE(Coverage_Empty) {
OS::SNPrint(buf, sizeof(buf),
"{\"source\":\"test-lib\",\"script\":{\"type\":\"@Script\","
"\"id\":\"libraries\\/%" Pd "\\/scripts\\/test-lib\","
- "\"name\":\"test-lib\",\"user_name\":\"test-lib\","
+ "\"name\":\"test-lib\","
"\"kind\":\"script\"},\"hits\":[]}", lib.index());
EXPECT_SUBSTRING(buf, js.ToCString());
}
@@ -88,7 +88,7 @@ TEST_CASE(Coverage_MainWithClass) {
OS::SNPrint(buf, sizeof(buf),
"{\"source\":\"test-lib\",\"script\":{\"type\":\"@Script\","
"\"id\":\"libraries\\/%" Pd "\\/scripts\\/test-lib\","
- "\"name\":\"test-lib\",\"user_name\":\"test-lib\","
+ "\"name\":\"test-lib\","
"\"kind\":\"script\"},\"hits\":[3,1,5,4,6,3]}", lib.index());
EXPECT_SUBSTRING(buf, js.ToCString());
@@ -96,7 +96,7 @@ TEST_CASE(Coverage_MainWithClass) {
OS::SNPrint(buf, sizeof(buf),
"{\"source\":\"test-lib\",\"script\":{\"type\":\"@Script\","
"\"id\":\"libraries\\/%" Pd "\\/scripts\\/test-lib\","
- "\"name\":\"test-lib\",\"user_name\":\"test-lib\","
+ "\"name\":\"test-lib\","
"\"kind\":\"script\"},\"hits\":[10,1,11,1]}", lib.index());
EXPECT_SUBSTRING(buf, js.ToCString());
}
@@ -134,7 +134,7 @@ TEST_CASE(Coverage_FilterFunction) {
OS::SNPrint(buf, sizeof(buf),
"{\"source\":\"test-lib\",\"script\":{\"type\":\"@Script\","
"\"id\":\"libraries\\/%" Pd "\\/scripts\\/test-lib\","
- "\"name\":\"test-lib\",\"user_name\":\"test-lib\","
+ "\"name\":\"test-lib\","
"\"kind\":\"script\"},\"hits\":[6,0]}", lib.index());
EXPECT_SUBSTRING(buf, js.ToCString());
}
« no previous file with comments | « runtime/bin/vmservice/observatory/lib/src/service/object.dart ('k') | runtime/vm/debugger_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698