Figure out what error returned in getLastCallFailCause

( locally bug 38228792 is not reproduciable , have to make such change
to see what error returned in vts-web )

Test: vts-web
Bug: 38228792
Change-Id: Ieccb450324ae6b06d4e3e15726c837a9fede49fe
This commit is contained in:
sqian
2017-05-15 15:59:44 -07:00
committed by shuoq
parent 24401aac69
commit 3bfbed5a07

View File

@@ -184,6 +184,7 @@ TEST_F(RadioHidlTest, getLastCallFailCause) {
EXPECT_EQ(serial, radioRsp->rspInfo.serial);
if (cardStatus.cardState == CardState::ABSENT) {
EXPECT_EQ(radioRsp->rspInfo.error, RadioError::NONE);
ASSERT_TRUE(CheckGeneralError() ||
radioRsp->rspInfo.error == RadioError::NONE);
}