Namespaces | |
SharedPtrAsserts | |
Functions | |
template<typename T > | |
std::enable_if_t<!TypeTraits::IsEnumerable< T >::value, std::string > | PrintToString (const T &) |
template<typename T > | |
std::enable_if_t< TypeTraits::IsEnumerable< T >::value, std::string > | PrintToString (const T &value) |
std::string | PrintToString (std::nullptr_t) |
std::string | PrintToString (const Collections::Generic::IEnumerable< bool > &) |
template<typename T > | |
std::enable_if< System::Details::HasToString< T >::value, std::string >::type | PrintToStringImpl (const SharedPtr< T > &value, long long s) |
template<typename T > | |
std::enable_if< System::Details::HasToString< T >::value, std::string >::type | PrintToStringImpl (const WeakPtr< T > &value, long long s) |
template<typename T > | |
std::enable_if<!TypeTraits::has_print_to_method< T >::value &&System::Details::HasToString< T >::value, std::string >::type | PrintToStringImpl (const T &value, long long s) |
template<typename T > | |
std::enable_if< TypeTraits::has_print_to_method< T >::value &&!TypeTraits::IsEnumerable< T >::value, std::string >::type | PrintToStringImpl (const T &value, long long s) |
template<typename T > | |
std::enable_if< TypeTraits::has_print_to_method< T >::value &&TypeTraits::IsEnumerable< T >::value, std::string >::type | PrintToStringImpl (const T &value, long long s) |
template<typename T1 , typename T2 > | |
std::string | PrintToStringImpl (const std::pair< T1, T2 > &value, long long s) |
template<typename T1 , typename T2 > | |
std::string | PrintToStringImpl (const Collections::Generic::KeyValuePair< T1, T2 > &value, long long s) |
template<typename T > | |
std::enable_if< TypeTraits::IsCppContainer< T >::value &&!std::is_base_of< Object, T >::value, std::string >::type | PrintToStringImpl (const T &container, long long s) |
template<typename T > | |
std::string | PrintToStringImpl (const T &value, int s) |
template<typename T1 , typename T2 > | |
testing::AssertionResult | EqFailure (const char *lhs_expr, const char *rhs_expr, T1 &lhs, T2 &rhs) |
template<typename T1 , typename T2 > | |
testing::AssertionResult | NotEqFailure (const char *lhs_expr, const char *rhs_expr, T1 &lhs, T2 &rhs) |
template<typename T1 , typename T2 > | |
testing::AssertionResult | SameFailure (const char *lhs_expr, const char *rhs_expr, T1 &lhs, T2 &rhs) |
template<typename T1 , typename T2 > | |
testing::AssertionResult | NotSameFailure (const char *lhs_expr, const char *rhs_expr, T1 &lhs, T2 &rhs) |
testing::AssertionResult System::TestPredicates::Details::EqFailure | ( | const char * | lhs_expr, |
const char * | rhs_expr, | ||
T1 & | lhs, | ||
T2 & | rhs | ||
) |
Formats == assertion failure for output.
T1 | LHS value type. |
T2 | RHS value type. |
lhs_expr | LHS expression. |
rhs_expr | RHS expression. |
lhs | LHS value. |
rhs | RHS value. |
testing::AssertionResult System::TestPredicates::Details::NotEqFailure | ( | const char * | lhs_expr, |
const char * | rhs_expr, | ||
T1 & | lhs, | ||
T2 & | rhs | ||
) |
Formats != assertion failure for output.
T1 | LHS value type. |
T2 | RHS value type. |
lhs_expr | LHS expression. |
rhs_expr | RHS expression. |
lhs | LHS value. |
rhs | RHS value. |
testing::AssertionResult System::TestPredicates::Details::NotSameFailure | ( | const char * | lhs_expr, |
const char * | rhs_expr, | ||
T1 & | lhs, | ||
T2 & | rhs | ||
) |
Formats 'not same' assertion failure for output.
T1 | LHS value type. |
T2 | RHS value type. |
lhs_expr | LHS expression. |
rhs_expr | RHS expression. |
lhs | LHS value. |
rhs | RHS value. |
std::enable_if_t<!TypeTraits::IsEnumerable< T >::value, std::string > System::TestPredicates::Details::PrintToString | ( | const T & | value | ) |
std::enable_if_t< TypeTraits::IsEnumerable< T >::value, std::string > System::TestPredicates::Details::PrintToString | ( | const T & | value | ) |
|
inline |
Prints nullptr to string.
|
inline |
Prints IEnumerable<bool> collections to string by printing their elements (not more than 32).
T | Object type. |
value | Object to print. |
std::enable_if<System::Details::HasToString<T>::value, std::string>::type System::TestPredicates::Details::PrintToStringImpl | ( | const SharedPtr< T > & | value, |
long long | s | ||
) |
Prints System::Object subclass to string using ToString() method.
T | Final class type. |
value | Pointer to object to print. |
s | A service parameter which serves as a selector of function overload based on the type of this parameter; the value of the parameter is ignored |
value
is null. std::enable_if<System::Details::HasToString<T>::value, std::string>::type System::TestPredicates::Details::PrintToStringImpl | ( | const WeakPtr< T > & | value, |
long long | s | ||
) |
Prints System::Object subclass to string using ToString() method.
T | Final class type. |
value | Pointer to object to print. |
s | A service parameter which serves as a selector of function overload based on the type of this parameter; the value of the parameter is ignored |
value
is null. std::enable_if<!TypeTraits::has_print_to_method<T>::value && System::Details::HasToString<T>::value, std::string>::type System::TestPredicates::Details::PrintToStringImpl | ( | const T & | value, |
long long | s | ||
) |
Prints object to string using ToString() method.
T | Object type. |
value | Object to print. |
s | A service parameter which serves as a selector of function overload based on the type of this parameter; the value of the parameter is ignored |
std::enable_if<TypeTraits::has_print_to_method<T>::value && !TypeTraits::IsEnumerable<T>::value, std::string>::type System::TestPredicates::Details::PrintToStringImpl | ( | const T & | value, |
long long | s | ||
) |
Prints object to string using PrintTo method.
T | Object type. |
value | Object to print. |
s | A service parameter which serves as a selector of function overload based on the type of this parameter; the value of the parameter is ignored |
std::enable_if<TypeTraits::has_print_to_method<T>::value && TypeTraits::IsEnumerable<T>::value, std::string>::type System::TestPredicates::Details::PrintToStringImpl | ( | const T & | value, |
long long | s | ||
) |
Prints object to string using PrintTo method.
T | Object type. |
value | Object to print. |
s | A service parameter which serves as a selector of function overload based on the type of this parameter; the value of the parameter is ignored |
std::string System::TestPredicates::Details::PrintToStringImpl | ( | const std::pair< T1, T2 > & | value, |
long long | s | ||
) |
Prints pair to string.
T1 | First pair type argument. |
T2 | Second pair type argument. |
value | Object to print. |
s | A service parameter which serves as a selector of function overload based on the type of this parameter; the value of the parameter is ignored |
std::string System::TestPredicates::Details::PrintToStringImpl | ( | const Collections::Generic::KeyValuePair< T1, T2 > & | value, |
long long | s | ||
) |
Prints pair to string.
T1 | First pair type argument. |
T2 | Second pair type argument. |
value | Object to print. |
s | A service parameter which serves as a selector of function overload based on the type of this parameter; the value of the parameter is ignored |
std::enable_if<TypeTraits::IsCppContainer<T>::value && !std::is_base_of<Object, T>::value, std::string>::type System::TestPredicates::Details::PrintToStringImpl | ( | const T & | container, |
long long | s | ||
) |
Prints STL-style containers to string by printing their elements (not more than 32).
T | Object type. |
container | Object to print. |
s | A service parameter which serves as a selector of function overload based on the type of this parameter; the value of the parameter is ignored |
std::string System::TestPredicates::Details::PrintToStringImpl | ( | const T & | value, |
int | s | ||
) |
Prints other types to string by using gtest-provided functions.
T | Object type. |
value | Object to print. |
s | A service parameter which serves as a selector of function overload based on the type of this parameter; the value of the parameter is ignored |
testing::AssertionResult System::TestPredicates::Details::SameFailure | ( | const char * | lhs_expr, |
const char * | rhs_expr, | ||
T1 & | lhs, | ||
T2 & | rhs | ||
) |
Formats 'same' assertion failure for output.
T1 | LHS value type. |
T2 | RHS value type. |
lhs_expr | LHS expression. |
rhs_expr | RHS expression. |
lhs | LHS value. |
rhs | RHS value. |