Lines Matching refs:AssertionResult

187 // the assertion wasn't successful, the AssertionResult object
201 // testing::AssertionResult IsEven(int n) {
228 // testing::AssertionResult IsEven(int n) {
252 // testing::AssertionResult IsEven(const char* expr, int n) {
265 class GTEST_API_ AssertionResult {
269 AssertionResult(const AssertionResult& other);
271 explicit AssertionResult(bool success) : success_(success) {}
277 AssertionResult operator!() const;
279 // Returns the text streamed into this AssertionResult. Test assertions
291 template <typename T> AssertionResult& operator<<(const T& value) {
298 AssertionResult& operator<<(
320 GTEST_DISALLOW_ASSIGN_(AssertionResult);
324 GTEST_API_ AssertionResult AssertionSuccess();
327 GTEST_API_ AssertionResult AssertionFailure();
331 GTEST_API_ AssertionResult AssertionFailure(const Message& msg);
1307 AssertionResult CmpHelperEQ(const char* expected_expression,
1337 GTEST_API_ AssertionResult CmpHelperEQ(const char* expected_expression,
1351 static AssertionResult Compare(const char* expected_expression,
1365 static AssertionResult Compare(const char* expected_expression,
1384 static AssertionResult Compare(
1402 static AssertionResult Compare(
1431 AssertionResult CmpHelper##op_name(const char* expr1, const char* expr2, \
1442 GTEST_API_ AssertionResult CmpHelper##op_name(\
1463 GTEST_API_ AssertionResult CmpHelperSTREQ(const char* expected_expression,
1471 GTEST_API_ AssertionResult CmpHelperSTRCASEEQ(const char* expected_expression,
1479 GTEST_API_ AssertionResult CmpHelperSTRNE(const char* s1_expression,
1487 GTEST_API_ AssertionResult CmpHelperSTRCASENE(const char* s1_expression,
1496 GTEST_API_ AssertionResult CmpHelperSTREQ(const char* expected_expression,
1504 GTEST_API_ AssertionResult CmpHelperSTRNE(const char* s1_expression,
1519 GTEST_API_ AssertionResult IsSubstring(
1522 GTEST_API_ AssertionResult IsSubstring(
1525 GTEST_API_ AssertionResult IsNotSubstring(
1528 GTEST_API_ AssertionResult IsNotSubstring(
1531 GTEST_API_ AssertionResult IsSubstring(
1534 GTEST_API_ AssertionResult IsNotSubstring(
1539 GTEST_API_ AssertionResult IsSubstring(
1542 GTEST_API_ AssertionResult IsNotSubstring(
1557 AssertionResult CmpHelperFloatingPointEQ(const char* expected_expression,
1585 GTEST_API_ AssertionResult DoubleNearPredFormat(const char* expr1,
1784 // AssertionResult. For more information on how to use AssertionResult with
1985 GTEST_API_ AssertionResult FloatLE(const char* expr1, const char* expr2,
1987 GTEST_API_ AssertionResult DoubleLE(const char* expr1, const char* expr2,