!1280 DT问题修复&安全告警问题清理

Merge pull request !1280 from taojuncun/bug_0726_01
This commit is contained in:
openharmony_ci 2024-07-26 09:04:23 +00:00 committed by Gitee
commit d596e72177
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1843,6 +1843,7 @@ HWTEST_F(AccessibilityAccountDataTest, AccessibilityAccountData_Unittest_GetAbil
const int32_t accountId = 1;
const std::string abilityName = "com.huawei.hmos.screenreader/AccessibilityExtAbility";
sptr<AccessibilityAccountData> accountData = new AccessibilityAccountData(accountId);
accountData->Init();
accountData->SetAbilityAutoStartState(abilityName, false);
EXPECT_EQ(accountData->GetAbilityAutoStartState(abilityName), false);
GTEST_LOG_(INFO) << "AccessibilityAccountData_Unittest_GetAbilityAutoStartState_001 end";