April 21th 2024 update

This commit is contained in:
Ned Wright
2024-04-21 12:38:24 +00:00
parent 189c9209c9
commit 66ed4a8d81
73 changed files with 994 additions and 1166 deletions

View File

@@ -35,6 +35,7 @@ public:
MOCK_METHOD0(getPlatform, Maybe<std::string>());
MOCK_METHOD0(getArch, Maybe<std::string>());
MOCK_METHOD0(getAgentVersion, std::string());
MOCK_METHOD0(isCloudStorageEnabled, bool());
MOCK_METHOD0(isReverseProxy, bool());
MOCK_METHOD0(isKernelVersion3OrHigher, bool());
MOCK_METHOD0(isGwNotVsx, bool());

View File

@@ -24,7 +24,7 @@ class MockDownloader :
{
public:
MOCK_CONST_METHOD3(
downloadFileFromFog,
downloadFile,
Maybe<std::string>(const std::string &, Package::ChecksumTypes, const GetResourceFile &)
);

View File

@@ -29,6 +29,7 @@ class MockUpdateCommunication :
public:
void init() {}
MOCK_METHOD0(authenticateAgent, Maybe<void>());
MOCK_METHOD0(registerLocalAgentToFog, void());
MOCK_METHOD1(getUpdate, Maybe<void>(CheckUpdateRequest &));
MOCK_METHOD2(
downloadAttributeFile,