Drake
drake::maliput::api::rules::test Namespace Reference

Classes

class  AssertionResultCollector
 AssertionResultCollector helps with the creation of concise and well-traced testing subroutines when using googletest. More...
 

Functions

template<typename T >
::testing::AssertionResult IsEqual (const char *a_expression, const char *b_expression, const T *a, const T *b)
 
::testing::AssertionResult IsEqual (const char *a_expression, const char *b_expression, rules::RightOfWayRule::ZoneType a, rules::RightOfWayRule::ZoneType b)
 Predicate-formatter which tests equality of RightOfWayRule::ZoneType. More...
 
::testing::AssertionResult IsEqual (const char *a_expression, const char *b_expression, rules::RightOfWayRule::State::Type a, rules::RightOfWayRule::State::Type b)
 Predicate-formatter which tests equality of RightOfWayRule::State::Type. More...
 
::testing::AssertionResult IsEqual (const char *a_expression, const char *b_expression, const std::vector< rules::RightOfWayRule::Id > &a, const std::vector< rules::RightOfWayRule::Id > &b)
 
::testing::AssertionResult IsEqual (const char *a_expression, const char *b_expression, const rules::RightOfWayRule::State &a, const rules::RightOfWayRule::State &b)
 Predicate-formatter which tests equality of RightOfWayRule::State. More...
 
::testing::AssertionResult IsEqual (const char *a_expression, const char *b_expression, const std::unordered_map< rules::RightOfWayRule::State::Id, rules::RightOfWayRule::State > &a, const std::unordered_map< rules::RightOfWayRule::State::Id, rules::RightOfWayRule::State > &b)
 
::testing::AssertionResult IsEqual (const char *a_expression, const char *b_expression, const rules::RightOfWayRule &a, const rules::RightOfWayRule &b)
 Predicate-formatter which tests equality of RightOfWayRule. More...
 
::testing::AssertionResult IsEqual (const char *a_expression, const char *b_expression, const rules::RightOfWayStateProvider::Result &a, const rules::RightOfWayStateProvider::Result &b)
 Predicate-formatter which tests equality of RightOfWayStateProvider::Result. More...
 
::testing::AssertionResult IsEqual (const char *a_expression, const char *b_expression, rules::SpeedLimitRule::Severity a, rules::SpeedLimitRule::Severity b)
 Predicate-formatter which tests equality of SpeedLimitRule::Severity. More...
 
::testing::AssertionResult IsEqual (const char *a_expression, const char *b_expression, const rules::SpeedLimitRule &a, const rules::SpeedLimitRule &b)
 Predicate-formatter which tests equality of SpeedLimitRule. More...
 
inline::testing::AssertionResult IsEqual (const char *a_expression, const char *b_expression, const double &a, const double &b)
 Predicate-formatter which tests equality of double. More...
 
template<class T >
inline::testing::AssertionResult IsEqual (const char *a_expression, const char *b_expression, const TypeSpecificIdentifier< T > &a, const TypeSpecificIdentifier< T > &b)
 Predicate-formatter which tests equality of TypeSpecificIdentifier<T>. More...
 
inline::testing::AssertionResult IsEqual (const char *a_expression, const char *b_expression, const SRange &a, const SRange &b)
 Predicate-formatter which tests equality of SRange. More...
 
inline::testing::AssertionResult IsEqual (const char *a_expression, const char *b_expression, const LaneSRange &a, const LaneSRange &b)
 Predicate-formatter which tests equality of LaneSRange. More...
 
inline::testing::AssertionResult IsEqual (const char *a_expression, const char *b_expression, const std::vector< LaneSRange > &a, const std::vector< LaneSRange > &b)
 Predicate-formatter which tests equality of std::vector<LaneSRange>. More...
 
inline::testing::AssertionResult IsEqual (const char *a_expression, const char *b_expression, const LaneSRoute &a, const LaneSRoute &b)
 Predicate-formatter which tests equality of LaneSRoute. More...
 
inline::testing::AssertionResult IsEqual (const char *a_expression, const char *b_expression, const api::Lane *a, const api::Lane *b)
 
inline::testing::AssertionResult IsEqual (const char *a_expression, const char *b_expression, const api::LaneEnd &a, const api::LaneEnd &b)
 

Function Documentation

::testing::AssertionResult drake::maliput::api::rules::test::IsEqual ( const char *  a_expression,
const char *  b_expression,
const T a,
const T b 
)
testing::AssertionResult IsEqual ( const char *  a_expression,
const char *  b_expression,
rules::SpeedLimitRule::Severity  a,
rules::SpeedLimitRule::Severity  b 
)

Predicate-formatter which tests equality of SpeedLimitRule::Severity.

testing::AssertionResult IsEqual ( const char *  a_expression,
const char *  b_expression,
rules::RightOfWayRule::ZoneType  a,
rules::RightOfWayRule::ZoneType  b 
)

Predicate-formatter which tests equality of RightOfWayRule::ZoneType.

inline ::testing::AssertionResult drake::maliput::api::rules::test::IsEqual ( const char *  a_expression,
const char *  b_expression,
const api::Lane a,
const api::Lane b 
)
testing::AssertionResult IsEqual ( const char *  a_expression,
const char *  b_expression,
const rules::SpeedLimitRule a,
const rules::SpeedLimitRule b 
)

Predicate-formatter which tests equality of SpeedLimitRule.

testing::AssertionResult IsEqual ( const char *  a_expression,
const char *  b_expression,
rules::RightOfWayRule::State::Type  a,
rules::RightOfWayRule::State::Type  b 
)

Predicate-formatter which tests equality of RightOfWayRule::State::Type.

inline ::testing::AssertionResult drake::maliput::api::rules::test::IsEqual ( const char *  a_expression,
const char *  b_expression,
const api::LaneEnd a,
const api::LaneEnd b 
)
::testing::AssertionResult drake::maliput::api::rules::test::IsEqual ( const char *  a_expression,
const char *  b_expression,
const std::vector< rules::RightOfWayRule::Id > &  a,
const std::vector< rules::RightOfWayRule::Id > &  b 
)
testing::AssertionResult IsEqual ( const char *  a_expression,
const char *  b_expression,
const rules::RightOfWayRule::State a,
const rules::RightOfWayRule::State b 
)

Predicate-formatter which tests equality of RightOfWayRule::State.

::testing::AssertionResult drake::maliput::api::rules::test::IsEqual ( const char *  a_expression,
const char *  b_expression,
const std::unordered_map< rules::RightOfWayRule::State::Id, rules::RightOfWayRule::State > &  a,
const std::unordered_map< rules::RightOfWayRule::State::Id, rules::RightOfWayRule::State > &  b 
)
testing::AssertionResult IsEqual ( const char *  a_expression,
const char *  b_expression,
const rules::RightOfWayRule a,
const rules::RightOfWayRule b 
)

Predicate-formatter which tests equality of RightOfWayRule.

inline ::testing::AssertionResult drake::maliput::api::rules::test::IsEqual ( const char *  a_expression,
const char *  b_expression,
const double a,
const double b 
)

Predicate-formatter which tests equality of double.

testing::AssertionResult IsEqual ( const char *  a_expression,
const char *  b_expression,
const rules::RightOfWayStateProvider::Result a,
const rules::RightOfWayStateProvider::Result b 
)

Predicate-formatter which tests equality of RightOfWayStateProvider::Result.

inline ::testing::AssertionResult drake::maliput::api::rules::test::IsEqual ( const char *  a_expression,
const char *  b_expression,
const TypeSpecificIdentifier< T > &  a,
const TypeSpecificIdentifier< T > &  b 
)

Predicate-formatter which tests equality of TypeSpecificIdentifier<T>.

inline ::testing::AssertionResult drake::maliput::api::rules::test::IsEqual ( const char *  a_expression,
const char *  b_expression,
const SRange a,
const SRange b 
)

Predicate-formatter which tests equality of SRange.

inline ::testing::AssertionResult drake::maliput::api::rules::test::IsEqual ( const char *  a_expression,
const char *  b_expression,
const LaneSRange a,
const LaneSRange b 
)

Predicate-formatter which tests equality of LaneSRange.

inline ::testing::AssertionResult drake::maliput::api::rules::test::IsEqual ( const char *  a_expression,
const char *  b_expression,
const std::vector< LaneSRange > &  a,
const std::vector< LaneSRange > &  b 
)

Predicate-formatter which tests equality of std::vector<LaneSRange>.

inline ::testing::AssertionResult drake::maliput::api::rules::test::IsEqual ( const char *  a_expression,
const char *  b_expression,
const LaneSRoute a,
const LaneSRoute b 
)

Predicate-formatter which tests equality of LaneSRoute.