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

Commit eb133de2 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Sending SMS via 1.6 APIs in VTS 1.6"

parents e267570c b66cebd3
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -261,7 +261,7 @@ TEST_P(RadioHidlTest_v1_6, sendSms_1_6) {
    msg.smscPdu = "";
    msg.pdu = "01000b916105770203f3000006d4f29c3e9b01";

    radio_v1_6->sendSms(serial, msg);
    radio_v1_6->sendSms_1_6(serial, msg);

    EXPECT_EQ(std::cv_status::no_timeout, wait());
    EXPECT_EQ(RadioResponseType::SOLICITED, radioRsp_v1_6->rspInfo.type);
@@ -289,7 +289,7 @@ TEST_P(RadioHidlTest_v1_6, sendSmsExpectMore_1_6) {
    msg.smscPdu = "";
    msg.pdu = "01000b916105770203f3000006d4f29c3e9b01";

    radio_v1_6->sendSMSExpectMore(serial, msg);
    radio_v1_6->sendSmsExpectMore_1_6(serial, msg);

    EXPECT_EQ(std::cv_status::no_timeout, wait());
    EXPECT_EQ(RadioResponseType::SOLICITED, radioRsp_v1_6->rspInfo.type);
@@ -337,7 +337,7 @@ TEST_P(RadioHidlTest_v1_6, sendCdmaSms_1_6) {
    cdmaSmsMessage.bearerData =
        (std::vector<uint8_t>){15, 0, 3, 32, 3, 16, 1, 8, 16, 53, 76, 68, 6, 51, 106, 0};

    radio_v1_6->sendCdmaSms(serial, cdmaSmsMessage);
    radio_v1_6->sendCdmaSms_1_6(serial, cdmaSmsMessage);

    EXPECT_EQ(std::cv_status::no_timeout, wait());
    EXPECT_EQ(RadioResponseType::SOLICITED, radioRsp_v1_6->rspInfo.type);
@@ -384,7 +384,7 @@ TEST_P(RadioHidlTest_v1_6, sendCdmaSmsExpectMore_1_6) {
    cdmaSmsMessage.bearerData =
            (std::vector<uint8_t>){15, 0, 3, 32, 3, 16, 1, 8, 16, 53, 76, 68, 6, 51, 106, 0};

    radio_v1_6->sendCdmaSmsExpectMore(serial, cdmaSmsMessage);
    radio_v1_6->sendCdmaSmsExpectMore_1_6(serial, cdmaSmsMessage);

    EXPECT_EQ(std::cv_status::no_timeout, wait());
    EXPECT_EQ(RadioResponseType::SOLICITED, radioRsp_v1_6->rspInfo.type);