Home | History | Annotate | Download | only in test

Lines Matching refs:EXPECT_THROW

3578   // successful EXPECT_THROW
3579 EXPECT_THROW({ // NOLINT
3585 // failed EXPECT_THROW, throws different
3586 EXPECT_NONFATAL_FAILURE(EXPECT_THROW({ // NOLINT
3592 // failed EXPECT_THROW, throws nothing
3593 EXPECT_NONFATAL_FAILURE(EXPECT_THROW(a_++, bool), "throws nothing");
4184 // EXPECT_THROW/EXPECT_ANY_THROW/EXPECT_NO_THROW macros.
4188 EXPECT_THROW(throw 1, int);
4189 EXPECT_NONFATAL_FAILURE(EXPECT_THROW(n++, int), "");
4190 EXPECT_NONFATAL_FAILURE(EXPECT_THROW(throw 1, const char*), "");
4199 EXPECT_THROW(ThrowNothing(), bool);
4202 EXPECT_THROW(ThrowAnInteger(), int);
4284 EXPECT_THROW(ThrowAString(), const char*);
4473 // Tests EXPECT_THROW.
4474 TEST(ExpectTest, EXPECT_THROW) {
4475 EXPECT_THROW(ThrowAnInteger(), int);
4476 EXPECT_NONFATAL_FAILURE(EXPECT_THROW(ThrowAnInteger(), bool),
4480 EXPECT_THROW(ThrowNothing(), bool),
6268 EXPECT_THROW(ThrowAnInteger(), int) << "unexpected failure";
6270 EXPECT_NONFATAL_FAILURE(EXPECT_THROW(ThrowAnInteger(), bool) <<