VTS Audio Effect: Do not check the result of IEffect::offload method am: 5abb15e987
am: dd5605c4fb
Change-Id: I98d3bd958af9266b97830c098d282f4760974cef
This commit is contained in:
commit
7cd76c1469
1 changed files with 1 additions and 4 deletions
|
@ -450,16 +450,13 @@ TEST_F(AudioEffectHidlTest, SetAudioSource) {
|
|||
}
|
||||
|
||||
TEST_F(AudioEffectHidlTest, Offload) {
|
||||
description("Verify that calling Offload method either works or returns not supported");
|
||||
description("Verify that calling Offload method does not crash");
|
||||
EffectOffloadParameter offloadParam;
|
||||
offloadParam.isOffload = false;
|
||||
offloadParam.ioHandle =
|
||||
static_cast<int>(AudioHandleConsts::AUDIO_IO_HANDLE_NONE);
|
||||
Return<Result> ret = effect->offload(offloadParam);
|
||||
EXPECT_TRUE(ret.isOk());
|
||||
EXPECT_TRUE(Result::OK == ret || Result::NOT_SUPPORTED == ret)
|
||||
<< "Expected OK or NOT_SUPPORTED, actual value: "
|
||||
<< static_cast<int32_t>(static_cast<Result>(ret));
|
||||
}
|
||||
|
||||
TEST_F(AudioEffectHidlTest, PrepareForProcessing) {
|
||||
|
|
Loading…
Reference in a new issue