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

Unified Diff: sync/notifier/p2p_invalidator_unittest.cc

Issue 10911084: Implement Invalidator::Acknowledge (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Restart test + more cleanup Created 8 years, 2 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
Index: sync/notifier/p2p_invalidator_unittest.cc
diff --git a/sync/notifier/p2p_invalidator_unittest.cc b/sync/notifier/p2p_invalidator_unittest.cc
index 6be2c218098a705384caf8b018953ea7fc2044e8..dcea624e11b67dd1ebf96be0ed312d1b42d3e516 100644
--- a/sync/notifier/p2p_invalidator_unittest.cc
+++ b/sync/notifier/p2p_invalidator_unittest.cc
@@ -194,9 +194,9 @@ TEST_F(P2PInvalidatorTest, P2PNotificationDataNonDefault) {
EXPECT_EQ(
"{\"idInvalidationMap\":["
"{\"objectId\":{\"name\":\"BOOKMARK\",\"source\":1004},"
- "\"state\":{\"ackHandle\":{},\"payload\":\"\"}},"
+ "\"state\":{\"ackHandle\":\"INVALIDHANDLENAME\",\"payload\":\"\"}},"
"{\"objectId\":{\"name\":\"THEME\",\"source\":1004},"
- "\"state\":{\"ackHandle\":{},\"payload\":\"\"}}"
+ "\"state\":{\"ackHandle\":\"INVALIDHANDLENAME\",\"payload\":\"\"}}"
"],\"notificationType\":\"notifyAll\","
"\"senderId\":\"sender\",\"source\":1}", notification_data_str);

Powered by Google App Engine
This is Rietveld 408576698