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

Commit b12a1e30 authored by William Escande's avatar William Escande Committed by Gerrit Code Review
Browse files

Merge "AvrcpControllerStateMachine: add label in test" into main

parents 64391b65 a4d21d5b
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -1110,11 +1110,12 @@ public class AvrcpControllerStateMachineTest {
     */
    @Test
    public void testRegisterAbsVolumeNotification() {
        byte label = 42;
        setUpConnectedState(true, true);
        mAvrcpStateMachine.sendMessage(
                AvrcpControllerStateMachine.MESSAGE_PROCESS_REGISTER_ABS_VOL_NOTIFICATION);
        verify(mNativeInterface, timeout(ASYNC_CALL_TIMEOUT_MILLIS).times(1))
                .sendRegisterAbsVolRsp(any(), anyByte(), eq(127), anyInt());
                AvrcpControllerStateMachine.MESSAGE_PROCESS_REGISTER_ABS_VOL_NOTIFICATION, label);
        verify(mNativeInterface, timeout(ASYNC_CALL_TIMEOUT_MILLIS))
                .sendRegisterAbsVolRsp(any(), anyByte(), eq(127), eq((int) label));
    }

    /**