Functions
utils_test.cpp File Reference
#include <string>
#include <gtest/gtest.h>
#include <s3_common/utils.h>
Include dependency graph for utils_test.cpp:

Go to the source code of this file.

Functions

 TEST (S3CommonUtilsTest, TestGetFileNameEmptyStringReturnsEmptyString)
 
 TEST (S3CommonUtilsTest, TestGetFileNameDirectoryReturnsEmptyString)
 
 TEST (S3CommonUtilsTest, TestGetFileNameNoDirectoryReturnsFileName)
 
 TEST (S3CommonUtilsTest, TestGetFileNameWithDirectoryReturnsFileName)
 
 TEST (S3CommonUtilsTest, TestGenerateObjectKeyEmptyPrefixReturnsFileName)
 
 TEST (S3CommonUtilsTest, TestGenerateObjectKeyOnlyUsesFileName)
 
 TEST (S3CommonUtilsTest, TestGenerateObjectKeyInsertSlash)
 
 TEST (S3CommonUtilsTest, TestGenerateObjectKeyDoesntInsertExtraSlash)
 

Function Documentation

TEST ( S3CommonUtilsTest  ,
TestGetFileNameEmptyStringReturnsEmptyString   
)

Definition at line 21 of file utils_test.cpp.

TEST ( S3CommonUtilsTest  ,
TestGetFileNameDirectoryReturnsEmptyString   
)

Definition at line 26 of file utils_test.cpp.

TEST ( S3CommonUtilsTest  ,
TestGetFileNameNoDirectoryReturnsFileName   
)

Definition at line 31 of file utils_test.cpp.

TEST ( S3CommonUtilsTest  ,
TestGetFileNameWithDirectoryReturnsFileName   
)

Definition at line 36 of file utils_test.cpp.

TEST ( S3CommonUtilsTest  ,
TestGenerateObjectKeyEmptyPrefixReturnsFileName   
)

Definition at line 41 of file utils_test.cpp.

TEST ( S3CommonUtilsTest  ,
TestGenerateObjectKeyOnlyUsesFileName   
)

Definition at line 46 of file utils_test.cpp.

TEST ( S3CommonUtilsTest  ,
TestGenerateObjectKeyInsertSlash   
)

Definition at line 51 of file utils_test.cpp.

TEST ( S3CommonUtilsTest  ,
TestGenerateObjectKeyDoesntInsertExtraSlash   
)

Definition at line 56 of file utils_test.cpp.



s3_common
Author(s): AWS RoboMaker
autogenerated on Tue Jun 1 2021 02:51:29