Classes | Functions
duration_recorder_action_server_handler_test.cpp File Reference
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <actionlib/client/client_helpers.h>
#include <actionlib/client/action_client.h>
#include <actionlib/client/simple_client_goal_state.h>
#include <actionlib/client/terminal_state.h>
#include <file_uploader_msgs/UploadFilesAction.h>
#include <recorder_msgs/DurationRecorderAction.h>
#include <rosbag_cloud_recorders/duration_recorder/duration_recorder_action_server_handler.h>
#include <rosbag_cloud_recorders/utils/rosbag_recorder.h>
#include <rosbag_cloud_recorders/duration_recorder/duration_recorder.h>
#include <boost/shared_ptr.hpp>
#include <boost/ref.hpp>
#include <boost/filesystem.hpp>
#include <wordexp.h>
#include <stdio.h>
#include <string>
#include <ros/ros.h>
Include dependency graph for duration_recorder_action_server_handler_test.cpp:

Go to the source code of this file.

Classes

class  DurationRecorderActionServerHandlerTests
 
class  MockRosbagRecorder
 
class  MockS3UploadClient
 
class  MockServerGoalHandle
 
class  MockServerGoalHandle::MockServerGoalHandleImpl
 

Functions

int main (int argc, char **argv)
 
 MATCHER_P (FeedbackHasStatus, expected_status,"")
 
 TEST_F (DurationRecorderActionServerHandlerTests, TestDurationRecorderStartSucceeds)
 
 TEST_F (DurationRecorderActionServerHandlerTests, TestDurationRecorderRecordSucceedsUploadFails)
 
 TEST_F (DurationRecorderActionServerHandlerTests, TestDurationRecorderFailed)
 
 TEST_F (DurationRecorderActionServerHandlerTests, TestDurationRecorderInvalidDurationGoalFails)
 
 TEST_F (DurationRecorderActionServerHandlerTests, TestDurationRecorderEmptyTopicsRecordsAll)
 
 TEST_F (DurationRecorderActionServerHandlerTests, TestDurationRecorderDeletesFileAfterBagIsUploaded)
 
 TEST_F (DurationRecorderActionServerHandlerTests, TestDurationRecorderStartAlreadyActive)
 
 TEST_F (DurationRecorderActionServerHandlerTests, TestDurationRecorderStartRecorderBecomesActive)
 
 TEST_F (DurationRecorderActionServerHandlerTests, TestDurationRecorderUploadTimedOut)
 
 TEST_F (DurationRecorderActionServerHandlerTests, TestCancelDurationRecorder)
 

Function Documentation

int main ( int  argc,
char **  argv 
)
MATCHER_P ( FeedbackHasStatus  ,
expected_status  ,
""   
)
TEST_F ( DurationRecorderActionServerHandlerTests  ,
TestDurationRecorderStartSucceeds   
)
TEST_F ( DurationRecorderActionServerHandlerTests  ,
TestDurationRecorderRecordSucceedsUploadFails   
)
TEST_F ( DurationRecorderActionServerHandlerTests  ,
TestDurationRecorderFailed   
)
TEST_F ( DurationRecorderActionServerHandlerTests  ,
TestDurationRecorderInvalidDurationGoalFails   
)
TEST_F ( DurationRecorderActionServerHandlerTests  ,
TestDurationRecorderEmptyTopicsRecordsAll   
)
TEST_F ( DurationRecorderActionServerHandlerTests  ,
TestDurationRecorderDeletesFileAfterBagIsUploaded   
)
TEST_F ( DurationRecorderActionServerHandlerTests  ,
TestDurationRecorderStartAlreadyActive   
)
TEST_F ( DurationRecorderActionServerHandlerTests  ,
TestDurationRecorderStartRecorderBecomesActive   
)
TEST_F ( DurationRecorderActionServerHandlerTests  ,
TestDurationRecorderUploadTimedOut   
)
TEST_F ( DurationRecorderActionServerHandlerTests  ,
TestCancelDurationRecorder   
)


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