mirror of
https://github.com/openappsec/openappsec.git
synced 2025-09-29 11:16:30 +03:00
Aug_23_2023-Dev
This commit is contained in:
@@ -55,5 +55,11 @@ public:
|
||||
MOCK_CONST_METHOD1(executeCmd, bool(const std::string &));
|
||||
MOCK_CONST_METHOD1(base64Encode, std::string(const std::string &));
|
||||
MOCK_CONST_METHOD1(base64Decode, std::string(const std::string &));
|
||||
MOCK_CONST_METHOD2(removeDirectory, bool(const std::string &, bool delete_content));
|
||||
MOCK_CONST_METHOD1(loadTenantsFromDir, void(const std::string &));
|
||||
MOCK_CONST_METHOD3(
|
||||
deleteVirtualTenantProfileFiles,
|
||||
void(const std::string &tenant_id, const std::string &profile_id, const std::string &conf_path)
|
||||
);
|
||||
};
|
||||
#endif // __MOCK_ORCHESTRATION_TOOLS_H__
|
||||
|
@@ -38,14 +38,16 @@ public:
|
||||
|
||||
MOCK_CONST_METHOD0(getUpdatePolicyVersion, const std::string &());
|
||||
|
||||
MOCK_CONST_METHOD0(getPolicyVersions, const std::string &());
|
||||
|
||||
MOCK_METHOD6(
|
||||
updateServiceConfiguration,
|
||||
bool(
|
||||
Maybe<void>(
|
||||
const std::string &new_policy_path,
|
||||
const std::string &new_settings_path,
|
||||
const std::vector<std::string> &new_data_files,
|
||||
const std::string &tenant_id,
|
||||
const std::string &profile_id,
|
||||
const std::string &child_tenant_id,
|
||||
const std::string &child_profile_id,
|
||||
const bool last_iteration
|
||||
)
|
||||
);
|
||||
|
@@ -31,7 +31,7 @@ public:
|
||||
MOCK_METHOD1(getUpdate, Maybe<void>(CheckUpdateRequest &));
|
||||
MOCK_METHOD1(downloadAttributeFile, Maybe<std::string>(const GetResourceFile &));
|
||||
MOCK_METHOD1(setAddressExtenesion, void(const std::string &));
|
||||
MOCK_CONST_METHOD1(sendPolicyVersion, Maybe<void>(const std::string &));
|
||||
MOCK_CONST_METHOD2(sendPolicyVersion, Maybe<void>(const std::string &, const std::string &));
|
||||
};
|
||||
|
||||
#endif // __MOCK_UPDATE_COMMUNICATION_H__
|
||||
|
Reference in New Issue
Block a user