Aktualizr
C++ SOTA Client
All Classes Namespaces Files Functions Variables Enumerations Enumerator Pages
Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
SecondaryTest Class Reference
Inheritance diagram for SecondaryTest:
[legend]
Collaboration diagram for SecondaryTest:
[legend]

Protected Member Functions

std::vector< Uptane::TargetgetCurrentTargets ()
 
Uptane::Target getDefaultTarget ()
 
Hash getDefaultTargetHash ()
 
data::ResultCode::Numeric sendImageFile (std::string target_name=default_target_)
 

Protected Attributes

AktualizrSecondaryWrapper secondary_
 
UptaneRepoWrapper uptane_repo_
 
NiceMock< UpdateAgentMock > & update_agent_
 
TemporaryDirectory image_dir_
 

Static Protected Attributes

static constexpr const char *const default_target_ {"default-target"}
 
static constexpr const char *const bigger_target_ {"default-target.bigger"}
 
static constexpr const char *const smaller_target_ {"default-target.smaller"}
 
static constexpr const char *const broken_target_ {"default-target.broken"}
 
static const size_t target_size {2049}
 
static const size_t inavlid_target_size_delta {2}
 
static const size_t send_buffer_size {1024}
 

Detailed Description

Definition at line 171 of file aktualizr_secondary_test.cc.


The documentation for this class was generated from the following file: