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

Commit 07df0b0d authored by Hui Peng's avatar Hui Peng
Browse files

[redact_log]Address test failures caused by changes to BluetoothDevice#toString

Bug: 265103382
Test: unittest
Change-Id: Id683f6e54ced7070cc83ab09decd9eed35bfa6f9
parent a1850699
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -680,7 +680,7 @@ public class AvrcpControllerStateMachineTest {

        //Get the root of the device
        BrowseTree.BrowseNode results = mAvrcpStateMachine.findNode(rootName);
        Assert.assertEquals(rootName + mTestDevice.toString(), results.getID());
        Assert.assertEquals(rootName + mTestDevice.getAddress(), results.getID());

        //Request fetch the list of players
        BrowseTree.BrowseNode playerNodes = mAvrcpStateMachine.findNode(results.getID());
@@ -872,7 +872,7 @@ public class AvrcpControllerStateMachineTest {

        //Get the root of the device
        BrowseTree.BrowseNode results = mAvrcpStateMachine.findNode(rootName);
        Assert.assertEquals(rootName + mTestDevice.toString(), results.getID());
        Assert.assertEquals(rootName + mTestDevice.getAddress(), results.getID());

        //Request fetch the list of players
        BrowseTree.BrowseNode playerNodes = mAvrcpStateMachine.findNode(results.getID());
@@ -938,7 +938,7 @@ public class AvrcpControllerStateMachineTest {

        //Get the root of the device
        BrowseTree.BrowseNode rootNode = mAvrcpStateMachine.findNode(rootName);
        Assert.assertEquals(rootName + mTestDevice.toString(), rootNode.getID());
        Assert.assertEquals(rootName + mTestDevice.getAddress(), rootNode.getID());

        //Request fetch the list of players
        BrowseTree.BrowseNode playerNodes = mAvrcpStateMachine.findNode(rootNode.getID());
@@ -997,7 +997,7 @@ public class AvrcpControllerStateMachineTest {

        //Get the root of the device
        BrowseTree.BrowseNode rootNode = mAvrcpStateMachine.findNode(rootName);
        Assert.assertEquals(rootName + mTestDevice.toString(), rootNode.getID());
        Assert.assertEquals(rootName + mTestDevice.getAddress(), rootNode.getID());

        //Request fetch the list of players
        BrowseTree.BrowseNode playerNodes = mAvrcpStateMachine.findNode(rootNode.getID());
@@ -1062,7 +1062,7 @@ public class AvrcpControllerStateMachineTest {

        //Get the root of the device
        BrowseTree.BrowseNode results = mAvrcpStateMachine.findNode(rootName);
        Assert.assertEquals(rootName + mTestDevice.toString(), results.getID());
        Assert.assertEquals(rootName + mTestDevice.getAddress(), results.getID());

        //Request fetch the list of players
        BrowseTree.BrowseNode playerNodes = mAvrcpStateMachine.findNode(results.getID());