Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
S3UploadManagerTest Class Reference
Inheritance diagram for S3UploadManagerTest:
Inheritance graph
[legend]

Public Member Functions

void FeedbackCallback (const std::vector< UploadDescription > &callback_uploads)
 
std::future< Model::PutObjectOutcome > UploadFilesUntilUnlocked (std::unique_ptr< S3UploadManager > &manager, std::mutex &lock_during_uploading, std::condition_variable &notify_is_uploading, bool &is_uploading, const boost::function< void(const std::vector< UploadDescription > &)> &callback, int additional_returns=0)
 

Protected Member Functions

 S3UploadManagerTest ()
 
void SetUp () override
 

Protected Attributes

std::vector< UploadDescriptioncompleted_uploads
 
bool enable_encryption
 
std::unique_ptr< MockS3Facadefacade
 
Model::PutObjectOutcome failed_outcome
 
std::size_t num_feedback_calls
 
Model::PutObjectOutcome successful_outcome
 
std::vector< UploadDescriptionuploads
 

Detailed Description

Definition at line 43 of file s3_upload_manager_test.cpp.

Constructor & Destructor Documentation

S3UploadManagerTest::S3UploadManagerTest ( )
inlineprotected

Definition at line 54 of file s3_upload_manager_test.cpp.

Member Function Documentation

void S3UploadManagerTest::FeedbackCallback ( const std::vector< UploadDescription > &  callback_uploads)
inline

Definition at line 68 of file s3_upload_manager_test.cpp.

void S3UploadManagerTest::SetUp ( )
inlineoverrideprotected

Definition at line 56 of file s3_upload_manager_test.cpp.

std::future<Model::PutObjectOutcome> S3UploadManagerTest::UploadFilesUntilUnlocked ( std::unique_ptr< S3UploadManager > &  manager,
std::mutex &  lock_during_uploading,
std::condition_variable &  notify_is_uploading,
bool &  is_uploading,
const boost::function< void(const std::vector< UploadDescription > &)> &  callback,
int  additional_returns = 0 
)
inline

Definition at line 75 of file s3_upload_manager_test.cpp.

Member Data Documentation

std::vector<UploadDescription> S3UploadManagerTest::completed_uploads
protected

Definition at line 49 of file s3_upload_manager_test.cpp.

bool S3UploadManagerTest::enable_encryption
protected

Definition at line 46 of file s3_upload_manager_test.cpp.

std::unique_ptr<MockS3Facade> S3UploadManagerTest::facade
protected

Definition at line 47 of file s3_upload_manager_test.cpp.

Model::PutObjectOutcome S3UploadManagerTest::failed_outcome
protected

Definition at line 52 of file s3_upload_manager_test.cpp.

std::size_t S3UploadManagerTest::num_feedback_calls
protected

Definition at line 50 of file s3_upload_manager_test.cpp.

Model::PutObjectOutcome S3UploadManagerTest::successful_outcome
protected

Definition at line 51 of file s3_upload_manager_test.cpp.

std::vector<UploadDescription> S3UploadManagerTest::uploads
protected

Definition at line 48 of file s3_upload_manager_test.cpp.


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


s3_common
Author(s): AWS RoboMaker
autogenerated on Tue Jun 1 2021 02:51:29