audio: VtsHalAudioCoreModuleTargetTest: Convert a SIGSEGV into an assertion failure am: a0234940b3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2820217 Change-Id: Ic0fad3353c15ec27cfca0ff9ffbfe4947ef9dd6b Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
95835f4901
1 changed files with 1 additions and 0 deletions
|
@ -446,6 +446,7 @@ class AudioCoreModuleBase {
|
|||
|
||||
void TearDownImpl() {
|
||||
debug.reset();
|
||||
ASSERT_NE(module, nullptr);
|
||||
std::vector<AudioPort> finalPorts;
|
||||
ASSERT_IS_OK(module->getAudioPorts(&finalPorts));
|
||||
EXPECT_NO_FATAL_FAILURE(VerifyVectorsAreEqual<AudioPort>(initialPorts, finalPorts))
|
||||
|
|
Loading…
Reference in a new issue