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

Unified Diff: ipc/ipc_channel_unittest.cc

Issue 818833004: Remove deprecated methods from Pickle. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 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
« no previous file with comments | « ipc/ipc_channel_posix.cc ('k') | ipc/ipc_fuzzing_tests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_channel_unittest.cc
diff --git a/ipc/ipc_channel_unittest.cc b/ipc/ipc_channel_unittest.cc
index dd31e9e9c474e20457dff9c2375eae0440ec9d35..383ddb0467d7854ccf8f04584d2f631a7cad2e7f 100644
--- a/ipc/ipc_channel_unittest.cc
+++ b/ipc/ipc_channel_unittest.cc
@@ -39,19 +39,19 @@ TEST_F(IPCChannelTest, BasicMessageTest) {
std::string vs;
std::wstring vw;
- EXPECT_TRUE(m.ReadInt(&iter, &vi));
+ EXPECT_TRUE(iter.ReadInt(&vi));
EXPECT_EQ(v1, vi);
- EXPECT_TRUE(m.ReadString(&iter, &vs));
+ EXPECT_TRUE(iter.ReadString(&vs));
EXPECT_EQ(v2, vs);
- EXPECT_TRUE(m.ReadWString(&iter, &vw));
+ EXPECT_TRUE(iter.ReadWString(&vw));
EXPECT_EQ(v3, vw);
// should fail
- EXPECT_FALSE(m.ReadInt(&iter, &vi));
- EXPECT_FALSE(m.ReadString(&iter, &vs));
- EXPECT_FALSE(m.ReadWString(&iter, &vw));
+ EXPECT_FALSE(iter.ReadInt(&vi));
+ EXPECT_FALSE(iter.ReadString(&vs));
+ EXPECT_FALSE(iter.ReadWString(&vw));
}
TEST_F(IPCChannelTest, ChannelTest) {
« no previous file with comments | « ipc/ipc_channel_posix.cc ('k') | ipc/ipc_fuzzing_tests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698