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

Commit 8b5cf0ca authored by Pavan Kumar M's avatar Pavan Kumar M
Browse files

Update Vts for getSlicingConfig

Currently getSlicingConfigAPI always returns NOT_SUPPORTED.
But GetSlicingConfig is supported in Android U. and VTS will fail.

This change updates the expected errorcodes for getSlicingConfig API.

Tests: Builds, Boots, RadioDataTest
Bug: 228996685
Change-Id: I10cf7b0b9ba09e56605d5a498ec48c4b8972f00b
parent d1129e07
Loading
Loading
Loading
Loading
+4 −8
Original line number Diff line number Diff line
@@ -233,14 +233,10 @@ TEST_P(RadioDataTest, getSlicingConfig) {
    EXPECT_EQ(std::cv_status::no_timeout, wait());
    EXPECT_EQ(RadioResponseType::SOLICITED, radioRsp_data->rspInfo.type);
    EXPECT_EQ(serial, radioRsp_data->rspInfo.serial);
    if (getRadioHalCapabilities()) {
        ASSERT_TRUE(CheckAnyOfErrors(radioRsp_data->rspInfo.error,
                                     {RadioError::REQUEST_NOT_SUPPORTED}));
    } else {
    ASSERT_TRUE(CheckAnyOfErrors(radioRsp_data->rspInfo.error,
                                 {RadioError::NONE, RadioError::RADIO_NOT_AVAILABLE,
                                      RadioError::INTERNAL_ERR, RadioError::MODEM_ERR}));
    }
                                  RadioError::INTERNAL_ERR, RadioError::MODEM_ERR,
                                  RadioError::REQUEST_NOT_SUPPORTED}));
}

/*