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

ParameterDescription
T1LHS object type.
T2RHS object type.

Arguments

ParameterTypeDescription
lhs_exprconst char *LHS expression.
rhs_exprconst char *RHS expression.
lhsconst T1&LHS value.
rhsconst T2&RHS value.
slong longA 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

ParameterDescription
TObject type.

Arguments

ParameterTypeDescription
lhs_exprconst char *LHS expression.
rhs_exprconst char *RHS expression.
lhsconst T&LHS value.
rhsconst T&RHS value.
slong longA 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

ParameterDescription
TObject type.

Arguments

ParameterTypeDescription
lhs_exprconst char *LHS expression.
rhs_exprconst char *RHS expression.
lhsT&LHS value.
rhsconst T&RHS value.
slong longA 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

ParameterDescription
TObject type.

Arguments

ParameterTypeDescription
lhs_exprconst char *LHS expression.
rhs_exprconst char *RHS expression.
lhsconst T&LHS value.
rhsconst T&RHS value.
slong longA 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

ParameterDescription
TObject type.

Arguments

ParameterTypeDescription
lhs_exprconst char *LHS expression.
rhs_exprconst char *RHS expression.
lhsTLHS value.
rhsconst System::SharedPtr<Object>&RHS value.
slong longA 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

ParameterDescription
TObject type.

Arguments

ParameterTypeDescription
lhs_exprconst char *LHS expression.
rhs_exprconst char *RHS expression.
lhsconst System::SharedPtr<Object>&LHS value.
rhsTRHS value.
slong longA 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

ParameterDescription
TObject type.

Arguments

ParameterTypeDescription
lhs_exprconst char *LHS expression.
rhs_exprconst char *RHS expression.
lhsTLHS value.
sstd::nullptr_tA 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

ParameterDescription
TObject type.

Arguments

ParameterTypeDescription
lhs_exprconst char *LHS expression.
rhs_exprconst char *RHS expression.
rhsstd::nullptr_tRHS value.
sTA 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

ParameterDescription
T1LHS type.
T2RHS type.

Arguments

ParameterTypeDescription
lhs_exprconst char *LHS expression.
rhs_exprconst char *RHS expression.
lhsconst T1&LHS value.
rhsconst T2&RHS value.
slong longA 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

ParameterDescription
T1LHS type.
T2RHS type.

Arguments

ParameterTypeDescription
lhs_exprconst char *LHS expression.
rhs_exprconst char *RHS expression.
lhsT1LHS value.
rhsT2RHS value.

Return Value

gtest-styled assertion result.

See Also