#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>
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} |
using SharedFileUploadTask = std::shared_ptr<Task<std::string>> |
Definition at line 61 of file file_upload_streamer_test.cpp.
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.
|
static |
Definition at line 84 of file file_upload_streamer_test.cpp.