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);
1306 AssertionResult CmpHelperEQ(const char* expected_expression,
1336 GTEST_API_ AssertionResult CmpHelperEQ(const char* expected_expression,
1350 static AssertionResult Compare(const char* expected_expression,
1364 static AssertionResult Compare(const char* expected_expression,
1383 static AssertionResult Compare(
1401 static AssertionResult Compare(
1430 AssertionResult CmpHelper##op_name(const char* expr1, const char* expr2, \
1441 GTEST_API_ AssertionResult CmpHelper##op_name(\
1462 GTEST_API_ AssertionResult CmpHelperSTREQ(const char* expected_expression,
1470 GTEST_API_ AssertionResult CmpHelperSTRCASEEQ(const char* expected_expression,
1478 GTEST_API_ AssertionResult CmpHelperSTRNE(const char* s1_expression,
1486 GTEST_API_ AssertionResult CmpHelperSTRCASENE(const char* s1_expression,
1495 GTEST_API_ AssertionResult CmpHelperSTREQ(const char* expected_expression,
1503 GTEST_API_ AssertionResult CmpHelperSTRNE(const char* s1_expression,
1518 GTEST_API_ AssertionResult IsSubstring(
1521 GTEST_API_ AssertionResult IsSubstring(
1524 GTEST_API_ AssertionResult IsNotSubstring(
1527 GTEST_API_ AssertionResult IsNotSubstring(
1530 GTEST_API_ AssertionResult IsSubstring(
1533 GTEST_API_ AssertionResult IsNotSubstring(
1538 GTEST_API_ AssertionResult IsSubstring(
1541 GTEST_API_ AssertionResult IsNotSubstring(
1556 AssertionResult CmpHelperFloatingPointEQ(const char* expected_expression,
1584 GTEST_API_ AssertionResult DoubleNearPredFormat(const char* expr1,
1783 // AssertionResult. For more information on how to use AssertionResult with
1984 GTEST_API_ AssertionResult FloatLE(const char* expr1, const char* expr2,
1986 GTEST_API_ AssertionResult DoubleLE(const char* expr1, const char* expr2,