AreNotSameImpl()

System::TestPredicates::AreNotSameImpl(const char *, const char *, const T1&, const T2&, long long) function

Are-not-same-compares smart pointers.

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)

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::AreNotSameImpl(const char *, const char *, const T1&, const T2&, int) function

Are-not-same-compares non-pointer values.

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)

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.

Return Value

gtest-styled assertion result.

See Also