Effect AIDL: Add line change between parameters print for debug

Bug: 258124419
Test: atest AudioEffectTargetTest
Change-Id: I3a757e4fa8482176bf1f3e7142bb9f7c007451a7
This commit is contained in:
Shunkai Yao 2023-02-16 02:31:24 +00:00
parent 26ebfab53f
commit eea1994dad

View file

@ -82,7 +82,7 @@ class AudioEffectTest : public testing::TestWithParam<EffectTestParam>, public E
Parameter get;
EXPECT_IS_OK(mEffect->setParameter(set));
EXPECT_IS_OK(mEffect->getParameter(id, &get));
EXPECT_EQ(set, get) << set.toString() << " vs " << get.toString();
EXPECT_EQ(set, get) << set.toString() << "\n vs \n" << get.toString();
}
};
@ -390,7 +390,7 @@ TEST_P(AudioEffectTest, VerifyCommonParametersAfterOpen) {
Parameter::Id id;
id.set<Parameter::Id::commonTag>(Parameter::common);
EXPECT_IS_OK(mEffect->getParameter(id, &get));
EXPECT_EQ(expect, get) << expect.toString() << " vs " << get.toString();
EXPECT_EQ(expect, get) << expect.toString() << "\n vs \n" << get.toString();
ASSERT_NO_FATAL_FAILURE(close(mEffect));
ASSERT_NO_FATAL_FAILURE(destroy(mFactory, mEffect));