修复编程规范问题

Signed-off-by: puhui <puhui1@huawei.com>
This commit is contained in:
puhui
2022-01-18 23:16:13 +08:00
parent ca7512ed83
commit 04f6bc4d95
@@ -350,7 +350,8 @@ HWTEST_F(DeviceManagerServiceTest, VerifyAuthentication_002, testing::ext::TestS
std::string authParam = "jdjjjj";
std::shared_ptr<SoftbusConnector> softbusConnector = std::make_shared<SoftbusConnector>();
std::shared_ptr<DeviceManagerServiceListener> listener_ = std::make_shared<DeviceManagerServiceListener>();
DeviceManagerService::GetInstance().authMgr_ = std::make_shared<DmAuthManager>(softbusConnector, listener_, nullptr);
DeviceManagerService::GetInstance().authMgr_ =
std::make_shared<DmAuthManager>(softbusConnector, listener_, nullptr);
std::shared_ptr<DmTimer> inputStartTimer = std::make_shared<DmTimer>(INPUT_TIMEOUT_TASK);
DeviceManagerService::GetInstance().authMgr_->timerMap_[INPUT_TIMEOUT_TASK] = inputStartTimer;
int ret = DeviceManagerService::GetInstance().VerifyAuthentication(authParam);