System::TestPredicates Namespace Reference

Namespaces

 Details
 
 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 &&(!std::is_base_of< System::IO::Stream, typename T1::Pointee_ >::value||!std::is_base_of< System::IO::Stream, typename T2::Pointee_ >::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< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value &&std::is_base_of< System::IO::Stream, typename T1::Pointee_ >::value &&std::is_base_of< System::IO::Stream, typename T2::Pointee_ >::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<!std::is_null_pointer< T1 >::value &&!IsNullable< T1 >::value, testing::AssertionResult >::type AreEqualImpl (const char *lhs_expr, const char *rhs_expr, T1 lhs, const Nullable< T2 > &rhs, long long s)
 
template<typename T1 , typename T2 >
std::enable_if<!std::is_null_pointer< T2 >::value &&!IsNullable< T2 >::value, testing::AssertionResult >::type AreEqualImpl (const char *lhs_expr, const char *rhs_expr, const Nullable< T1 > &lhs, 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)
 

Function Documentation

◆ AreEqual()

template<typename T1 , typename T2 >
testing::AssertionResult System::TestPredicates::AreEqual ( const char *  lhs_expr,
const char *  rhs_expr,
T1 &&  lhs,
T2 &&  rhs 
)

Equal-compares arguments for AreEqual assertion translation.

Template Parameters
T1LHS object type.
T2RHS object type.
Parameters
lhs_exprLHS expression.
rhs_exprRHS expression.
lhsLHS value.
rhsRHS value.
Returns
gtest-styled assertion result.

◆ AreEqualImpl() [1/16]

template<typename T1 , typename T2 >
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.

Template Parameters
T1LHS object type.
T2RHS object type.
Parameters
lhs_exprLHS expression.
rhs_exprRHS expression.
lhsLHS value.
rhsRHS value.
sA service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored
Returns
gtest-styled assertion result.

◆ AreEqualImpl() [2/16]

template<typename T1 , typename T2 >
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.

Template Parameters
T1LHS object type.
T2RHS object type.
Parameters
lhs_exprLHS expression.
rhs_exprRHS expression.
lhsLHS value.
rhsRHS value.
sA service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored
Returns
gtest-styled assertion result.

◆ AreEqualImpl() [3/16]

template<typename T >
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.

Template Parameters
TObject type.
Parameters
lhs_exprLHS expression.
rhs_exprRHS expression.
lhsLHS value.
rhsRHS value.
sA service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored
Returns
gtest-styled assertion result.

◆ AreEqualImpl() [4/16]

template<typename T >
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.

Template Parameters
TObject type.
Parameters
lhs_exprLHS expression.
rhs_exprRHS expression.
lhsLHS value.
rhsRHS value.
sA service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored
Returns
gtest-styled assertion result.

◆ AreEqualImpl() [5/16]

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

Template Parameters
TObject type.
Parameters
lhs_exprLHS expression.
rhs_exprRHS expression.
lhsLHS value.
rhsRHS value.
sA service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored
Returns
gtest-styled assertion result.

◆ AreEqualImpl() [6/16]

template<typename T >
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,
lhs,
const System::SharedPtr< Object > &  rhs,
long long  s 
)

Equal-compares boxable with SmartPtr values.

Template Parameters
TObject type.
Parameters
lhs_exprLHS expression.
rhs_exprRHS expression.
lhsLHS value.
rhsRHS value.
sA service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored
Returns
gtest-styled assertion result.

◆ AreEqualImpl() [7/16]

template<typename T >
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,
rhs,
long long  s 
)

Equal-compares boxable with SmartPtr values.

Template Parameters
TObject type.
Parameters
lhs_exprLHS expression.
rhs_exprRHS expression.
lhsLHS value.
rhsRHS value.
sA service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored
Returns
gtest-styled assertion result.

◆ AreEqualImpl() [8/16]

testing::AssertionResult System::TestPredicates::AreEqualImpl ( const char *  lhs_expr,
const char *  rhs_expr,
const char16_t *  lhs,
const System::SharedPtr< Object > &  rhs,
long long  s 
)
inline

Equal-compares string literal with SmartPtr values using unboxing.

Parameters
lhs_exprLHS expression.
rhs_exprRHS expression.
lhsLHS value.
rhsRHS value.
sA service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored
Returns
gtest-styled assertion result.

◆ AreEqualImpl() [9/16]

testing::AssertionResult System::TestPredicates::AreEqualImpl ( const char *  lhs_expr,
const char *  rhs_expr,
const System::SharedPtr< Object > &  lhs,
const char16_t *  rhs,
long long  s 
)
inline

Equal-compares string literal with SmartPtr values using unboxing.

Parameters
lhs_exprLHS expression.
rhs_exprRHS expression.
lhsLHS value.
rhsRHS value.
sA service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored
Returns
gtest-styled assertion result.

◆ AreEqualImpl() [10/16]

template<typename T >
testing::AssertionResult System::TestPredicates::AreEqualImpl ( const char *  lhs_expr,
const char *  rhs_expr,
lhs,
std::nullptr_t  ,
long long  s 
)

Equal-compares random type wiht nullptr.

Template Parameters
TObject type.
Parameters
lhs_exprLHS expression.
rhs_exprRHS expression.
lhsLHS value.
sA service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored
Returns
gtest-styled assertion result.

◆ AreEqualImpl() [11/16]

template<typename T >
testing::AssertionResult System::TestPredicates::AreEqualImpl ( const char *  lhs_expr,
const char *  rhs_expr,
std::nullptr_t  ,
rhs,
long long  s 
)

Equal-compares random type with nullptr.

Template Parameters
TObject type.
Parameters
lhs_exprLHS expression.
rhs_exprRHS expression.
rhsRHS value.
sA service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored
Returns
gtest-styled assertion result.

◆ AreEqualImpl() [12/16]

template<typename T1 , typename T2 >
std::enable_if< IsSmartPtr<T1>::value && IsSmartPtr<T2>::value && ( !std::is_base_of<System::IO::Stream, typename T1::Pointee_>::value || !std::is_base_of<System::IO::Stream, typename T2::Pointee_>::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.

Template Parameters
T1LHS type.
T2RHS type.
Parameters
lhs_exprLHS expression.
rhs_exprRHS expression.
lhsLHS value.
rhsRHS value.
sA service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored
Returns
gtest-styled assertion result.

◆ AreEqualImpl() [13/16]

template<typename T1 , typename T2 >
std::enable_if< IsSmartPtr<T1>::value && IsSmartPtr<T2>::value && std::is_base_of<System::IO::Stream, typename T1::Pointee_>::value && std::is_base_of<System::IO::Stream, typename T2::Pointee_>::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.

Template Parameters
T1LHS type.
T2RHS type.
Parameters
lhs_exprLHS expression.
rhs_exprRHS expression.
lhsLHS value.
rhsRHS value.
sA service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored
Returns
gtest-styled assertion result.

◆ AreEqualImpl() [14/16]

template<typename T1 , typename T2 >
std::enable_if<!std::is_null_pointer<T1>::value && !IsNullable<T1>::value, testing::AssertionResult>::type System::TestPredicates::AreEqualImpl ( const char *  lhs_expr,
const char *  rhs_expr,
T1  lhs,
const Nullable< T2 > &  rhs,
long long  s 
)

Equal-compares a random type with a Nullable value.

Template Parameters
T1LHS type.
T2RHS type.
Parameters
lhs_exprLHS expression.
rhs_exprRHS expression.
lhsLHS value.
rhsRHS value.
sA service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored
Returns
gtest-styled assertion result.

◆ AreEqualImpl() [15/16]

template<typename T1 , typename T2 >
std::enable_if<!std::is_null_pointer<T2>::value && !IsNullable<T2>::value, testing::AssertionResult>::type System::TestPredicates::AreEqualImpl ( const char *  lhs_expr,
const char *  rhs_expr,
const Nullable< T1 > &  lhs,
T2  rhs,
long long  s 
)

Equal-compares a Nullable value with a random type.

Template Parameters
T1LHS type.
T2RHS type.
Parameters
lhs_exprLHS expression.
rhs_exprRHS expression.
lhsLHS value.
rhsRHS value.
sA service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored
Returns
gtest-styled assertion result.

◆ AreEqualImpl() [16/16]

template<typename T1 , typename T2 >
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.

Template Parameters
T1LHS type.
T2RHS type.
Parameters
lhs_exprLHS expression.
rhs_exprRHS expression.
lhsLHS value.
rhsRHS value.
Returns
gtest-styled assertion result.

◆ AreFPNaN() [1/2]

template<typename T1 , typename T2 >
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.

Template Parameters
T1First floating point type.
T2Second floating point type.
Parameters
lhsFirst floating point value.
rhsSecond floating point value.
Returns
True if both lhs and rhs are floating point values, false otherwise.

◆ AreFPNaN() [2/2]

template<typename T1 , typename T2 >
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.

Template Parameters
T1First floating point type.
T2Second floating point type.
Parameters
lhsFirst floating point value.
rhsSecond floating point value.
Returns
Always returns false as NaN value is not supported.

◆ AreNotEqual()

template<typename T1 , typename T2 >
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.

Template Parameters
T1LHS object type.
T2RHS object type.
Parameters
lhs_exprLHS expression.
rhs_exprRHS expression.
lhsLHS value.
rhsRHS value.
Returns
gtest-styled assertion result.

◆ AreNotEqualImpl() [1/10]

template<typename T1 , typename T2 >
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.

Template Parameters
T1LHS object type.
T2RHS object type.
Parameters
lhs_exprLHS expression.
rhs_exprRHS expression.
lhsLHS value.
rhsRHS value.
sA service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored
Returns
gtest-styled assertion result.

◆ AreNotEqualImpl() [2/10]

template<typename T >
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.

Template Parameters
TObject type.
Parameters
lhs_exprLHS expression.
rhs_exprRHS expression.
lhsLHS value.
rhsRHS value.
sA service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored
Returns
gtest-styled assertion result.

◆ AreNotEqualImpl() [3/10]

template<typename T >
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.

Template Parameters
TObject type.
Parameters
lhs_exprLHS expression.
rhs_exprRHS expression.
lhsLHS value.
rhsRHS value.
sA service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored
Returns
gtest-styled assertion result.

◆ AreNotEqualImpl() [4/10]

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

Template Parameters
TObject type.
Parameters
lhs_exprLHS expression.
rhs_exprRHS expression.
lhsLHS value.
rhsRHS value.
sA service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored
Returns
gtest-styled assertion result.

◆ AreNotEqualImpl() [5/10]

template<typename T >
std::enable_if<IsBoxable<T>::value , testing::AssertionResult>::type System::TestPredicates::AreNotEqualImpl ( const char *  lhs_expr,
const char *  rhs_expr,
lhs,
const System::SharedPtr< Object > &  rhs,
long long  s 
)

Not-equal-compares boxable with SmartPtr values using unboxing.

Template Parameters
TObject type.
Parameters
lhs_exprLHS expression.
rhs_exprRHS expression.
lhsLHS value.
rhsRHS value.
sA service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored
Returns
gtest-styled assertion result.

◆ AreNotEqualImpl() [6/10]

template<typename T >
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,
rhs,
long long  s 
)

Not-equal-compares boxable with SmartPtr values using unboxing.

Template Parameters
TObject type.
Parameters
lhs_exprLHS expression.
rhs_exprRHS expression.
lhsLHS value.
rhsRHS value.
sA service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored
Returns
gtest-styled assertion result.

◆ AreNotEqualImpl() [7/10]

template<typename T >
testing::AssertionResult System::TestPredicates::AreNotEqualImpl ( const char *  lhs_expr,
const char *  rhs_expr,
lhs,
std::nullptr_t  ,
long long  s 
)

Not-equal-compares random type with nullptr.

Template Parameters
TObject type.
Parameters
lhs_exprLHS expression.
rhs_exprRHS expression.
lhsLHS value.
sA service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored
Returns
gtest-styled assertion result.

◆ AreNotEqualImpl() [8/10]

template<typename T >
testing::AssertionResult System::TestPredicates::AreNotEqualImpl ( const char *  lhs_expr,
const char *  rhs_expr,
std::nullptr_t  ,
rhs,
long long  s 
)

Not-equal-compares random type with nullptr.

Template Parameters
TObject type.
Parameters
lhs_exprLHS expression.
rhs_exprRHS expression.
rhsRHS value.
sA service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored
Returns
gtest-styled assertion result.

◆ AreNotEqualImpl() [9/10]

template<typename T1 , typename T2 >
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.

Template Parameters
T1LHS type.
T2RHS type.
Parameters
lhs_exprLHS expression.
rhs_exprRHS expression.
lhsLHS value.
rhsRHS value.
sA service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored
Returns
gtest-styled assertion result.

◆ AreNotEqualImpl() [10/10]

template<typename T1 , typename T2 >
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.

Template Parameters
T1LHS type.
T2RHS type.
Parameters
lhs_exprLHS expression.
rhs_exprRHS expression.
lhsLHS value.
rhsRHS value.
Returns
gtest-styled assertion result.

◆ AreNotSame()

template<typename T1 , typename T2 >
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.

Template Parameters
T1LHS object type.
T2RHS object type.
Parameters
lhs_exprLHS expression.
rhs_exprRHS expression.
lhsLHS value.
rhsRHS value.
Returns
gtest-styled assertion result.

◆ AreNotSameImpl() [1/2]

template<typename T1 , typename T2 >
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.

Template Parameters
T1LHS object type.
T2RHS object type.
Parameters
lhs_exprLHS expression.
rhs_exprRHS expression.
lhsLHS value.
rhsRHS value.
sA service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored
Returns
gtest-styled assertion result.

◆ AreNotSameImpl() [2/2]

template<typename T1 , typename T2 >
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.

Template Parameters
T1LHS object type.
T2RHS object type.
Parameters
lhs_exprLHS expression.
rhs_exprRHS expression.
lhsLHS value.
rhsRHS value.
Returns
gtest-styled assertion result.

◆ AreSame()

template<typename T1 , typename T2 >
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.

Template Parameters
T1LHS object type.
T2RHS object type.
Parameters
lhs_exprLHS expression.
rhs_exprRHS expression.
lhsLHS value.
rhsRHS value.
Returns
gtest-styled assertion result.

◆ AreSameImpl() [1/3]

template<typename T1 , typename T2 >
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.

Template Parameters
T1LHS object type.
T2RHS object type.
Parameters
lhs_exprLHS expression.
rhs_exprRHS expression.
lhsLHS value.
rhsRHS value.
sA service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored
Returns
gtest-styled assertion result.

◆ AreSameImpl() [2/3]

template<typename T1 , typename T2 >
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.

Template Parameters
T1LHS object type.
T2RHS object type.
Parameters
lhs_exprLHS expression.
rhs_exprRHS expression.
lhsLHS value.
rhsRHS value.
sA service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored
Returns
gtest-styled assertion result.

◆ AreSameImpl() [3/3]

template<typename T1 , typename T2 >
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.

Template Parameters
T1LHS object type.
T2RHS object type.
Parameters
lhs_exprLHS expression.
rhs_exprRHS expression.
lhsLHS value.
rhsRHS value.
Returns
gtest-styled assertion result.

◆ IsInstanceOf()

template<typename T >
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.

Template Parameters
TArgument type.
Parameters
lhs_exprLHS expression.
rhs_exprRHS expression.
typeInfoA typeInfo object that represents a type against which the type of obj is to be compared
objAn object whose type to compare with the specified type
Returns
gtest-styled assertion result.