Merge "Add blindScan condition to blindScan test"

This commit is contained in:
TreeHugger Robot 2021-11-16 20:03:56 +00:00 committed by Android (Google) Code Review
commit d709be7d8c
3 changed files with 6 additions and 3 deletions

View file

@ -128,7 +128,8 @@ wait:
}
EXPECT_TRUE(scanMsgLockedReceived) << "Scan message LOCKED not received before END";
EXPECT_TRUE(targetFrequencyReceived) << "frequency not received before LOCKED on blindScan";
if (type == FrontendScanType::SCAN_BLIND)
EXPECT_TRUE(targetFrequencyReceived) << "frequency not received before LOCKED on blindScan";
mScanMessageReceived = false;
mScanMsgProcessed = true;
}

View file

@ -180,7 +180,8 @@ wait:
}
EXPECT_TRUE(scanMsgLockedReceived) << "Scan message LOCKED not received before END";
EXPECT_TRUE(targetFrequencyReceived) << "frequency not received before LOCKED on blindScan";
if (type == FrontendScanType::SCAN_BLIND)
EXPECT_TRUE(targetFrequencyReceived) << "frequency not received before LOCKED on blindScan";
mScanMessageReceived = false;
mScanMsgProcessed = true;
}

View file

@ -171,7 +171,8 @@ wait:
}
EXPECT_TRUE(scanMsgLockedReceived) << "Scan message LOCKED not received before END";
EXPECT_TRUE(targetFrequencyReceived) << "frequency not received before LOCKED on blindScan";
if (type == FrontendScanType::SCAN_BLIND)
EXPECT_TRUE(targetFrequencyReceived) << "frequency not received before LOCKED on blindScan";
mScanMessageReceived = false;
mScanMsgProcessed = true;
}