Classes | Typedefs | Functions | Variables
file_upload_streamer_test.cpp File Reference
#include <tuple>
#include <gtest/gtest.h>
#include <gmock/gmock.h>
#include <file_management/file_upload/file_manager.h>
#include <file_management/file_upload/file_management_factory.h>
#include <dataflow_lite/dataflow/dataflow.h>
Include dependency graph for file_upload_streamer_test.cpp:

Go to the source code of this file.

Classes

class  FileStreamerTest
 
class  MockDataReader
 
class  MockSink
 

Typedefs

using SharedFileUploadTask = std::shared_ptr< Task< std::string >>
 

Functions

 TEST_F (FileStreamerTest, success_on_network_and_file)
 
 TEST_F (FileStreamerTest, fail_enqueue_retry)
 
 TEST_F (FileStreamerTest, fail_task_clears_queue)
 
 TEST_F (FileStreamerTest, success_task_does_not_clear_queue)
 

Variables

static const FileUploadStreamerOptions kFileManagerOptions {50, 5}
 

Typedef Documentation

using SharedFileUploadTask = std::shared_ptr<Task<std::string>>

Definition at line 61 of file file_upload_streamer_test.cpp.

Function Documentation

TEST_F ( FileStreamerTest  ,
success_on_network_and_file   
)

Definition at line 109 of file file_upload_streamer_test.cpp.

TEST_F ( FileStreamerTest  ,
fail_enqueue_retry   
)

Definition at line 128 of file file_upload_streamer_test.cpp.

TEST_F ( FileStreamerTest  ,
fail_task_clears_queue   
)

Definition at line 155 of file file_upload_streamer_test.cpp.

TEST_F ( FileStreamerTest  ,
success_task_does_not_clear_queue   
)

Definition at line 183 of file file_upload_streamer_test.cpp.

Variable Documentation

const FileUploadStreamerOptions kFileManagerOptions {50, 5}
static

Definition at line 84 of file file_upload_streamer_test.cpp.



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