Home
last modified time | relevance | path

Searched refs:FAKE_SYNC_RET (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/src/
H A Daccesstoken_deny_test.cpp46 static const int32_t FAKE_SYNC_RET = 0xabcdef; variable
50 return FAKE_SYNC_RET; in GetRemoteHapTokenInfo()
55 return FAKE_SYNC_RET; in DeleteRemoteHapTokenInfo()
60 return FAKE_SYNC_RET; in UpdateRemoteHapTokenInfo()
H A Dremote_token_kit_test.cpp120 static const int32_t FAKE_SYNC_RET = 0xabcdef; variable
129 return FAKE_SYNC_RET; in GetRemoteHapTokenInfo()
135 return FAKE_SYNC_RET; in DeleteRemoteHapTokenInfo()
141 return FAKE_SYNC_RET; in UpdateRemoteHapTokenInfo()
H A Daccesstoken_kit_extension_test.cpp2071 static const int32_t FAKE_SYNC_RET = 0xabcdef; variable
2080 return FAKE_SYNC_RET; in GetRemoteHapTokenInfo()
2086 return FAKE_SYNC_RET; in DeleteRemoteHapTokenInfo()
2092 return FAKE_SYNC_RET; in UpdateRemoteHapTokenInfo()
2224 EXPECT_EQ(FAKE_SYNC_RET, callbackImpl->GetRemoteHapTokenInfo("test", 0)); // test input
2225 EXPECT_EQ(FAKE_SYNC_RET, callbackImpl->DeleteRemoteHapTokenInfo(0)); // test input
2227 EXPECT_EQ(FAKE_SYNC_RET, callbackImpl->UpdateRemoteHapTokenInfo(info)); // test input
/ohos5.0/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/accesstoken_mock_test/
H A Daccesstoken_kit_test.cpp40 static const int32_t FAKE_SYNC_RET = 0xabcdef; variable
44 return FAKE_SYNC_RET; in GetRemoteHapTokenInfo()
49 return FAKE_SYNC_RET; in DeleteRemoteHapTokenInfo()
54 return FAKE_SYNC_RET; in UpdateRemoteHapTokenInfo()
/ohos5.0/base/security/access_token/services/accesstokenmanager/test/unittest/
H A Daccesstoken_info_manager_test.cpp117 static const int32_t FAKE_SYNC_RET = 0xabcdef; variable
985 …*callback, GetRemoteHapTokenInfo(testing::_, testing::_)).WillOnce(testing::Return(FAKE_SYNC_RET));
986 …EXPECT_EQ(FAKE_SYNC_RET, TokenModifyNotifier::GetInstance().tokenSyncCallbackObject_->GetRemoteHap…
988 …ECT_CALL(*callback, DeleteRemoteHapTokenInfo(testing::_)).WillOnce(testing::Return(FAKE_SYNC_RET));
989 …EXPECT_EQ(FAKE_SYNC_RET, TokenModifyNotifier::GetInstance().tokenSyncCallbackObject_->DeleteRemote…
992 …ECT_CALL(*callback, UpdateRemoteHapTokenInfo(testing::_)).WillOnce(testing::Return(FAKE_SYNC_RET));
993 EXPECT_EQ(FAKE_SYNC_RET,
1017 .WillOnce(testing::Return(FAKE_SYNC_RET));
1018 EXPECT_EQ(FAKE_SYNC_RET, TokenModifyNotifier::GetInstance().GetRemoteHapTokenInfo("", 0));
1069 .WillOnce(testing::Return(FAKE_SYNC_RET));
[all …]