Classes | Defines | 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

Defines

#define EXPECT_STATE(expected_state)

Functions

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

Define Documentation

#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

int main ( int  argc,
char **  argv 
)

Definition at line 166 of file exercise_simple_client.cpp.

void spinThread ( )

Definition at line 160 of file exercise_simple_client.cpp.

TEST_F ( SimpleClientFixture  ,
just_succeed   
)

Definition at line 66 of file exercise_simple_client.cpp.

TEST_F ( SimpleClientFixture  ,
just_abort   
)

Definition at line 76 of file exercise_simple_client.cpp.

TEST_F ( SimpleClientFixture  ,
just_preempt   
)

Definition at line 86 of file exercise_simple_client.cpp.

TEST_F ( SimpleClientFixture  ,
drop   
)

Definition at line 108 of file exercise_simple_client.cpp.

TEST_F ( SimpleClientFixture  ,
exception   
)

Definition at line 118 of file exercise_simple_client.cpp.

TEST_F ( SimpleClientFixture  ,
ignore_cancel_and_succeed   
)

Definition at line 128 of file exercise_simple_client.cpp.

TEST_F ( SimpleClientFixture  ,
lose   
)

Definition at line 151 of file exercise_simple_client.cpp.



actionlib
Author(s): Eitan Marder-Eppstein, Vijay Pradeep
autogenerated on Thu Sep 28 2017 02:51:16