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

Commit 4ee510ca authored by Ankit Goyal's avatar Ankit Goyal
Browse files

Allow gtest to instantiate no tests without failures

Fix: 162211705
Test: atest VtsHalGraphicsMapperV4_0TargetTest (before and after change)
Change-Id: I8cf7f6bf82f939040f59043b00515e66a4b8ce68
parent 1d570b13
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -204,6 +204,7 @@ TEST_P(GraphicsMapperHidlTest, CreateDescriptor_2_1Negative) {
    });
}

GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(GraphicsMapperHidlTest);
INSTANTIATE_TEST_CASE_P(
        PerInstance, GraphicsMapperHidlTest,
        testing::Combine(
+1 −0
Original line number Diff line number Diff line
@@ -458,6 +458,7 @@ TEST_P(GraphicsMapperHidlTest, IsSupportedY16) {
    ASSERT_NO_FATAL_FAILURE(supported = mGralloc->isSupported(info));
}

GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(GraphicsMapperHidlTest);
INSTANTIATE_TEST_CASE_P(
        PerInstance, GraphicsMapperHidlTest,
        testing::Combine(
+1 −0
Original line number Diff line number Diff line
@@ -2592,6 +2592,7 @@ TEST_P(GraphicsMapperHidlTest, GetReservedRegionBadBuffer) {
    ASSERT_EQ(0, reservedSize);
}

GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(GraphicsMapperHidlTest);
INSTANTIATE_TEST_CASE_P(
        PerInstance, GraphicsMapperHidlTest,
        testing::Combine(