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

Commit fe20b8a8 authored by Muralidhar Reddy Mule's avatar Muralidhar Reddy Mule Committed by Android (Google) Code Review
Browse files

Merge "Ignore new tests of IRadioSim, IRadioModem V2 in devices with V1" into udc-dev

parents f5c86e53 eb1c6174
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -191,6 +191,13 @@ TEST_P(RadioModemTest, getDeviceIdentity) {
 * Test IRadioModem.getImei() for the response returned.
 */
TEST_P(RadioModemTest, getImei) {
    int32_t aidl_version;
    ndk::ScopedAStatus aidl_status = radio_modem->getInterfaceVersion(&aidl_version);
    ASSERT_OK(aidl_status);
    if (aidl_version < 2) {
        ALOGI("Skipped the test since getImei is not supported on version < 2");
        GTEST_SKIP();
    }
    LOG(DEBUG) << "getImei";
    serial = GetRandomSerialNumber();

+8 −0
Original line number Diff line number Diff line
@@ -765,6 +765,14 @@ TEST_P(RadioSimTest, iccCloseLogicalChannel) {
 * Test IRadioSim.iccCloseLogicalChannelWithSessionInfo() for the response returned.
 */
TEST_P(RadioSimTest, iccCloseLogicalChannelWithSessionInfo) {
    int32_t aidl_version;
    ndk::ScopedAStatus aidl_status = radio_sim->getInterfaceVersion(&aidl_version);
    ASSERT_OK(aidl_status);
    if (aidl_version < 2) {
        ALOGI("Skipped the test since"
              " iccCloseLogicalChannelWithSessionInfo is not supported on version < 2");
        GTEST_SKIP();
    }
    LOG(DEBUG) << "iccCloseLogicalChannelWithSessionInfo";
    serial = GetRandomSerialNumber();
    SessionInfo info;