Lines Matching defs:AssertionResult

178 // the assertion wasn't successful, the AssertionResult object
192 // testing::AssertionResult IsEven(int n) {
219 // testing::AssertionResult IsEven(int n) {
243 // testing::AssertionResult IsEven(const char* expr, int n) {
256 class GTEST_API_ AssertionResult {
260 AssertionResult(const AssertionResult& other);
269 // the argument is implicitly convertible to AssertionResult. In that case
270 // we want AssertionResult's copy constructor to be used.
272 explicit AssertionResult(
275 !internal::ImplicitlyConvertible<T, AssertionResult>::value>::type*
282 AssertionResult& operator=(AssertionResult other) {
291 AssertionResult operator!() const;
293 // Returns the text streamed into this AssertionResult. Test assertions
305 template <typename T> AssertionResult& operator<<(const T& value) {
312 AssertionResult& operator<<(
326 // Swap the contents of this AssertionResult with other.
327 void swap(AssertionResult& other);
339 GTEST_API_ AssertionResult AssertionSuccess();
342 GTEST_API_ AssertionResult AssertionFailure();
346 GTEST_API_ AssertionResult AssertionFailure(const Message& msg);
1375 AssertionResult CmpHelperEQFailure(const char* lhs_expression,
1387 AssertionResult CmpHelperEQ(const char* lhs_expression,
1403 GTEST_API_ AssertionResult CmpHelperEQ(const char* lhs_expression,
1417 static AssertionResult Compare(const char* lhs_expression,
1430 static AssertionResult Compare(const char* lhs_expression,
1448 static AssertionResult Compare(
1465 static AssertionResult Compare(
1486 AssertionResult CmpHelperOpFailure(const char* expr1, const char* expr2,
1508 AssertionResult CmpHelper##op_name(const char* expr1, const char* expr2, \
1516 GTEST_API_ AssertionResult CmpHelper##op_name(\
1537 GTEST_API_ AssertionResult CmpHelperSTREQ(const char* s1_expression,
1545 GTEST_API_ AssertionResult CmpHelperSTRCASEEQ(const char* s1_expression,
1553 GTEST_API_ AssertionResult CmpHelperSTRNE(const char* s1_expression,
1561 GTEST_API_ AssertionResult CmpHelperSTRCASENE(const char* s1_expression,
1570 GTEST_API_ AssertionResult CmpHelperSTREQ(const char* s1_expression,
1578 GTEST_API_ AssertionResult CmpHelperSTRNE(const char* s1_expression,
1593 GTEST_API_ AssertionResult IsSubstring(
1596 GTEST_API_ AssertionResult IsSubstring(
1599 GTEST_API_ AssertionResult IsNotSubstring(
1602 GTEST_API_ AssertionResult IsNotSubstring(
1605 GTEST_API_ AssertionResult IsSubstring(
1608 GTEST_API_ AssertionResult IsNotSubstring(
1613 GTEST_API_ AssertionResult IsSubstring(
1616 GTEST_API_ AssertionResult IsNotSubstring(
1631 AssertionResult CmpHelperFloatingPointEQ(const char* lhs_expression,
1659 GTEST_API_ AssertionResult DoubleNearPredFormat(const char* expr1,
1857 // AssertionResult. For more information on how to use AssertionResult with
2058 GTEST_API_ AssertionResult FloatLE(const char* expr1, const char* expr2,
2060 GTEST_API_ AssertionResult DoubleLE(const char* expr1, const char* expr2,