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

Commit f0f4df7c authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "audio VTS: Update SetConnectedStateInvalidDeviceAddress" am: 3812519b am: 9f7d0a7f

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1959939

Change-Id: Ic087400367ab2a5f4a5028df40f764856032e5c4
parents d4cd3308 9f7d0a7f
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -53,9 +53,9 @@ static const DeviceAddress& getInvalidDeviceAddress() {


TEST_P(AudioHidlDeviceTest, SetConnectedStateInvalidDeviceAddress) {
TEST_P(AudioHidlDeviceTest, SetConnectedStateInvalidDeviceAddress) {
    doc::test("Check that invalid device address is rejected by IDevice::setConnectedState");
    doc::test("Check that invalid device address is rejected by IDevice::setConnectedState");
    EXPECT_RESULT(Result::INVALID_ARGUMENTS,
    EXPECT_RESULT(invalidArgsOrNotSupported,
                  getDevice()->setConnectedState(getInvalidDeviceAddress(), true));
                  getDevice()->setConnectedState(getInvalidDeviceAddress(), true));
    EXPECT_RESULT(Result::INVALID_ARGUMENTS,
    EXPECT_RESULT(invalidArgsOrNotSupported,
                  getDevice()->setConnectedState(getInvalidDeviceAddress(), false));
                  getDevice()->setConnectedState(getInvalidDeviceAddress(), false));
}
}