Merge "Audio VTS: Always check for Result::isOk()" into pie-vts-dev

This commit is contained in:
Treehugger Robot
2018-09-18 17:49:08 +00:00
committed by Gerrit Code Review

View File

@@ -1402,6 +1402,7 @@ TEST_F(AudioPrimaryHidlTest, setBtHfpVolume) {
"Make sure setBtHfpVolume is either not supported or "
"only succeed if volume is in [0,1]");
auto ret = device->setBtHfpVolume(0.0);
ASSERT_TRUE(ret.isOk());
if (ret == Result::NOT_SUPPORTED) {
doc::partialTest("setBtHfpVolume is not supported");
return;