Easy Navigation
Loading...
Searching...
No Matches
goalmanager_tests.cpp File Reference
#include <algorithm>
#include <sstream>
#include <string>
#include <vector>
#include "easynav_system/GoalManager.hpp"
#include "easynav_system/GoalManagerClient.hpp"
#include "easynav_common/types/NavState.hpp"
#include "nav_msgs/msg/odometry.hpp"
#include "rclcpp/node.hpp"
#include "rclcpp_lifecycle/lifecycle_node.hpp"
#include "gtest/gtest.h"
Include dependency graph for goalmanager_tests.cpp:

Classes

class  GoalManagerHeightTest
class  GoalManagerInfoTest
class  GoalManagerTestCase

Functions

 TEST_F (GoalManagerHeightTest, ConfiguredToleranceAcceptsCloseHeights)
 TEST_F (GoalManagerHeightTest, ConfiguredToleranceLimitsHeight)
 TEST_F (GoalManagerHeightTest, DefaultIgnoresHeight)
 TEST_F (GoalManagerHeightTest, DefaultIsReadableInNavState)
 TEST_F (GoalManagerInfoTest, ConsecutiveMissionsEachEndIdle)
 TEST_F (GoalManagerInfoTest, FinalInfoOnClientCancel)
 TEST_F (GoalManagerInfoTest, FinalInfoOnFailure)
 TEST_F (GoalManagerInfoTest, FinalInfoPublishedOnlyOnce)
 TEST_F (GoalManagerInfoTest, MissionCancelledBeforeAnyCycleEndsIdle)
 TEST_F (GoalManagerInfoTest, MissionFinishedOnItsFirstCycleEndsIdle)
 TEST_F (GoalManagerInfoTest, MultiGoalMissionStaysActiveUntilTheLastGoal)
 TEST_F (GoalManagerInfoTest, NothingPublishedWhileIdle)
 TEST_F (GoalManagerTestCase, default_update_frequency)
 TEST_F (GoalManagerTestCase, FinalInfoPublishedWhenMissionEnds)
 TEST_F (GoalManagerTestCase, HeldProgressCanBeCancelled)
 TEST_F (GoalManagerTestCase, HeldProgressDoesNotFinishGoal)
 TEST_F (GoalManagerTestCase, initpose_topic)
 TEST_F (GoalManagerTestCase, initpose_topic_with_preempt)
 TEST_F (GoalManagerTestCase, PauseAcceptedFromThirdPartyClient)
 TEST_F (GoalManagerTestCase, PauseAndResumeCycle)
 TEST_F (GoalManagerTestCase, PauseFlagResetOnCancelAndFinish)
 TEST_F (GoalManagerTestCase, PauseRejectedWhenIdle)
 TEST_F (GoalManagerTestCase, ProgressHoldIsOffByDefaultAndToggles)
 TEST_F (GoalManagerTestCase, simple_nav_node)
 TEST_F (GoalManagerTestCase, two_clients)
 TEST_F (GoalManagerTestCase, update_respects_frequency_limit)

Function Documentation

◆ TEST_F() [1/26]

TEST_F ( GoalManagerHeightTest ,
ConfiguredToleranceAcceptsCloseHeights  )

◆ TEST_F() [2/26]

TEST_F ( GoalManagerHeightTest ,
ConfiguredToleranceLimitsHeight  )

◆ TEST_F() [3/26]

TEST_F ( GoalManagerHeightTest ,
DefaultIgnoresHeight  )

◆ TEST_F() [4/26]

TEST_F ( GoalManagerHeightTest ,
DefaultIsReadableInNavState  )

◆ TEST_F() [5/26]

TEST_F ( GoalManagerInfoTest ,
ConsecutiveMissionsEachEndIdle  )

◆ TEST_F() [6/26]

TEST_F ( GoalManagerInfoTest ,
FinalInfoOnClientCancel  )

◆ TEST_F() [7/26]

TEST_F ( GoalManagerInfoTest ,
FinalInfoOnFailure  )

◆ TEST_F() [8/26]

TEST_F ( GoalManagerInfoTest ,
FinalInfoPublishedOnlyOnce  )

◆ TEST_F() [9/26]

TEST_F ( GoalManagerInfoTest ,
MissionCancelledBeforeAnyCycleEndsIdle  )

◆ TEST_F() [10/26]

TEST_F ( GoalManagerInfoTest ,
MissionFinishedOnItsFirstCycleEndsIdle  )

◆ TEST_F() [11/26]

TEST_F ( GoalManagerInfoTest ,
MultiGoalMissionStaysActiveUntilTheLastGoal  )

◆ TEST_F() [12/26]

TEST_F ( GoalManagerInfoTest ,
NothingPublishedWhileIdle  )

◆ TEST_F() [13/26]

TEST_F ( GoalManagerTestCase ,
default_update_frequency  )

◆ TEST_F() [14/26]

TEST_F ( GoalManagerTestCase ,
FinalInfoPublishedWhenMissionEnds  )

◆ TEST_F() [15/26]

TEST_F ( GoalManagerTestCase ,
HeldProgressCanBeCancelled  )

◆ TEST_F() [16/26]

TEST_F ( GoalManagerTestCase ,
HeldProgressDoesNotFinishGoal  )

◆ TEST_F() [17/26]

TEST_F ( GoalManagerTestCase ,
initpose_topic  )

◆ TEST_F() [18/26]

TEST_F ( GoalManagerTestCase ,
initpose_topic_with_preempt  )

◆ TEST_F() [19/26]

TEST_F ( GoalManagerTestCase ,
PauseAcceptedFromThirdPartyClient  )

◆ TEST_F() [20/26]

TEST_F ( GoalManagerTestCase ,
PauseAndResumeCycle  )

◆ TEST_F() [21/26]

TEST_F ( GoalManagerTestCase ,
PauseFlagResetOnCancelAndFinish  )

◆ TEST_F() [22/26]

TEST_F ( GoalManagerTestCase ,
PauseRejectedWhenIdle  )

◆ TEST_F() [23/26]

TEST_F ( GoalManagerTestCase ,
ProgressHoldIsOffByDefaultAndToggles  )

◆ TEST_F() [24/26]

TEST_F ( GoalManagerTestCase ,
simple_nav_node  )

◆ TEST_F() [25/26]

TEST_F ( GoalManagerTestCase ,
two_clients  )

◆ TEST_F() [26/26]

TEST_F ( GoalManagerTestCase ,
update_respects_frequency_limit  )