Fix build with new googletest

The new googletest requires prefix to be non-empty.

Change-Id: I3ebd13861c4803b53dbeb4ac5f247984814bef45
This commit is contained in:
Haibo Huang
2019-11-08 11:59:40 -08:00
parent 240c726150
commit 83b4c1e3e1
3 changed files with 3 additions and 3 deletions

View File

@@ -81,6 +81,6 @@ TEST_P(BootHidlTest, SetSnapshotMergeStatus) {
}
INSTANTIATE_TEST_SUITE_P(
, BootHidlTest,
PerInstance, BootHidlTest,
testing::ValuesIn(android::hardware::getAllHalInstanceNames(IBootControl::descriptor)),
android::hardware::PrintInstanceNameToString);

View File

@@ -252,7 +252,7 @@ TEST_P(HealthHidlTest, shouldKeepScreenOn) {
}
INSTANTIATE_TEST_SUITE_P(
, HealthHidlTest,
PerInstance, HealthHidlTest,
testing::ValuesIn(android::hardware::getAllHalInstanceNames(IHealth::descriptor)),
android::hardware::PrintInstanceNameToString);

View File

@@ -228,7 +228,7 @@ TEST_P(VibratorAidl, ExternalControlUnsupportedMatchingCapabilities) {
}
}
INSTANTIATE_TEST_SUITE_P(, VibratorAidl,
INSTANTIATE_TEST_SUITE_P(Vibrator, VibratorAidl,
testing::ValuesIn(android::getAidlHalInstanceNames(IVibrator::descriptor)),
android::PrintInstanceNameToString);