Classes | Macros | Functions
exercise_simple_client.cpp File Reference
#include <gtest/gtest.h>
#include <ros/ros.h>
#include <actionlib/TestRequestAction.h>
#include <actionlib/TestRequestGoal.h>
#include <actionlib/client/simple_action_client.h>
#include <actionlib_msgs/GoalStatus.h>
Include dependency graph for exercise_simple_client.cpp:

Go to the source code of this file.

Classes

class  SimpleClientFixture
 

Macros

#define EXPECT_STATE(expected_state)
 

Functions

int main (int argc, char **argv)
 
void spinThread ()
 
 TEST_F (SimpleClientFixture, drop)
 
 TEST_F (SimpleClientFixture, exception)
 
 TEST_F (SimpleClientFixture, ignore_cancel_and_succeed)
 
 TEST_F (SimpleClientFixture, just_abort)
 
 TEST_F (SimpleClientFixture, just_preempt)
 
 TEST_F (SimpleClientFixture, just_succeed)
 
 TEST_F (SimpleClientFixture, lose)
 

Macro Definition Documentation

◆ EXPECT_STATE

#define EXPECT_STATE (   expected_state)
Value:
EXPECT_TRUE( \
ac_.getState() == SimpleClientGoalState::expected_state) \
<< "Expected [" << #expected_state << "], but goal state is [" << ac_.getState().toString() << \
"]";

Definition at line 40 of file exercise_simple_client.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 166 of file exercise_simple_client.cpp.

◆ spinThread()

void spinThread ( )

Definition at line 160 of file exercise_simple_client.cpp.

◆ TEST_F() [1/7]

TEST_F ( SimpleClientFixture  ,
drop   
)

Definition at line 108 of file exercise_simple_client.cpp.

◆ TEST_F() [2/7]

TEST_F ( SimpleClientFixture  ,
exception   
)

Definition at line 118 of file exercise_simple_client.cpp.

◆ TEST_F() [3/7]

TEST_F ( SimpleClientFixture  ,
ignore_cancel_and_succeed   
)

Definition at line 128 of file exercise_simple_client.cpp.

◆ TEST_F() [4/7]

TEST_F ( SimpleClientFixture  ,
just_abort   
)

Definition at line 76 of file exercise_simple_client.cpp.

◆ TEST_F() [5/7]

TEST_F ( SimpleClientFixture  ,
just_preempt   
)

Definition at line 86 of file exercise_simple_client.cpp.

◆ TEST_F() [6/7]

TEST_F ( SimpleClientFixture  ,
just_succeed   
)

Definition at line 66 of file exercise_simple_client.cpp.

◆ TEST_F() [7/7]

TEST_F ( SimpleClientFixture  ,
lose   
)

Definition at line 151 of file exercise_simple_client.cpp.



actionlib
Author(s): Eitan Marder-Eppstein, Vijay Pradeep, Mikael Arguedas
autogenerated on Fri May 19 2023 02:36:55