mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user