Aktualizr
C++ SOTA Client
All Classes Namespaces Files Functions Variables Enumerations Enumerator Pages
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)
 
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::RawMetaPack &))
 
 MOCK_METHOD (int32_t, getRootVersionMock,(bool),(const))
 
bool putMetadata (const Uptane::RawMetaPack &meta_pack) override
 
int32_t getRootVersion (bool director) const override
 
bool putRoot (const std::string &, bool) override
 
bool sendFirmware (const std::string &) override
 
virtual data::ResultCode::Numeric install (const std::string &) override
 
- Public Member Functions inherited from Uptane::SecondaryInterface
 SecondaryInterface (const SecondaryInterface &)=delete
 
SecondaryInterfaceoperator= (const SecondaryInterface &)=delete
 

Public Attributes

PublicKey public_key_
 
Json::Value manifest_
 
Primary::VirtualSecondaryConfig sconfig
 

Additional Inherited Members

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

Detailed Description

Definition at line 509 of file uptane_test.cc.


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