Aktualizr
C++ SOTA Client
Public Member Functions | Public Attributes | List of all members
SecondaryInterfaceMock Class Reference
Inheritance diagram for SecondaryInterfaceMock:
[legend]
Collaboration diagram for SecondaryInterfaceMock:
[legend]

Public Member Functions

 SecondaryInterfaceMock (Primary::VirtualSecondaryConfig &sconfig_in)
 
void init (std::shared_ptr< SecondaryProvider > secondary_provider_in) override
 
std::string Type () const override
 
PublicKey getPublicKey () const override
 
Uptane::HardwareIdentifier getHwId () const override
 
Uptane::EcuSerial getSerial () const override
 
Uptane::Manifest getManifest () const override
 
bool ping () const override
 
 MOCK_METHOD (bool, putMetadataMock,(const Uptane::MetaBundle &))
 
 MOCK_METHOD (int32_t, getRootVersionMock,(bool),(const))
 
data::InstallationResult putMetadata (const Uptane::Target &target) override
 
int32_t getRootVersion (bool director) const override
 
data::InstallationResult putRoot (const std::string &, bool) override
 
virtual data::InstallationResult sendFirmware (const Uptane::Target &) override
 
virtual data::InstallationResult install (const Uptane::Target &) override
 

Public Attributes

std::shared_ptr< SecondaryProvidersecondary_provider_
 
PublicKey public_key_
 
Json::Value manifest_
 
Primary::VirtualSecondaryConfig sconfig
 

Additional Inherited Members

- Public Types inherited from SecondaryInterface
using Ptr = std::shared_ptr< SecondaryInterface >
 

Detailed Description

Definition at line 542 of file uptane_test.cc.


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