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...
 

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.

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.

Here is the call graph for this function:

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.

::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 
)

Here is the call graph for this function:

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.

Here is the call graph for this function:

::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 
)

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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>.

Here is the call graph for this function:

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.

Here is the call graph for this function: