Searched refs:unserialized_opt (Results 1 – 2 of 2) sorted by relevance
/external/libchrome/ipc/ |
D | ipc_message_utils_unittest.cc | 122 base::Optional<int> unserialized_opt; in TEST() local 124 EXPECT_TRUE(IPC::ReadParam(&pickle, &iter, &unserialized_opt)); in TEST() 125 EXPECT_FALSE(unserialized_opt); in TEST() 137 base::Optional<int> unserialized_opt; in TEST() local 139 EXPECT_TRUE(IPC::ReadParam(&pickle, &iter, &unserialized_opt)); in TEST() 140 EXPECT_TRUE(unserialized_opt); in TEST() 141 EXPECT_EQ(opt.value(), unserialized_opt.value()); in TEST()
|
/external/cronet/ipc/ |
D | ipc_message_utils_unittest.cc | 126 absl::optional<int> unserialized_opt; in TEST() local 128 EXPECT_TRUE(IPC::ReadParam(&pickle, &iter, &unserialized_opt)); in TEST() 129 EXPECT_FALSE(unserialized_opt); in TEST() 141 absl::optional<int> unserialized_opt; in TEST() local 143 EXPECT_TRUE(IPC::ReadParam(&pickle, &iter, &unserialized_opt)); in TEST() 144 EXPECT_TRUE(unserialized_opt); in TEST() 145 EXPECT_EQ(opt.value(), unserialized_opt.value()); in TEST()
|