Lines Matching refs:result1
112 auto result1 = getTimestampToken(1 /* challenge */); in TEST_P() local
114 EXPECT_EQ(ErrorCode::OK, result1.error); in TEST_P()
115 EXPECT_EQ(1U, result1.token.challenge); in TEST_P()
116 EXPECT_GT(result1.token.timestamp.milliSeconds, 0U); in TEST_P()
117 EXPECT_EQ(32U, result1.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()
153 auto result1 = getTimestampToken(0 /* challenge */); in TEST_P() local
155 EXPECT_EQ(ErrorCode::OK, result1.error); in TEST_P()
156 EXPECT_EQ(0U, result1.token.challenge); in TEST_P()
157 EXPECT_GT(result1.token.timestamp.milliSeconds, 0U); in TEST_P()
158 EXPECT_EQ(32U, result1.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()