Aktualizr
C++ SOTA Client
|
Public Member Functions | |
UpdateAgentMock (boost::filesystem::path target_filepath, std::string target_name) | |
MOCK_METHOD (bool, download,(const Uptane::Target &target, const std::string &data)) | |
MOCK_METHOD (data::ResultCode::Numeric, install,(const Uptane::Target &target)) | |
![]() | |
FileUpdateAgent (boost::filesystem::path target_filepath, std::string target_name) | |
bool | isTargetSupported (const Uptane::Target &target) const override |
bool | getInstalledImageInfo (Uptane::InstalledImageInfo &installed_image_info) const override |
bool | download (const Uptane::Target &target, const std::string &data) override |
data::ResultCode::Numeric | install (const Uptane::Target &target) override |
void | completeInstall () override |
data::InstallationResult | applyPendingInstall (const Uptane::Target &target) override |
![]() | |
UpdateAgent (const UpdateAgent &)=delete | |
UpdateAgent & | operator= (const UpdateAgent &)=delete |
Additional Inherited Members | |
![]() | |
using | Ptr = std::shared_ptr< UpdateAgent > |
Definition at line 16 of file aktualizr_secondary_test.cc.