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

Commit 5ea96fa4 authored by Sungsoo Lim's avatar Sungsoo Lim Committed by Automerger Merge Worker
Browse files

Merge "Test VolumeControlService.dump" am: ef49ef26

parents 7f925dbe ef49ef26
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -855,6 +855,14 @@ public class VolumeControlServiceTest {
        Assert.assertEquals(0, descriptor.size());
    }

    @Test
    public void testDump_doesNotCrash() throws Exception {
        connectDevice(mDevice);

        StringBuilder sb = new StringBuilder();
        mService.dump(sb);
    }

    private void connectDevice(BluetoothDevice device) throws Exception {
        VolumeControlStackEvent connCompletedEvent;