Lines Matching refs:ASSERT_EQ

55ASSERT_EQ(serialized_msg.size(), msg.Serialize(&*serialized_msg.begin(), &*serialized_msg.end()));  in TEST()
58 ASSERT_EQ(gatekeeper::gatekeeper_error_t::ERROR_NONE, in TEST()
61 ASSERT_EQ(gatekeeper::gatekeeper_error_t::ERROR_NONE, in TEST()
65 ASSERT_EQ(USER_ID, deserialized_msg.user_id); in TEST()
66 ASSERT_EQ((uint32_t) password_size, deserialized_password->size()); in TEST()
67ASSERT_EQ(0, memcmp(msg.provided_password.Data<uint8_t>(), deserialized_password->Data<uint8_t>(),… in TEST()
78ASSERT_EQ(serialized_msg.size(), msg.Serialize(&*serialized_msg.begin(), &*serialized_msg.end())); in TEST()
81 ASSERT_EQ(gatekeeper::gatekeeper_error_t::ERROR_NONE, in TEST()
84 ASSERT_EQ(gatekeeper::gatekeeper_error_t::ERROR_NONE, in TEST()
88 ASSERT_EQ(USER_ID, deserialized_msg.user_id); in TEST()
89 ASSERT_EQ((uint32_t) password_size, deserialized_password->size()); in TEST()
90ASSERT_EQ(0, memcmp(msg.provided_password.Data<uint8_t>(), deserialized_password->Data<uint8_t>(),… in TEST()
106ASSERT_EQ(serialized_msg.size(), msg.Serialize(&*serialized_msg.begin(), &*serialized_msg.end())); in TEST()
109 ASSERT_EQ(gatekeeper::gatekeeper_error_t::ERROR_NONE, in TEST()
112 ASSERT_EQ(gatekeeper::gatekeeper_error_t::ERROR_NONE, in TEST()
118 ASSERT_EQ(USER_ID, deserialized_msg.user_id); in TEST()
119 ASSERT_EQ((uint32_t) password_size, deserialized_password->size()); in TEST()
120ASSERT_EQ(0, memcmp(msg.provided_password.Data<uint8_t>(), deserialized_password->Data<uint8_t>(),… in TEST()
121 ASSERT_EQ((uint32_t) password_size, deserialized_enrolled->size()); in TEST()
122ASSERT_EQ(0, memcmp(msg.enrolled_password.Data<uint8_t>(), deserialized_enrolled->Data<uint8_t>(),… in TEST()
123 ASSERT_EQ((uint32_t) password_size, deserialized_handle->size()); in TEST()
124ASSERT_EQ(0, memcmp(msg.password_handle.Data<uint8_t>(), deserialized_handle->Data<uint8_t>(), pas… in TEST()
134ASSERT_EQ(serialized_msg.size(), msg.Serialize(&*serialized_msg.begin(), &*serialized_msg.end())); in TEST()
137 ASSERT_EQ(gatekeeper::gatekeeper_error_t::ERROR_NONE, in TEST()
140 ASSERT_EQ(gatekeeper::gatekeeper_error_t::ERROR_NONE, in TEST()
144 ASSERT_EQ(USER_ID, deserialized_msg.user_id); in TEST()
145 ASSERT_EQ((uint32_t) password_size, deserialized_password->size()); in TEST()
146 ASSERT_EQ(0, memcmp(msg.enrolled_password_handle.Data<uint8_t>(), in TEST()
156ASSERT_EQ(serialized_msg.size(), msg.Serialize(&*serialized_msg.begin(), &*serialized_msg.end())); in TEST()
159 ASSERT_EQ(gatekeeper::gatekeeper_error_t::ERROR_NONE, in TEST()
162 ASSERT_EQ(gatekeeper::gatekeeper_error_t::ERROR_NONE, in TEST()
165 ASSERT_EQ(USER_ID, deserialized_msg.user_id); in TEST()
166 ASSERT_EQ((uint64_t) 1, deserialized_msg.challenge); in TEST()
168 ASSERT_EQ((uint32_t) password_size, deserialized_password->size()); in TEST()
169ASSERT_EQ(0, memcmp(msg.provided_password.Data<uint8_t>(), deserialized_password->Data<uint8_t>(), in TEST()
173 ASSERT_EQ((uint32_t) password_size, deserialized_password->size()); in TEST()
174 ASSERT_EQ(0, memcmp(msg.password_handle.Data<uint8_t>(), deserialized_password->Data<uint8_t>(), in TEST()
184ASSERT_EQ(serialized_msg.size(), msg.Serialize(&*serialized_msg.begin(), &*serialized_msg.end())); in TEST()
187 ASSERT_EQ(gatekeeper::gatekeeper_error_t::ERROR_NONE, in TEST()
190 ASSERT_EQ(gatekeeper::gatekeeper_error_t::ERROR_NONE, in TEST()
193 ASSERT_EQ(USER_ID, deserialized_msg.user_id); in TEST()
195 ASSERT_EQ((uint32_t) password_size, deserialized_password->size()); in TEST()
196 ASSERT_EQ(0, memcmp(msg.auth_token.Data<uint8_t>(), deserialized_password->Data<uint8_t>(), in TEST()
204ASSERT_EQ(serialized_msg.size(), msg.Serialize(&*serialized_msg.begin(), &*serialized_msg.end())); in TEST()
206 ASSERT_EQ(gatekeeper::gatekeeper_error_t::ERROR_NONE, in TEST()
208 ASSERT_EQ(gatekeeper::gatekeeper_error_t::ERROR_INVALID, in TEST()
216ASSERT_EQ(serialized_msg.size(), msg.Serialize(&*serialized_msg.begin(), &*serialized_msg.end())); in TEST()
218 ASSERT_EQ(gatekeeper::gatekeeper_error_t::ERROR_NONE, in TEST()
220 ASSERT_EQ(gatekeeper::gatekeeper_error_t::ERROR_INVALID, in TEST()
228ASSERT_EQ(serialized_msg.size(), msg.Serialize(&*serialized_msg.begin(), &*serialized_msg.end())); in TEST()
230 ASSERT_EQ(gatekeeper::gatekeeper_error_t::ERROR_NONE, in TEST()
232 ASSERT_EQ(gatekeeper::gatekeeper_error_t::ERROR_INVALID, in TEST()
240ASSERT_EQ(serialized_msg.size(), msg.Serialize(&*serialized_msg.begin(), &*serialized_msg.end())); in TEST()
242 ASSERT_EQ(gatekeeper::gatekeeper_error_t::ERROR_NONE, in TEST()
244 ASSERT_EQ(gatekeeper::gatekeeper_error_t::ERROR_INVALID, in TEST()