Lines Matching refs:ErrorCode
224 ASSERT_EQ(ErrorCode::OK, convert(GenerateKey(AuthorizationSetBuilder() in TEST_P()
232 EXPECT_EQ(ErrorCode::UNIMPLEMENTED, in TEST_P()
241 ASSERT_EQ(ErrorCode::OK, convert(GenerateKey(AuthorizationSetBuilder() in TEST_P()
247 EXPECT_EQ(ErrorCode::UNIMPLEMENTED, in TEST_P()
259 ASSERT_EQ(ErrorCode::OK, convert(GenerateKey(AuthorizationSetBuilder() in TEST_P()
269 ErrorCode result = in TEST_P()
277 if (result == ErrorCode::CANNOT_ATTEST_IDS) return; in TEST_P()
279 EXPECT_EQ(ErrorCode::OK, result); in TEST_P()
286 ASSERT_EQ(ErrorCode::OK, err); in TEST_P()
307 ASSERT_EQ(ErrorCode::OK, convert(GenerateKey(AuthorizationSetBuilder() in TEST_P()
316 ErrorCode result = in TEST_P()
324 if (result == ErrorCode::CANNOT_ATTEST_IDS) return; in TEST_P()
326 EXPECT_EQ(ErrorCode::OK, result); in TEST_P()
333 ASSERT_EQ(ErrorCode::OK, err); in TEST_P()
355 ASSERT_EQ(ErrorCode::OK, convert(GenerateKey(AuthorizationSetBuilder() in TEST_P()
381 ErrorCode result = convert(AttestKey(builder, &cert_chain)); in TEST_P()
384 if (result == ErrorCode::CANNOT_ATTEST_IDS) return; in TEST_P()
386 ASSERT_EQ(ErrorCode::OK, result); in TEST_P()
392 ASSERT_EQ(ErrorCode::OK, err); in TEST_P()
415 ASSERT_EQ(ErrorCode::OK, convert(GenerateKey(AuthorizationSetBuilder() in TEST_P()
445 ErrorCode result = convert(AttestKey(builder, &cert_chain)); in TEST_P()
447 EXPECT_TRUE(result == ErrorCode::CANNOT_ATTEST_IDS || result == ErrorCode::INVALID_TAG) in TEST_P()