Merge "audio VTS: Update SetConnectedStateInvalidDeviceAddress" am: 3812519bc1
am: 9f7d0a7f55
am: f0f4df7c2c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1959939 Change-Id: I812ee096e0800c16901c7b5577376f7b5e48e959
This commit is contained in:
commit
b79dbd949e
1 changed files with 2 additions and 2 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue