mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
VTS setGetAllowedNetworkTypesBitmap allow reset
If the test fails, the allowed network type bitmap will not be reset to the previous value. Instead of using ASSERT_EQ, change to EXPECT_EQ to allow the test to continue to the reset. Test: atest VtsHalRadioTargetTest Bug: 264913330 Change-Id: I719afa2e0d9ebc41a329f38f3eca597c9381f2f9
This commit is contained in:
@@ -106,7 +106,7 @@ TEST_P(RadioNetworkTest, setGetAllowedNetworkTypesBitmap) {
|
||||
RadioError::REQUEST_NOT_SUPPORTED, RadioError::NO_RESOURCES}));
|
||||
if (radioRsp_network->rspInfo.error == RadioError::NONE) {
|
||||
// verify we get the value we set
|
||||
ASSERT_EQ(radioRsp_network->networkTypeBitmapResponse, allowedNetworkTypesBitmap);
|
||||
EXPECT_EQ(radioRsp_network->networkTypeBitmapResponse, allowedNetworkTypesBitmap);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user