Public Member Functions | Protected Attributes | List of all members
DurationRecorderActionServerHandlerTests Class Reference
Inheritance diagram for DurationRecorderActionServerHandlerTests:
Inheritance graph
[legend]

Public Member Functions

void assertBagFileCreated (boost::filesystem::path bag_file_path)
 
void assertBagFileDeleted (boost::filesystem::path bag_file_path)
 
void assertGoalIsAborted ()
 
void assertGoalIsAccepted ()
 
void assertGoalIsCanceled ()
 
void assertGoalIsRejected ()
 
void assertGoalIsSuccess ()
 
void assertPublishFeedback (const std::initializer_list< int > &statuses)
 
void assertRecorderRunWithExpectedOptions ()
 
void assertUploadGoalIsSent ()
 
std::string createRosbagAtTime (ros::Time time)
 
 DurationRecorderActionServerHandlerTests ()
 
void givenDeleteBagAfterUpload (boost::shared_ptr< file_uploader_msgs::UploadFilesResult > result)
 
void givenDurationRecorderGoal ()
 
void givenDurationRecorderGoalWithEmptyTopics ()
 
void givenDurationRecorderGoalWithInvalidDuration ()
 
void givenRecorderActive ()
 
void givenRecorderBecomesActive ()
 
void givenRecorderNotActive ()
 
std::string givenRecorderRanSuccessfully ()
 
void givenRecorderRanUnSuccessfully ()
 
void givenUploadFails ()
 
void givenUploadReturns (actionlib::SimpleClientGoalState state)
 
void givenUploadSucceeds ()
 
void givenUploadTimesOut ()
 
void TearDown () override
 

Protected Attributes

ros::Duration duration
 
Aws::Rosbag::DurationRecorderOptions duration_recorder_options
 
boost::shared_ptr< recorder_msgs::DurationRecorderGoal > goal
 
boost::filesystem::path path
 
std::unique_ptr< MockRosbagRecorderrosbag_recorder
 
MockS3UploadClient s3_upload_client
 
MockServerGoalHandle server_goal_handle
 
std::vector< std::string > topics_to_record
 
std::string write_directory
 

Detailed Description

Definition at line 184 of file duration_recorder_action_server_handler_test.cpp.

Constructor & Destructor Documentation

DurationRecorderActionServerHandlerTests::DurationRecorderActionServerHandlerTests ( )
inline

Member Function Documentation

void DurationRecorderActionServerHandlerTests::assertBagFileCreated ( boost::filesystem::path  bag_file_path)
inline
void DurationRecorderActionServerHandlerTests::assertBagFileDeleted ( boost::filesystem::path  bag_file_path)
inline
void DurationRecorderActionServerHandlerTests::assertGoalIsAborted ( )
inline
void DurationRecorderActionServerHandlerTests::assertGoalIsAccepted ( )
inline
void DurationRecorderActionServerHandlerTests::assertGoalIsCanceled ( )
inline
void DurationRecorderActionServerHandlerTests::assertGoalIsRejected ( )
inline
void DurationRecorderActionServerHandlerTests::assertGoalIsSuccess ( )
inline
void DurationRecorderActionServerHandlerTests::assertPublishFeedback ( const std::initializer_list< int > &  statuses)
inline
void DurationRecorderActionServerHandlerTests::assertRecorderRunWithExpectedOptions ( )
inline
void DurationRecorderActionServerHandlerTests::assertUploadGoalIsSent ( )
inline
std::string DurationRecorderActionServerHandlerTests::createRosbagAtTime ( ros::Time  time)
inline
void DurationRecorderActionServerHandlerTests::givenDeleteBagAfterUpload ( boost::shared_ptr< file_uploader_msgs::UploadFilesResult >  result)
inline
void DurationRecorderActionServerHandlerTests::givenDurationRecorderGoal ( )
inline
void DurationRecorderActionServerHandlerTests::givenDurationRecorderGoalWithEmptyTopics ( )
inline
void DurationRecorderActionServerHandlerTests::givenDurationRecorderGoalWithInvalidDuration ( )
inline
void DurationRecorderActionServerHandlerTests::givenRecorderActive ( )
inline
void DurationRecorderActionServerHandlerTests::givenRecorderBecomesActive ( )
inline
void DurationRecorderActionServerHandlerTests::givenRecorderNotActive ( )
inline
std::string DurationRecorderActionServerHandlerTests::givenRecorderRanSuccessfully ( )
inline
void DurationRecorderActionServerHandlerTests::givenRecorderRanUnSuccessfully ( )
inline
void DurationRecorderActionServerHandlerTests::givenUploadFails ( )
inline
void DurationRecorderActionServerHandlerTests::givenUploadReturns ( actionlib::SimpleClientGoalState  state)
inline
void DurationRecorderActionServerHandlerTests::givenUploadSucceeds ( )
inline
void DurationRecorderActionServerHandlerTests::givenUploadTimesOut ( )
inline
void DurationRecorderActionServerHandlerTests::TearDown ( )
inlineoverride

Member Data Documentation

ros::Duration DurationRecorderActionServerHandlerTests::duration
protected
Aws::Rosbag::DurationRecorderOptions DurationRecorderActionServerHandlerTests::duration_recorder_options
protected
boost::shared_ptr<recorder_msgs::DurationRecorderGoal> DurationRecorderActionServerHandlerTests::goal
protected
boost::filesystem::path DurationRecorderActionServerHandlerTests::path
protected
std::unique_ptr<MockRosbagRecorder> DurationRecorderActionServerHandlerTests::rosbag_recorder
protected
MockS3UploadClient DurationRecorderActionServerHandlerTests::s3_upload_client
protected
MockServerGoalHandle DurationRecorderActionServerHandlerTests::server_goal_handle
protected
std::vector<std::string> DurationRecorderActionServerHandlerTests::topics_to_record
protected
std::string DurationRecorderActionServerHandlerTests::write_directory
protected

The documentation for this class was generated from the following file:


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