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< StatusMonitor > | status_monitor_ |
Additional Inherited Members | |
Protected Member Functions inherited from Service | |
void | setState (ServiceState new_state) |
Definition at line 29 of file file_upload_streamer_test.cpp.
|
inlineoverridevirtual |
Implements Aws::FileManagement::DataReader< std::string >.
Definition at line 42 of file file_upload_streamer_test.cpp.
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) | |||
) |
|
inlineoverridevirtual |
Set the observer for the queue.
status_monitor |
Implements Aws::FileManagement::DataReader< std::string >.
Definition at line 51 of file file_upload_streamer_test.cpp.
std::shared_ptr<StatusMonitor> MockDataReader::status_monitor_ |
The status monitor observer.
Definition at line 58 of file file_upload_streamer_test.cpp.