AreNotEqualImpl()
System::TestPredicates::AreNotEqualImpl(const char *, const char *, const T1&, const T2&, long long) function
Not-equal-compares values one or both of them being Decimal.
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)
Template parameters
Parameter | Description |
---|---|
T1 | LHS object type. |
T2 | RHS object type. |
Arguments
Parameter | Type | Description |
---|---|---|
lhs_expr | const char * | LHS expression. |
rhs_expr | const char * | RHS expression. |
lhs | const T1& | LHS value. |
rhs | const T2& | RHS value. |
s | long long | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
Return Value
gtest-styled assertion result.
System::TestPredicates::AreNotEqualImpl(const char *, const char *, const T&, const T&, long long) function
Not-equal-compares non-pointer types using Equals method provided.
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)
Template parameters
Parameter | Description |
---|---|
T | Object type. |
Arguments
Parameter | Type | Description |
---|---|---|
lhs_expr | const char * | LHS expression. |
rhs_expr | const char * | RHS expression. |
lhs | const T& | LHS value. |
rhs | const T& | RHS value. |
s | long long | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
Return Value
gtest-styled assertion result.
System::TestPredicates::AreNotEqualImpl(const char *, const char *, T&, const T&, long long) function
Not-equal-compares non-pointer types using Equals method provided.
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)
Template parameters
Parameter | Description |
---|---|
T | Object type. |
Arguments
Parameter | Type | Description |
---|---|---|
lhs_expr | const char * | LHS expression. |
rhs_expr | const char * | RHS expression. |
lhs | T& | LHS value. |
rhs | const T& | RHS value. |
s | long long | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
Return Value
gtest-styled assertion result.
System::TestPredicates::AreNotEqualImpl(const char *, const char *, const T&, const T&, long long) function
Not-equal-compares non-pointer types using operator != provided.
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)
Template parameters
Parameter | Description |
---|---|
T | Object type. |
Arguments
Parameter | Type | Description |
---|---|---|
lhs_expr | const char * | LHS expression. |
rhs_expr | const char * | RHS expression. |
lhs | const T& | LHS value. |
rhs | const T& | RHS value. |
s | long long | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
Return Value
gtest-styled assertion result.
System::TestPredicates::AreNotEqualImpl(const char *, const char *, T, const System::SharedPtr<Object>&, long long) function
Not-equal-compares boxable with SmartPtr values using unboxing.
template<typename T> 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)
Template parameters
Parameter | Description |
---|---|
T | Object type. |
Arguments
Parameter | Type | Description |
---|---|---|
lhs_expr | const char * | LHS expression. |
rhs_expr | const char * | RHS expression. |
lhs | T | LHS value. |
rhs | const System::SharedPtr<Object>& | RHS value. |
s | long long | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
Return Value
gtest-styled assertion result.
System::TestPredicates::AreNotEqualImpl(const char *, const char *, const System::SharedPtr<Object>&, T, long long) function
Not-equal-compares boxable with SmartPtr values using unboxing.
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, T rhs, long long s)
Template parameters
Parameter | Description |
---|---|
T | Object type. |
Arguments
Parameter | Type | Description |
---|---|---|
lhs_expr | const char * | LHS expression. |
rhs_expr | const char * | RHS expression. |
lhs | const System::SharedPtr<Object>& | LHS value. |
rhs | T | RHS value. |
s | long long | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
Return Value
gtest-styled assertion result.
System::TestPredicates::AreNotEqualImpl(const char *, const char *, T, std::nullptr_t, long long) function
Not-equal-compares random type with nullptr.
template<typename T> testing::AssertionResult System::TestPredicates::AreNotEqualImpl(const char *lhs_expr, const char *rhs_expr, T lhs, std::nullptr_t, long long s)
Template parameters
Parameter | Description |
---|---|
T | Object type. |
Arguments
Parameter | Type | Description |
---|---|---|
lhs_expr | const char * | LHS expression. |
rhs_expr | const char * | RHS expression. |
lhs | T | LHS value. |
s | std::nullptr_t | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
Return Value
gtest-styled assertion result.
System::TestPredicates::AreNotEqualImpl(const char *, const char *, std::nullptr_t, T, long long) function
Not-equal-compares random type with nullptr.
template<typename T> testing::AssertionResult System::TestPredicates::AreNotEqualImpl(const char *lhs_expr, const char *rhs_expr, std::nullptr_t, T rhs, long long s)
Template parameters
Parameter | Description |
---|---|
T | Object type. |
Arguments
Parameter | Type | Description |
---|---|---|
lhs_expr | const char * | LHS expression. |
rhs_expr | const char * | RHS expression. |
rhs | std::nullptr_t | RHS value. |
s | T | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
Return Value
gtest-styled assertion result.
System::TestPredicates::AreNotEqualImpl(const char *, const char *, const T1&, const T2&, long long) function
Equal-compares pointer types.
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)
Template parameters
Parameter | Description |
---|---|
T1 | LHS type. |
T2 | RHS type. |
Arguments
Parameter | Type | Description |
---|---|---|
lhs_expr | const char * | LHS expression. |
rhs_expr | const char * | RHS expression. |
lhs | const T1& | LHS value. |
rhs | const T2& | RHS value. |
s | long long | A service parameter that serves as a selector of the implementation of the function; the value of the parameter is ignored |
Return Value
gtest-styled assertion result.
System::TestPredicates::AreNotEqualImpl(const char *, const char *, T1, T2, int) function
Equal-compares random types using gtest altorithms.
template<typename T1,typename T2> testing::AssertionResult System::TestPredicates::AreNotEqualImpl(const char *lhs_expr, const char *rhs_expr, T1 lhs, T2 rhs, int)
Template parameters
Parameter | Description |
---|---|
T1 | LHS type. |
T2 | RHS type. |
Arguments
Parameter | Type | Description |
---|---|---|
lhs_expr | const char * | LHS expression. |
rhs_expr | const char * | RHS expression. |
lhs | T1 | LHS value. |
rhs | T2 | RHS value. |
Return Value
gtest-styled assertion result.
See Also
- Typedef AnyOfDecimal
- Typedef SharedPtr
- Class Object
- Struct IsSmartPtr
- Struct IsBoxable
- Namespace System::TestPredicates
- Library Aspose.Slides