From 8e485cc67eb40c9a197ae735a459da068914069a Mon Sep 17 00:00:00 2001 From: Grace Jia Date: Tue, 20 Apr 2021 18:46:19 -0700 Subject: [PATCH] Fix QC vts test failure The test is a value-parameterized test, so use TEST_P instead of TEST_F to prevent compile error. Bug: 184609812 Test: vts test Change-Id: I8a54568e1f109f8d9c748584ab50b195001d8218 --- radio/1.6/vts/functional/radio_hidl_hal_api.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radio/1.6/vts/functional/radio_hidl_hal_api.cpp b/radio/1.6/vts/functional/radio_hidl_hal_api.cpp index 36eee1090b..f09b74edaf 100644 --- a/radio/1.6/vts/functional/radio_hidl_hal_api.cpp +++ b/radio/1.6/vts/functional/radio_hidl_hal_api.cpp @@ -756,7 +756,7 @@ TEST_P(RadioHidlTest_v1_6, setCarrierInfoForImsiEncryption_1_6) { /* * Test IRadio.getSimPhonebookRecords() for the response returned. */ -TEST_F(RadioHidlTest_v1_6, getSimPhonebookRecords) { +TEST_P(RadioHidlTest_v1_6, getSimPhonebookRecords) { serial = GetRandomSerialNumber(); radio_v1_6->getSimPhonebookRecords(serial); EXPECT_EQ(std::cv_status::no_timeout, wait());