Merge "audio VTS: Update SetConnectedStateInvalidDeviceAddress"

This commit is contained in:
Treehugger Robot 2022-01-25 19:35:08 +00:00 committed by Gerrit Code Review
commit 3812519bc1

View file

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