#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>
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) | |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 526 of file duration_recorder_action_server_handler_test.cpp.
MATCHER_P | ( | FeedbackHasStatus | , |
expected_status | , | ||
"" | |||
) |
Definition at line 51 of file duration_recorder_action_server_handler_test.cpp.
TEST_F | ( | DurationRecorderActionServerHandlerTests | , |
TestDurationRecorderStartSucceeds | |||
) |
Definition at line 377 of file duration_recorder_action_server_handler_test.cpp.
TEST_F | ( | DurationRecorderActionServerHandlerTests | , |
TestDurationRecorderRecordSucceedsUploadFails | |||
) |
Definition at line 396 of file duration_recorder_action_server_handler_test.cpp.
TEST_F | ( | DurationRecorderActionServerHandlerTests | , |
TestDurationRecorderFailed | |||
) |
Definition at line 415 of file duration_recorder_action_server_handler_test.cpp.
TEST_F | ( | DurationRecorderActionServerHandlerTests | , |
TestDurationRecorderInvalidDurationGoalFails | |||
) |
Definition at line 429 of file duration_recorder_action_server_handler_test.cpp.
TEST_F | ( | DurationRecorderActionServerHandlerTests | , |
TestDurationRecorderEmptyTopicsRecordsAll | |||
) |
Definition at line 438 of file duration_recorder_action_server_handler_test.cpp.
TEST_F | ( | DurationRecorderActionServerHandlerTests | , |
TestDurationRecorderDeletesFileAfterBagIsUploaded | |||
) |
Definition at line 455 of file duration_recorder_action_server_handler_test.cpp.
TEST_F | ( | DurationRecorderActionServerHandlerTests | , |
TestDurationRecorderStartAlreadyActive | |||
) |
Definition at line 481 of file duration_recorder_action_server_handler_test.cpp.
TEST_F | ( | DurationRecorderActionServerHandlerTests | , |
TestDurationRecorderStartRecorderBecomesActive | |||
) |
Definition at line 490 of file duration_recorder_action_server_handler_test.cpp.
TEST_F | ( | DurationRecorderActionServerHandlerTests | , |
TestDurationRecorderUploadTimedOut | |||
) |
Definition at line 502 of file duration_recorder_action_server_handler_test.cpp.
TEST_F | ( | DurationRecorderActionServerHandlerTests | , |
TestCancelDurationRecorder | |||
) |
Definition at line 519 of file duration_recorder_action_server_handler_test.cpp.