Namespaces | |
Details | |
namespace TypeTraits | |
TypeTraits | |
Functions | |
template<typename T1 , typename T2 > | |
std::enable_if< std::numeric_limits< T1 >::has_quiet_NaN &&std::numeric_limits< T2 >::has_quiet_NaN, bool >::type | AreFPNaN (T1 lhs, T2 rhs) |
namespace Details More... | |
template<typename T1 , typename T2 > | |
std::enable_if<!std::numeric_limits< T1 >::has_quiet_NaN||!std::numeric_limits< T2 >::has_quiet_NaN, bool >::type | AreFPNaN (T1 lhs, T2 rhs) |
template<typename T1 , typename T2 > | |
testing::AssertionResult | AreEqual (const char *lhs_expr, const char *rhs_expr, T1 &&lhs, T2 &&rhs) |
template<typename T1 , typename T2 > | |
std::enable_if< TypeTraits::AreFPandArithmetic< T1, T2 >::value, testing::AssertionResult >::type | AreEqualImpl (const char *lhs_expr, const char *rhs_expr, const T1 lhs, const T2 rhs, long long s) |
template<typename T1 , typename T2 > | |
std::enable_if< TypeTraits::AnyOfDecimal< T1, T2 >::value, testing::AssertionResult >::type | AreEqualImpl (const char *lhs_expr, const char *rhs_expr, const T1 &lhs, const T2 &rhs, long long s) |
template<typename T > | |
std::enable_if<!IsSmartPtr< T >::value &&detail::has_method_equals< T >::value, testing::AssertionResult >::type | AreEqualImpl (const char *lhs_expr, const char *rhs_expr, const T &lhs, const T &rhs, long long s) |
template<typename T > | |
std::enable_if<!IsSmartPtr< T >::value &&detail::has_method_equals< T >::value, testing::AssertionResult >::type | AreEqualImpl (const char *lhs_expr, const char *rhs_expr, T &lhs, const T &rhs, long long s) |
template<typename T > | |
std::enable_if<!IsSmartPtr< T >::value &&std::is_class< T >::value &&!detail::has_method_equals< T >::value &&detail::has_operator_equal< T >::value, testing::AssertionResult >::type | AreEqualImpl (const char *lhs_expr, const char *rhs_expr, const T &lhs, const T &rhs, long long s) |
template<typename T > | |
std::enable_if< IsBoxable< T >::value &&! IsStringByteSequence< T, char16_t >::value, testing::AssertionResult >::type | AreEqualImpl (const char *lhs_expr, const char *rhs_expr, T lhs, const System::SharedPtr< Object > &rhs, long long s) |
template<typename T > | |
std::enable_if< IsBoxable< T >::value &&! IsStringByteSequence< T, char16_t >::value, testing::AssertionResult >::type | AreEqualImpl (const char *lhs_expr, const char *rhs_expr, const System::SharedPtr< Object > &lhs, T rhs, long long s) |
testing::AssertionResult | AreEqualImpl (const char *lhs_expr, const char *rhs_expr, const char16_t *lhs, const System::SharedPtr< Object > &rhs, long long s) |
testing::AssertionResult | AreEqualImpl (const char *lhs_expr, const char *rhs_expr, const System::SharedPtr< Object > &lhs, const char16_t *rhs, long long s) |
template<typename T > | |
testing::AssertionResult | AreEqualImpl (const char *lhs_expr, const char *rhs_expr, T lhs, std::nullptr_t, long long s) |
template<typename T > | |
testing::AssertionResult | AreEqualImpl (const char *lhs_expr, const char *rhs_expr, std::nullptr_t, T rhs, long long s) |
template<typename T1 , typename T2 > | |
std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, testing::AssertionResult >::type | AreEqualImpl (const char *lhs_expr, const char *rhs_expr, const T1 &lhs, const T2 &rhs, long long s) |
template<typename T1 , typename T2 > | |
testing::AssertionResult | AreEqualImpl (const char *lhs_expr, const char *rhs_expr, T1 lhs, T2 rhs, int) |
template<typename T1 , typename T2 > | |
testing::AssertionResult | AreNotEqual (const char *lhs_expr, const char *rhs_expr, T1 &&lhs, T2 &&rhs) |
template<typename T1 , typename T2 > | |
std::enable_if< TypeTraits::AnyOfDecimal< T1, T2 >::value, testing::AssertionResult >::type | AreNotEqualImpl (const char *lhs_expr, const char *rhs_expr, const T1 &lhs, const T2 &rhs, long long s) |
template<typename T > | |
std::enable_if<!IsSmartPtr< T >::value &&detail::has_method_equals< T >::value, testing::AssertionResult >::type | AreNotEqualImpl (const char *lhs_expr, const char *rhs_expr, const T &lhs, const T &rhs, long long s) |
template<typename T > | |
std::enable_if<!IsSmartPtr< T >::value &&detail::has_method_equals< T >::value, testing::AssertionResult >::type | AreNotEqualImpl (const char *lhs_expr, const char *rhs_expr, T &lhs, const T &rhs, long long s) |
template<typename T > | |
std::enable_if<!IsSmartPtr< T >::value &&std::is_class< T >::value &&!detail::has_method_equals< T >::value &&detail::has_operator_equal< T >::value, testing::AssertionResult >::type | AreNotEqualImpl (const char *lhs_expr, const char *rhs_expr, const T &lhs, const T &rhs, long long s) |
template<typename T > | |
std::enable_if< IsBoxable< T >::value, testing::AssertionResult >::type | AreNotEqualImpl (const char *lhs_expr, const char *rhs_expr, T lhs, const System::SharedPtr< Object > &rhs, long long s) |
template<typename T > | |
std::enable_if< IsBoxable< T >::value, testing::AssertionResult >::type | AreNotEqualImpl (const char *lhs_expr, const char *rhs_expr, const System::SharedPtr< Object > &lhs, T rhs, long long s) |
template<typename T > | |
testing::AssertionResult | AreNotEqualImpl (const char *lhs_expr, const char *rhs_expr, T lhs, std::nullptr_t, long long s) |
template<typename T > | |
testing::AssertionResult | AreNotEqualImpl (const char *lhs_expr, const char *rhs_expr, std::nullptr_t, T rhs, long long s) |
template<typename T1 , typename T2 > | |
std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, testing::AssertionResult >::type | AreNotEqualImpl (const char *lhs_expr, const char *rhs_expr, const T1 &lhs, const T2 &rhs, long long s) |
template<typename T1 , typename T2 > | |
testing::AssertionResult | AreNotEqualImpl (const char *lhs_expr, const char *rhs_expr, T1 lhs, T2 rhs, int) |
template<typename T1 , typename T2 > | |
testing::AssertionResult | AreSame (const char *lhs_expr, const char *rhs_expr, const T1 &lhs, const T2 &rhs) |
template<typename T1 , typename T2 > | |
std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, testing::AssertionResult >::type | AreSameImpl (const char *lhs_expr, const char *rhs_expr, const T1 &lhs, const T2 &rhs, long long s) |
template<typename T1 , typename T2 > | |
std::enable_if< IsExceptionWrapper< T1 >::value &&IsExceptionWrapper< T2 >::value, testing::AssertionResult >::type | AreSameImpl (const char *lhs_expr, const char *rhs_expr, const T1 &lhs, const T2 &rhs, long long s) |
template<typename T1 , typename T2 > | |
testing::AssertionResult | AreSameImpl (const char *lhs_expr, const char *rhs_expr, const T1 &lhs, const T2 &rhs, int) |
template<typename T1 , typename T2 > | |
testing::AssertionResult | AreNotSame (const char *lhs_expr, const char *rhs_expr, const T1 &lhs, const T2 &rhs) |
template<typename T1 , typename T2 > | |
std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, testing::AssertionResult >::type | AreNotSameImpl (const char *lhs_expr, const char *rhs_expr, const T1 &lhs, const T2 &rhs, long long s) |
template<typename T1 , typename T2 > | |
testing::AssertionResult | AreNotSameImpl (const char *lhs_expr, const char *rhs_expr, const T1 &lhs, const T2 &rhs, int) |
template<typename T > | |
testing::AssertionResult | IsInstanceOf (const char *lhs_expr, const char *rhs_expr, const TypeInfo &typeInfo, const T &obj) |
testing::AssertionResult System::TestPredicates::AreEqual | ( | const char * | lhs_expr, |
const char * | rhs_expr, | ||
T1 && | lhs, | ||
T2 && | rhs | ||
) |
Equal-compares arguments for AreEqual assertion translation.
T1 | LHS object type. |
T2 | RHS object type. |
lhs_expr | LHS expression. |
rhs_expr | RHS expression. |
lhs | LHS value. |
rhs | RHS value. |
std::enable_if<TypeTraits::AreFPandArithmetic<T1, T2>::value , testing::AssertionResult>::type System::TestPredicates::AreEqualImpl | ( | const char * | lhs_expr, |
const char * | rhs_expr, | ||
const T1 | lhs, | ||
const T2 | rhs, | ||
long long | s | ||
) |
Equal-compares floating point with arithmetic types.
T1 | LHS object type. |
T2 | RHS object type. |
lhs_expr | LHS expression. |
rhs_expr | RHS expression. |
lhs | LHS value. |
rhs | RHS value. |
s | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
std::enable_if<TypeTraits::AnyOfDecimal<T1, T2>::value , testing::AssertionResult>::type System::TestPredicates::AreEqualImpl | ( | const char * | lhs_expr, |
const char * | rhs_expr, | ||
const T1 & | lhs, | ||
const T2 & | rhs, | ||
long long | s | ||
) |
Equal-compares values one or both of them being Decimal.
T1 | LHS object type. |
T2 | RHS object type. |
lhs_expr | LHS expression. |
rhs_expr | RHS expression. |
lhs | LHS value. |
rhs | RHS value. |
s | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
std::enable_if<!IsSmartPtr<T>::value && detail::has_method_equals<T>::value , testing::AssertionResult>::type System::TestPredicates::AreEqualImpl | ( | const char * | lhs_expr, |
const char * | rhs_expr, | ||
const T & | lhs, | ||
const T & | rhs, | ||
long long | s | ||
) |
Equal-compares non-pointer types using Equals method provided.
T | Object type. |
lhs_expr | LHS expression. |
rhs_expr | RHS expression. |
lhs | LHS value. |
rhs | RHS value. |
s | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
std::enable_if<!IsSmartPtr<T>::value && detail::has_method_equals<T>::value , testing::AssertionResult>::type System::TestPredicates::AreEqualImpl | ( | const char * | lhs_expr, |
const char * | rhs_expr, | ||
T & | lhs, | ||
const T & | rhs, | ||
long long | s | ||
) |
Equal-compares non-pointer types using Equals method provided.
T | Object type. |
lhs_expr | LHS expression. |
rhs_expr | RHS expression. |
lhs | LHS value. |
rhs | RHS value. |
s | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
std::enable_if<!IsSmartPtr<T>::value && std::is_class<T>::value && !detail::has_method_equals<T>::value && detail::has_operator_equal<T>::value , testing::AssertionResult>::type System::TestPredicates::AreEqualImpl | ( | const char * | lhs_expr, |
const char * | rhs_expr, | ||
const T & | lhs, | ||
const T & | rhs, | ||
long long | s | ||
) |
Equal-compares non-pointer types using operator == provided.
T | Object type. |
lhs_expr | LHS expression. |
rhs_expr | RHS expression. |
lhs | LHS value. |
rhs | RHS value. |
s | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
std::enable_if<IsBoxable<T>::value && ! IsStringByteSequence<T, char16_t>::value , testing::AssertionResult>::type System::TestPredicates::AreEqualImpl | ( | const char * | lhs_expr, |
const char * | rhs_expr, | ||
T | lhs, | ||
const System::SharedPtr< Object > & | rhs, | ||
long long | s | ||
) |
Equal-compares boxable with SmartPtr values using unboxing.
T | Object type. |
lhs_expr | LHS expression. |
rhs_expr | RHS expression. |
lhs | LHS value. |
rhs | RHS value. |
s | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
std::enable_if<IsBoxable<T>::value && ! IsStringByteSequence<T, char16_t>::value , testing::AssertionResult>::type System::TestPredicates::AreEqualImpl | ( | const char * | lhs_expr, |
const char * | rhs_expr, | ||
const System::SharedPtr< Object > & | lhs, | ||
T | rhs, | ||
long long | s | ||
) |
Equal-compares boxable with SmartPtr values using unboxing.
T | Object type. |
lhs_expr | LHS expression. |
rhs_expr | RHS expression. |
lhs | LHS value. |
rhs | RHS value. |
s | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
|
inline |
Equal-compares string literal with SmartPtr values using unboxing.
lhs_expr | LHS expression. |
rhs_expr | RHS expression. |
lhs | LHS value. |
rhs | RHS value. |
s | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
|
inline |
Equal-compares string literal with SmartPtr values using unboxing.
lhs_expr | LHS expression. |
rhs_expr | RHS expression. |
lhs | LHS value. |
rhs | RHS value. |
s | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
testing::AssertionResult System::TestPredicates::AreEqualImpl | ( | const char * | lhs_expr, |
const char * | rhs_expr, | ||
T | lhs, | ||
std::nullptr_t | , | ||
long long | s | ||
) |
Equal-compares random type wiht nullptr.
T | Object type. |
lhs_expr | LHS expression. |
rhs_expr | RHS expression. |
lhs | LHS value. |
s | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
testing::AssertionResult System::TestPredicates::AreEqualImpl | ( | const char * | lhs_expr, |
const char * | rhs_expr, | ||
std::nullptr_t | , | ||
T | rhs, | ||
long long | s | ||
) |
Equal-compares random type with nullptr.
T | Object type. |
lhs_expr | LHS expression. |
rhs_expr | RHS expression. |
rhs | RHS value. |
s | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
std::enable_if<IsSmartPtr<T1>::value && IsSmartPtr<T2>::value , testing::AssertionResult>::type System::TestPredicates::AreEqualImpl | ( | const char * | lhs_expr, |
const char * | rhs_expr, | ||
const T1 & | lhs, | ||
const T2 & | rhs, | ||
long long | s | ||
) |
Equal-compares pointer types.
T1 | LHS type. |
T2 | RHS type. |
lhs_expr | LHS expression. |
rhs_expr | RHS expression. |
lhs | LHS value. |
rhs | RHS value. |
s | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
testing::AssertionResult System::TestPredicates::AreEqualImpl | ( | const char * | lhs_expr, |
const char * | rhs_expr, | ||
T1 | lhs, | ||
T2 | rhs, | ||
int | |||
) |
Equal-compares random types using gtest altorithms.
T1 | LHS type. |
T2 | RHS type. |
lhs_expr | LHS expression. |
rhs_expr | RHS expression. |
lhs | LHS value. |
rhs | RHS value. |
std::enable_if<std::numeric_limits<T1>::has_quiet_NaN && std::numeric_limits<T2>::has_quiet_NaN, bool>::type System::TestPredicates::AreFPNaN | ( | T1 | lhs, |
T2 | rhs | ||
) |
namespace Details
Checks that two floating point values are both NaNs. Handles situation when non-signalling NaN is supported.
T1 | First floating point type. |
T2 | Second floating point type. |
lhs | First floating point value. |
rhs | Second floating point value. |
lhs
and rhs
are floating point values, false otherwise. std::enable_if<!std::numeric_limits<T1>::has_quiet_NaN || !std::numeric_limits<T2>::has_quiet_NaN, bool>::type System::TestPredicates::AreFPNaN | ( | T1 | lhs, |
T2 | rhs | ||
) |
Checks that two floating point values are both NaNs. Handles situation when non-signalling NaN is not supported.
T1 | First floating point type. |
T2 | Second floating point type. |
lhs | First floating point value. |
rhs | Second floating point value. |
testing::AssertionResult System::TestPredicates::AreNotEqual | ( | const char * | lhs_expr, |
const char * | rhs_expr, | ||
T1 && | lhs, | ||
T2 && | rhs | ||
) |
Not-equal-compares arguments for AreEqual assertion translation.
T1 | LHS object type. |
T2 | RHS object type. |
lhs_expr | LHS expression. |
rhs_expr | RHS expression. |
lhs | LHS value. |
rhs | RHS value. |
std::enable_if<TypeTraits::AnyOfDecimal<T1, T2>::value , testing::AssertionResult>::type System::TestPredicates::AreNotEqualImpl | ( | const char * | lhs_expr, |
const char * | rhs_expr, | ||
const T1 & | lhs, | ||
const T2 & | rhs, | ||
long long | s | ||
) |
Not-equal-compares values one or both of them being Decimal.
T1 | LHS object type. |
T2 | RHS object type. |
lhs_expr | LHS expression. |
rhs_expr | RHS expression. |
lhs | LHS value. |
rhs | RHS value. |
s | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
std::enable_if<!IsSmartPtr<T>::value && detail::has_method_equals<T>::value , testing::AssertionResult>::type System::TestPredicates::AreNotEqualImpl | ( | const char * | lhs_expr, |
const char * | rhs_expr, | ||
const T & | lhs, | ||
const T & | rhs, | ||
long long | s | ||
) |
Not-equal-compares non-pointer types using Equals method provided.
T | Object type. |
lhs_expr | LHS expression. |
rhs_expr | RHS expression. |
lhs | LHS value. |
rhs | RHS value. |
s | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
std::enable_if<!IsSmartPtr<T>::value && detail::has_method_equals<T>::value , testing::AssertionResult>::type System::TestPredicates::AreNotEqualImpl | ( | const char * | lhs_expr, |
const char * | rhs_expr, | ||
T & | lhs, | ||
const T & | rhs, | ||
long long | s | ||
) |
Not-equal-compares non-pointer types using Equals method provided.
T | Object type. |
lhs_expr | LHS expression. |
rhs_expr | RHS expression. |
lhs | LHS value. |
rhs | RHS value. |
s | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
std::enable_if<!IsSmartPtr<T>::value && std::is_class<T>::value && !detail::has_method_equals<T>::value && detail::has_operator_equal<T>::value , testing::AssertionResult>::type System::TestPredicates::AreNotEqualImpl | ( | const char * | lhs_expr, |
const char * | rhs_expr, | ||
const T & | lhs, | ||
const T & | rhs, | ||
long long | s | ||
) |
Not-equal-compares non-pointer types using operator != provided.
T | Object type. |
lhs_expr | LHS expression. |
rhs_expr | RHS expression. |
lhs | LHS value. |
rhs | RHS value. |
s | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
std::enable_if<IsBoxable<T>::value , testing::AssertionResult>::type System::TestPredicates::AreNotEqualImpl | ( | const char * | lhs_expr, |
const char * | rhs_expr, | ||
T | lhs, | ||
const System::SharedPtr< Object > & | rhs, | ||
long long | s | ||
) |
Not-equal-compares boxable with SmartPtr values using unboxing.
T | Object type. |
lhs_expr | LHS expression. |
rhs_expr | RHS expression. |
lhs | LHS value. |
rhs | RHS value. |
s | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
std::enable_if<IsBoxable<T>::value , testing::AssertionResult>::type System::TestPredicates::AreNotEqualImpl | ( | const char * | lhs_expr, |
const char * | rhs_expr, | ||
const System::SharedPtr< Object > & | lhs, | ||
T | rhs, | ||
long long | s | ||
) |
Not-equal-compares boxable with SmartPtr values using unboxing.
T | Object type. |
lhs_expr | LHS expression. |
rhs_expr | RHS expression. |
lhs | LHS value. |
rhs | RHS value. |
s | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
testing::AssertionResult System::TestPredicates::AreNotEqualImpl | ( | const char * | lhs_expr, |
const char * | rhs_expr, | ||
T | lhs, | ||
std::nullptr_t | , | ||
long long | s | ||
) |
Not-equal-compares random type with nullptr.
T | Object type. |
lhs_expr | LHS expression. |
rhs_expr | RHS expression. |
lhs | LHS value. |
s | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
testing::AssertionResult System::TestPredicates::AreNotEqualImpl | ( | const char * | lhs_expr, |
const char * | rhs_expr, | ||
std::nullptr_t | , | ||
T | rhs, | ||
long long | s | ||
) |
Not-equal-compares random type with nullptr.
T | Object type. |
lhs_expr | LHS expression. |
rhs_expr | RHS expression. |
rhs | RHS value. |
s | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
std::enable_if<IsSmartPtr<T1>::value && IsSmartPtr<T2>::value , testing::AssertionResult>::type System::TestPredicates::AreNotEqualImpl | ( | const char * | lhs_expr, |
const char * | rhs_expr, | ||
const T1 & | lhs, | ||
const T2 & | rhs, | ||
long long | s | ||
) |
Equal-compares pointer types.
T1 | LHS type. |
T2 | RHS type. |
lhs_expr | LHS expression. |
rhs_expr | RHS expression. |
lhs | LHS value. |
rhs | RHS value. |
s | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
testing::AssertionResult System::TestPredicates::AreNotEqualImpl | ( | const char * | lhs_expr, |
const char * | rhs_expr, | ||
T1 | lhs, | ||
T2 | rhs, | ||
int | |||
) |
Equal-compares random types using gtest altorithms.
T1 | LHS type. |
T2 | RHS type. |
lhs_expr | LHS expression. |
rhs_expr | RHS expression. |
lhs | LHS value. |
rhs | RHS value. |
testing::AssertionResult System::TestPredicates::AreNotSame | ( | const char * | lhs_expr, |
const char * | rhs_expr, | ||
const T1 & | lhs, | ||
const T2 & | rhs | ||
) |
Are-not-same-compares arguments for AreSame assertion translation.
T1 | LHS object type. |
T2 | RHS object type. |
lhs_expr | LHS expression. |
rhs_expr | RHS expression. |
lhs | LHS value. |
rhs | RHS value. |
std::enable_if<IsSmartPtr<T1>::value && IsSmartPtr<T2>::value , testing::AssertionResult>::type System::TestPredicates::AreNotSameImpl | ( | const char * | lhs_expr, |
const char * | rhs_expr, | ||
const T1 & | lhs, | ||
const T2 & | rhs, | ||
long long | s | ||
) |
Are-not-same-compares smart pointers.
T1 | LHS object type. |
T2 | RHS object type. |
lhs_expr | LHS expression. |
rhs_expr | RHS expression. |
lhs | LHS value. |
rhs | RHS value. |
s | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
testing::AssertionResult System::TestPredicates::AreNotSameImpl | ( | const char * | lhs_expr, |
const char * | rhs_expr, | ||
const T1 & | lhs, | ||
const T2 & | rhs, | ||
int | |||
) |
Are-not-same-compares non-pointer values.
T1 | LHS object type. |
T2 | RHS object type. |
lhs_expr | LHS expression. |
rhs_expr | RHS expression. |
lhs | LHS value. |
rhs | RHS value. |
testing::AssertionResult System::TestPredicates::AreSame | ( | const char * | lhs_expr, |
const char * | rhs_expr, | ||
const T1 & | lhs, | ||
const T2 & | rhs | ||
) |
Are-same-compares arguments for AreSame assertion translation.
T1 | LHS object type. |
T2 | RHS object type. |
lhs_expr | LHS expression. |
rhs_expr | RHS expression. |
lhs | LHS value. |
rhs | RHS value. |
std::enable_if<IsSmartPtr<T1>::value && IsSmartPtr<T2>::value , testing::AssertionResult>::type System::TestPredicates::AreSameImpl | ( | const char * | lhs_expr, |
const char * | rhs_expr, | ||
const T1 & | lhs, | ||
const T2 & | rhs, | ||
long long | s | ||
) |
Are-same-compares smart pointers.
T1 | LHS object type. |
T2 | RHS object type. |
lhs_expr | LHS expression. |
rhs_expr | RHS expression. |
lhs | LHS value. |
rhs | RHS value. |
s | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
std::enable_if<IsExceptionWrapper<T1>::value && IsExceptionWrapper<T2>::value , testing::AssertionResult>::type System::TestPredicates::AreSameImpl | ( | const char * | lhs_expr, |
const char * | rhs_expr, | ||
const T1 & | lhs, | ||
const T2 & | rhs, | ||
long long | s | ||
) |
Are-same-compares exceptions.
T1 | LHS object type. |
T2 | RHS object type. |
lhs_expr | LHS expression. |
rhs_expr | RHS expression. |
lhs | LHS value. |
rhs | RHS value. |
s | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
testing::AssertionResult System::TestPredicates::AreSameImpl | ( | const char * | lhs_expr, |
const char * | rhs_expr, | ||
const T1 & | lhs, | ||
const T2 & | rhs, | ||
int | |||
) |
Are-same-compares non-pointer values.
T1 | LHS object type. |
T2 | RHS object type. |
lhs_expr | LHS expression. |
rhs_expr | RHS expression. |
lhs | LHS value. |
rhs | RHS value. |
testing::AssertionResult System::TestPredicates::IsInstanceOf | ( | const char * | lhs_expr, |
const char * | rhs_expr, | ||
const TypeInfo & | typeInfo, | ||
const T & | obj | ||
) |
Is-instance-of-compares arguments for IsInstanceOf assertion translation.
T | Argument type. |
lhs_expr | LHS expression. |
rhs_expr | RHS expression. |
typeInfo | A typeInfo object that represents a type against which the type of obj is to be compared |
obj | An object whose type to compare with the specified type |