Lines Matching refs:ASSERT_THAT
2620 // Tests that ASSERT_THAT() and EXPECT_THAT() work when the value
2623 ASSERT_THAT(5, Ge(2)) << "This should succeed.";
2624 ASSERT_THAT("Foo", EndsWith("oo"));
2629 // Tests that ASSERT_THAT() and EXPECT_THAT() work when the value
2642 EXPECT_FATAL_FAILURE(ASSERT_THAT(n, ::testing::Gt(10)),
2654 // Tests that ASSERT_THAT() and EXPECT_THAT() work when the argument
2662 EXPECT_FATAL_FAILURE(ASSERT_THAT(n, ::testing::Not(::testing::Ref(n))),
2666 EXPECT_FATAL_FAILURE(ASSERT_THAT(n, ::testing::Not(::testing::Ref(n))),
2671 // Tests that ASSERT_THAT() and EXPECT_THAT() work when the matcher is
2674 // ASSERT_THAT("hello", starts_with_he) fails to compile with Nokia's
2680 // With ASSERT_THAT("hello"...) changed to ASSERT_THAT(string("hello") ... )
2686 ASSERT_THAT("hello", starts_with_he);
2689 ASSERT_THAT("book", ends_with_ok);