Merge "Mark GraphicsMapperHidlTest as allowing not being instantiated" am: ca31517201 am: 527ce01e45

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

Change-Id: I26988bc85183530470762f22c555ada31cfee0ad
This commit is contained in:
Treehugger Robot 2020-09-28 22:20:03 +00:00 committed by Automerger Merge Worker
commit 5342c34a26
4 changed files with 5 additions and 1 deletions

View file

@ -410,6 +410,7 @@ TEST_P(GraphicsMapperHidlTest, UnlockNegative) {
#endif
}
GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(GraphicsMapperHidlTest);
INSTANTIATE_TEST_CASE_P(
PerInstance, GraphicsMapperHidlTest,
testing::Combine(

View file

@ -204,6 +204,7 @@ TEST_P(GraphicsMapperHidlTest, CreateDescriptor_2_1Negative) {
});
}
GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(GraphicsMapperHidlTest);
INSTANTIATE_TEST_CASE_P(
PerInstance, GraphicsMapperHidlTest,
testing::Combine(
@ -218,4 +219,4 @@ INSTANTIATE_TEST_CASE_P(
} // namespace mapper
} // namespace graphics
} // namespace hardware
} // namespace android
} // namespace android

View file

@ -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(

View file

@ -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(