Lines Matching refs:result2
122 auto result2 = getTimestampToken(2 /* challenge */); in TEST_P() local
124 EXPECT_EQ(ErrorCode::OK, result2.error); in TEST_P()
125 EXPECT_EQ(2U, result2.token.challenge); in TEST_P()
126 EXPECT_GT(result2.token.timestamp.milliSeconds, 0U); in TEST_P()
127 EXPECT_EQ(32U, result2.token.mac.size()); in TEST_P()
136 EXPECT_GE(result2.token.timestamp.milliSeconds, result1.token.timestamp.milliSeconds); in TEST_P()
138 result2.token.timestamp.milliSeconds - result1.token.timestamp.milliSeconds; in TEST_P()
142 ASSERT_EQ(result1.token.mac.size(), result2.token.mac.size()); in TEST_P()
144 memcmp(result1.token.mac.data(), result2.token.mac.data(), result1.token.mac.size())); in TEST_P()
163 auto result2 = getTimestampToken(1 /* challenge */); in TEST_P() local
165 EXPECT_EQ(ErrorCode::OK, result2.error); in TEST_P()
166 EXPECT_EQ(1U, result2.token.challenge); in TEST_P()
167 EXPECT_GT(result2.token.timestamp.milliSeconds, 0U); in TEST_P()
168 EXPECT_EQ(32U, result2.token.mac.size()); in TEST_P()
178 EXPECT_GE(result2.token.timestamp.milliSeconds, result1.token.timestamp.milliSeconds); in TEST_P()
180 result2.token.timestamp.milliSeconds - result1.token.timestamp.milliSeconds; in TEST_P()
184 ASSERT_EQ(result1.token.mac.size(), result2.token.mac.size()); in TEST_P()
186 memcmp(result1.token.mac.data(), result2.token.mac.data(), result1.token.mac.size())); in TEST_P()