Classes | Functions | Variables
token_test.cpp File Reference
#include <gtest/gtest.h>
#include <gmock/gmock.h>
#include <aws/core/utils/logging/LogMacros.h>
#include <aws/core/utils/logging/ConsoleLogSystem.h>
#include <file_management/file_upload/file_manager_strategy.h>
Include dependency graph for token_test.cpp:

Go to the source code of this file.

Classes

class  TokenTest
 

Functions

int main (int argc, char **argv)
 
 TEST (token_test, fail_unknown_token)
 
 TEST (token_test, fail_token_twice)
 
 TEST (token_test, resolve_then_fail_token)
 
 TEST (token_test, fail_then_recover_token)
 
 TEST (token_test, resolve_unknown_token)
 
 TEST (token_test, resolve_token)
 
 TEST (token_test, resolve_token_twice)
 
 TEST (token_test, test_backup)
 
 TEST (token_test, test_backup_failed_file)
 
 TEST (token_test, test_token_restore)
 
 TEST (token_test, test_backup_two_files)
 
 TEST_F (TokenTest, test_backup_to_disk)
 
 TEST_F (TokenTest, test_restore_from_disk)
 
 TEST_F (TokenTest, test_restoring_from_disk_with_invalid_json)
 

Variables

static const FileTokenInfo kTestToken1 ("fake_file", 0, false)
 
static const FileTokenInfo kTestToken2 ("fake_file", 10, true)
 

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 193 of file token_test.cpp.

TEST ( token_test  ,
fail_unknown_token   
)

Definition at line 49 of file token_test.cpp.

TEST ( token_test  ,
fail_token_twice   
)

Definition at line 54 of file token_test.cpp.

TEST ( token_test  ,
resolve_then_fail_token   
)

Definition at line 62 of file token_test.cpp.

TEST ( token_test  ,
fail_then_recover_token   
)

Definition at line 69 of file token_test.cpp.

TEST ( token_test  ,
resolve_unknown_token   
)

Definition at line 78 of file token_test.cpp.

TEST ( token_test  ,
resolve_token   
)

Definition at line 83 of file token_test.cpp.

TEST ( token_test  ,
resolve_token_twice   
)

Definition at line 90 of file token_test.cpp.

TEST ( token_test  ,
test_backup   
)

Definition at line 97 of file token_test.cpp.

TEST ( token_test  ,
test_backup_failed_file   
)

Definition at line 106 of file token_test.cpp.

TEST ( token_test  ,
test_token_restore   
)

Definition at line 117 of file token_test.cpp.

TEST ( token_test  ,
test_backup_two_files   
)

Definition at line 133 of file token_test.cpp.

TEST_F ( TokenTest  ,
test_backup_to_disk   
)

Definition at line 142 of file token_test.cpp.

TEST_F ( TokenTest  ,
test_restore_from_disk   
)

Definition at line 152 of file token_test.cpp.

TEST_F ( TokenTest  ,
test_restoring_from_disk_with_invalid_json   
)

Definition at line 169 of file token_test.cpp.

Variable Documentation

const FileTokenInfo kTestToken1("fake_file", 0, false)
static
const FileTokenInfo kTestToken2("fake_file", 10, true)
static


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