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

Public Member Functions

void deleteStaleData () override
 
 MOCK_METHOD0 (start, bool())
 
 MOCK_METHOD0 (shutdown, bool())
 
 MOCK_METHOD0 (isDataAvailableToRead, bool())
 
 MOCK_METHOD1 (readBatch, FileObject< std::string >(size_t batch_size))
 
 MOCK_METHOD1 (addStatusMonitor, void(std::shared_ptr< StatusMonitor > monitor))
 
 MOCK_METHOD2 (fileUploadCompleteStatus, void(const UploadStatus &upload_status, const FileObject< std::string > &log_messages))
 
void setStatusMonitor (std::shared_ptr< StatusMonitor > status_monitor) override
 
- Public Member Functions inherited from Aws::FileManagement::DataReader< std::string >
virtual void fileUploadCompleteStatus (const Aws::DataFlow::UploadStatus &upload_status, const FileObject< std::string > &log_messages)=0
 
virtual bool isDataAvailableToRead ()=0
 
virtual FileObject< std::string > readBatch (size_t batch_size)=0
 
- Public Member Functions inherited from Service
ServiceState getState ()
 
virtual std::string getStatusString ()
 
 Service ()
 
virtual bool shutdown ()
 
virtual bool start ()
 
virtual ~Service ()=default
 

Public Attributes

std::shared_ptr< StatusMonitorstatus_monitor_
 

Additional Inherited Members

- Protected Member Functions inherited from Service
void setState (ServiceState new_state)
 

Detailed Description

Definition at line 29 of file file_upload_streamer_test.cpp.

Member Function Documentation

void MockDataReader::deleteStaleData ( )
inlineoverridevirtual
MockDataReader::MOCK_METHOD0 ( start  ,
bool()   
)
MockDataReader::MOCK_METHOD0 ( shutdown  ,
bool()   
)
MockDataReader::MOCK_METHOD0 ( isDataAvailableToRead  ,
bool()   
)
MockDataReader::MOCK_METHOD1 ( readBatch  ,
FileObject< std::string >  size_t batch_size 
)
MockDataReader::MOCK_METHOD1 ( addStatusMonitor  ,
void(std::shared_ptr< StatusMonitor > monitor)   
)
MockDataReader::MOCK_METHOD2 ( fileUploadCompleteStatus  ,
void(const UploadStatus &upload_status, const FileObject< std::string > &log_messages)   
)
void MockDataReader::setStatusMonitor ( std::shared_ptr< StatusMonitor status_monitor)
inlineoverridevirtual

Set the observer for the queue.

Parameters
status_monitor

Implements Aws::FileManagement::DataReader< std::string >.

Definition at line 51 of file file_upload_streamer_test.cpp.

Member Data Documentation

std::shared_ptr<StatusMonitor> MockDataReader::status_monitor_

The status monitor observer.

Definition at line 58 of file file_upload_streamer_test.cpp.


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


file_management
Author(s): AWS RoboMaker
autogenerated on Fri May 7 2021 02:18:23