Home | History | Annotate | Download | only in test

Lines Matching refs:ASSERT_THAT

2381 // Tests that ASSERT_THAT() and EXPECT_THAT() work when the value
2384 ASSERT_THAT(5, Ge(2)) << "This should succeed.";
2385 ASSERT_THAT("Foo", EndsWith("oo"));
2390 // Tests that ASSERT_THAT() and EXPECT_THAT() work when the value
2403 EXPECT_FATAL_FAILURE(ASSERT_THAT(n, ::testing::Gt(10)),
2415 // Tests that ASSERT_THAT() and EXPECT_THAT() work when the argument
2423 EXPECT_FATAL_FAILURE(ASSERT_THAT(n, ::testing::Not(::testing::Ref(n))),
2427 EXPECT_FATAL_FAILURE(ASSERT_THAT(n, ::testing::Not(::testing::Ref(n))),
2432 // Tests that ASSERT_THAT() and EXPECT_THAT() work when the matcher is
2435 // ASSERT_THAT("hello", starts_with_he) fails to compile with Nokia's
2441 // With ASSERT_THAT("hello"...) changed to ASSERT_THAT(string("hello") ... )
2447 ASSERT_THAT("hello", starts_with_he);
2450 ASSERT_THAT("book", ends_with_ok);