Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e5c9b5e7 authored by Dan Shi's avatar Dan Shi Committed by Automerger Merge Worker
Browse files

Suppress gtest error for tests without any instance am: ba4d532f am: 73122cd2

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1374050

Change-Id: Ie5e956d4613f5e947c36ba4f1048f0c3aa8944ba
parents bcd3acde 73122cd2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -93,6 +93,7 @@ TEST_P(AtraceHidlTest, disableAllCategories) {
    EXPECT_EQ(Status::SUCCESS, ret);
}

GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(AtraceHidlTest);
INSTANTIATE_TEST_SUITE_P(
        PerInstance, AtraceHidlTest,
        testing::ValuesIn(android::hardware::getAllHalInstanceNames(IAtraceDevice::descriptor)),
+1 −0
Original line number Diff line number Diff line
@@ -73,6 +73,7 @@ TEST_P(AuthSecretHidlTest, provisionPrimaryUserCredentialAndWrongSecret) {
    authsecret->primaryUserCredential(WRONG_SECRET);
}

GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(AuthSecretHidlTest);
INSTANTIATE_TEST_SUITE_P(
        PerInstance, AuthSecretHidlTest,
        testing::ValuesIn(android::hardware::getAllHalInstanceNames(IAuthSecret::descriptor)),
+1 −1
Original line number Diff line number Diff line
@@ -579,7 +579,7 @@ TEST_P(EvsHidlTest, MultiCameraStream) {
    }
}


GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(EvsHidlTest);
INSTANTIATE_TEST_SUITE_P(
    PerInstance,
    EvsHidlTest,
+1 −0
Original line number Diff line number Diff line
@@ -348,6 +348,7 @@ TEST_P(FaceHidlTest, OnLockoutChangedTest) {

}  // anonymous namespace

GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(FaceHidlTest);
INSTANTIATE_TEST_SUITE_P(
        PerInstance, FaceHidlTest,
        testing::ValuesIn(android::hardware::getAllHalInstanceNames(IBiometricsFace::descriptor)),
+1 −0
Original line number Diff line number Diff line
@@ -472,6 +472,7 @@ TEST_P(FingerprintHidlTest, CancelRemoveAllTest) {
}
}  // anonymous namespace

GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(FingerprintHidlTest);
INSTANTIATE_TEST_SUITE_P(PerInstance, FingerprintHidlTest,
                         testing::ValuesIn(android::hardware::getAllHalInstanceNames(
                                 IBiometricsFingerprint::descriptor)),
Loading