#include <list>
#include <iostream>
#include <fstream>
#include <cstdio>
#include <cstdlib>
#include <chrono>
#include <thread>
#include <experimental/filesystem>
#include <gtest/gtest.h>
#include <gmock/gmock.h>
#include <aws/logs/model/InputLogEvent.h>
#include <file_management/file_upload/file_manager_strategy.h>
Go to the source code of this file.
Classes | |
class | FileManagerStrategyTest |
class | MockFileManagerStrategy |
class | SanitizePathTest |
Functions | |
TEST_F (FileManagerStrategyTest, restart_without_token) | |
TEST_F (FileManagerStrategyTest, fail_token_restart_from_last_location) | |
TEST_F (FileManagerStrategyTest, start_success) | |
TEST_F (FileManagerStrategyTest, discover_stored_files) | |
TEST_F (FileManagerStrategyTest, get_file_to_read_gets_newest) | |
TEST_F (FileManagerStrategyTest, rotate_large_files) | |
TEST_F (FileManagerStrategyTest, resolve_token_deletes_file) | |
TEST_F (FileManagerStrategyTest, on_storage_limit_delete_oldest_file) | |
TEST_F (SanitizePathTest, sanitizePath_home_set) | |
TEST_F (SanitizePathTest, sanitizePath_home_not_set_roshome_set) | |
TEST_F (SanitizePathTest, sanitizePath_home_not_set_roshome_not_set) | |
TEST_F (SanitizePathTest, sanitizePath_adds_trailing_slash) | |
TEST_F | ( | FileManagerStrategyTest | , |
restart_without_token | |||
) |
Definition at line 68 of file file_manager_strategy_test.cpp.
TEST_F | ( | FileManagerStrategyTest | , |
fail_token_restart_from_last_location | |||
) |
Definition at line 110 of file file_manager_strategy_test.cpp.
TEST_F | ( | FileManagerStrategyTest | , |
start_success | |||
) |
Test that the upload complete with CW Failure goes to a file.
Definition at line 142 of file file_manager_strategy_test.cpp.
TEST_F | ( | FileManagerStrategyTest | , |
discover_stored_files | |||
) |
Definition at line 147 of file file_manager_strategy_test.cpp.
TEST_F | ( | FileManagerStrategyTest | , |
get_file_to_read_gets_newest | |||
) |
Definition at line 165 of file file_manager_strategy_test.cpp.
TEST_F | ( | FileManagerStrategyTest | , |
rotate_large_files | |||
) |
Definition at line 201 of file file_manager_strategy_test.cpp.
TEST_F | ( | FileManagerStrategyTest | , |
resolve_token_deletes_file | |||
) |
Definition at line 227 of file file_manager_strategy_test.cpp.
TEST_F | ( | FileManagerStrategyTest | , |
on_storage_limit_delete_oldest_file | |||
) |
Definition at line 246 of file file_manager_strategy_test.cpp.
TEST_F | ( | SanitizePathTest | , |
sanitizePath_home_set | |||
) |
Definition at line 303 of file file_manager_strategy_test.cpp.
TEST_F | ( | SanitizePathTest | , |
sanitizePath_home_not_set_roshome_set | |||
) |
Definition at line 320 of file file_manager_strategy_test.cpp.
TEST_F | ( | SanitizePathTest | , |
sanitizePath_home_not_set_roshome_not_set | |||
) |
Definition at line 343 of file file_manager_strategy_test.cpp.
TEST_F | ( | SanitizePathTest | , |
sanitizePath_adds_trailing_slash | |||
) |
Definition at line 363 of file file_manager_strategy_test.cpp.