Merge "Check for failures in base SetUp()"
This commit is contained in:
commit
ed2054123f
1 changed files with 2 additions and 0 deletions
|
@ -404,6 +404,7 @@ class CertificateRequestTest : public CertificateRequestTestBase {
|
|||
protected:
|
||||
void SetUp() override {
|
||||
CertificateRequestTestBase::SetUp();
|
||||
ASSERT_FALSE(HasFatalFailure());
|
||||
|
||||
if (rpcHardwareInfo.versionNumber >= VERSION_WITHOUT_TEST_MODE) {
|
||||
bytevec keysToSignMac;
|
||||
|
@ -689,6 +690,7 @@ INSTANTIATE_REM_PROV_AIDL_TEST(CertificateRequestTest);
|
|||
class CertificateRequestV2Test : public CertificateRequestTestBase {
|
||||
void SetUp() override {
|
||||
CertificateRequestTestBase::SetUp();
|
||||
ASSERT_FALSE(HasFatalFailure());
|
||||
|
||||
if (rpcHardwareInfo.versionNumber < VERSION_WITHOUT_TEST_MODE) {
|
||||
GTEST_SKIP() << "This test case only applies to RKP v3 and above. "
|
||||
|
|
Loading…
Reference in a new issue