Home
last modified time | relevance | path

Searched refs:testConstraints (Results 1 - 2 of 2) sorted by relevance

/base/account/os_account/test/fuzztest/osaccount/getosaccountallconstraints_fuzzer/
H A Dgetosaccountallconstraints_fuzzer.cpp36 std::vector<std::string> testConstraints; in GetOsAccountAllConstraintsFuzzTest() local
37 result = OsAccountManager::GetOsAccountAllConstraints(testId, testConstraints); in GetOsAccountAllConstraintsFuzzTest()
/base/account/os_account/services/accountmgr/test/unittest/os_account/
H A Dos_account_inner_account_mgr_mock.cpp673 std::vector<std::string> testConstraints = {"constraint.fun"}; in HWTEST_F() local
675 EXPECT_EQ(ERR_OK, innerMgrService_->SetBaseOsAccountConstraints(localId, testConstraints, true)); in HWTEST_F()
676 EXPECT_EQ(ERR_OK, innerMgrService_->SetGlobalOsAccountConstraints(testConstraints, true, localId, true)); in HWTEST_F()
678 innerMgrService_->SetSpecificOsAccountConstraints(testConstraints, true, localId, TEST_USER_ID100, false)); in HWTEST_F()
687 EXPECT_EQ(ERR_OK, innerMgrService_->QueryOsAccountConstraintSourceTypes(localId, testConstraints[0], infos)); in HWTEST_F()
690 EXPECT_EQ(ERR_OK, innerMgrService_->SetBaseOsAccountConstraints(localId, testConstraints, false)); in HWTEST_F()
691 EXPECT_EQ(ERR_OK, innerMgrService_->SetGlobalOsAccountConstraints(testConstraints, false, localId, false)); in HWTEST_F()
693 innerMgrService_->SetSpecificOsAccountConstraints(testConstraints, false, localId, TEST_USER_ID100, false)); in HWTEST_F()
696 EXPECT_EQ(ERR_OK, innerMgrService_->QueryOsAccountConstraintSourceTypes(localId, testConstraints[0], infos)); in HWTEST_F()

Completed in 7 milliseconds