mirror of
https://gitee.com/openharmony/base_location
synced 2024-11-23 06:50:03 +00:00
tdd FIX: wifi scan req add fixNumber == 1
Signed-off-by: ruan-shaofei <ruanshaofei2020@163.com>
This commit is contained in:
parent
b0b457045d
commit
652357e2f5
@ -59,6 +59,7 @@ HWTEST_F(LocatorRequiredDataManagerTest, RegisterCallback001, TestSize.Level1)
|
||||
|
||||
std::shared_ptr<LocatingRequiredDataConfig> dataConfig = std::make_shared<LocatingRequiredDataConfig>();
|
||||
dataConfig->SetType(LocatingRequiredDataType::WIFI);
|
||||
dataConfig->SetFixNumber(1);
|
||||
dataConfig->SetNeedStartScan(true);
|
||||
dataConfig->SetScanIntervalMs(1);
|
||||
dataConfig->SetScanTimeoutMs(1);
|
||||
@ -110,6 +111,7 @@ HWTEST_F(LocatorRequiredDataManagerTest, RegisterCallback003, TestSize.Level1)
|
||||
std::shared_ptr<LocatingRequiredDataConfig> dataConfig = std::make_shared<LocatingRequiredDataConfig>();
|
||||
dataConfig->SetType(LocatingRequiredDataType::WIFI);
|
||||
dataConfig->SetNeedStartScan(false);
|
||||
dataConfig->SetFixNumber(1);
|
||||
dataConfig->SetScanIntervalMs(1);
|
||||
dataConfig->SetScanTimeoutMs(1);
|
||||
AppIdentity identity;
|
||||
|
Loading…
Reference in New Issue
Block a user