Classes | Functions
file_utils_test.cpp File Reference
#include <chrono>
#include <fstream>
#include <string>
#include <vector>
#include <stdlib.h>
#include <sys/stat.h>
#include <thread>
#include <cstring>
#include <cerrno>
#include <unistd.h>
#include <wordexp.h>
#include <boost/filesystem.hpp>
#include <ros/ros.h>
#include <std_msgs/String.h>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <rosbag_cloud_recorders/utils/file_utils.h>
#include <aws_common/fs_utils/wordexp_ros.h>
Include dependency graph for file_utils_test.cpp:

Go to the source code of this file.

Classes

class  ExpandAndCreateDirTests
 
class  GetRosbagToUploadTests
 

Functions

 TEST (DeleteFileTest, TestFileRemovalSucceeds)
 
 TEST (DeleteFileTest, TestFileRemovalFailsFileDoesntExist)
 
 TEST (DeleteFileTest, TestRemoveDirectoryFails)
 
 TEST (GetRosBagStartTimeTest, SucceedsOnProperlyFormattedInputs)
 
 TEST (GetRosBagStartTimeTest, ReturnsZeroOnInvalidInput)
 
 TEST_F (ExpandAndCreateDirTests, TestForNonexistingDirectory)
 
 TEST_F (ExpandAndCreateDirTests, TestForExistingDirectory)
 
 TEST_F (ExpandAndCreateDirTests, DISABLED_TestForNonwriteableDirectory)
 
 TEST_F (ExpandAndCreateDirTests, TestForImpossibleDirectory)
 
 TEST_F (GetRosbagToUploadTests, TestGetRosbagToUploadMixedFiles)
 
 TEST_F (GetRosbagToUploadTests, TestGetRosbagToUploadNoEligibleFiles)
 

Function Documentation

TEST ( DeleteFileTest  ,
TestFileRemovalSucceeds   
)

Definition at line 183 of file file_utils_test.cpp.

TEST ( DeleteFileTest  ,
TestFileRemovalFailsFileDoesntExist   
)

Definition at line 191 of file file_utils_test.cpp.

TEST ( DeleteFileTest  ,
TestRemoveDirectoryFails   
)

Definition at line 196 of file file_utils_test.cpp.

TEST ( GetRosBagStartTimeTest  ,
SucceedsOnProperlyFormattedInputs   
)

Definition at line 204 of file file_utils_test.cpp.

TEST ( GetRosBagStartTimeTest  ,
ReturnsZeroOnInvalidInput   
)

Definition at line 219 of file file_utils_test.cpp.

TEST_F ( ExpandAndCreateDirTests  ,
TestForNonexistingDirectory   
)

Definition at line 129 of file file_utils_test.cpp.

TEST_F ( ExpandAndCreateDirTests  ,
TestForExistingDirectory   
)

Definition at line 139 of file file_utils_test.cpp.

TEST_F ( ExpandAndCreateDirTests  ,
DISABLED_TestForNonwriteableDirectory   
)

Definition at line 153 of file file_utils_test.cpp.

TEST_F ( ExpandAndCreateDirTests  ,
TestForImpossibleDirectory   
)

Definition at line 169 of file file_utils_test.cpp.

TEST_F ( GetRosbagToUploadTests  ,
TestGetRosbagToUploadMixedFiles   
)

Definition at line 227 of file file_utils_test.cpp.

TEST_F ( GetRosbagToUploadTests  ,
TestGetRosbagToUploadNoEligibleFiles   
)

Definition at line 241 of file file_utils_test.cpp.



rosbag_cloud_recorders
Author(s): AWS RoboMaker
autogenerated on Tue Jun 1 2021 02:51:27