Home | History | Annotate | Download | only in test

Lines Matching refs:EXPECT_THROW

3317   // successful EXPECT_THROW
3318 EXPECT_THROW({ // NOLINT
3324 // failed EXPECT_THROW, throws different
3325 EXPECT_NONFATAL_FAILURE(EXPECT_THROW({ // NOLINT
3331 // failed EXPECT_THROW, throws nothing
3332 EXPECT_NONFATAL_FAILURE(EXPECT_THROW(a_++, bool), "throws nothing");
3994 // EXPECT_THROW/EXPECT_ANY_THROW/EXPECT_NO_THROW macros.
3998 EXPECT_THROW(throw 1, int);
3999 EXPECT_NONFATAL_FAILURE(EXPECT_THROW(n++, int), "");
4000 EXPECT_NONFATAL_FAILURE(EXPECT_THROW(throw 1, const char*), "");
4009 EXPECT_THROW(ThrowNothing(), bool);
4012 EXPECT_THROW(ThrowAnInteger(), int);
4094 EXPECT_THROW(ThrowAString(), const char*);
4417 // Tests EXPECT_THROW.
4418 TEST(ExpectTest, EXPECT_THROW) {
4419 EXPECT_THROW(ThrowAnInteger(), int);
4420 EXPECT_NONFATAL_FAILURE(EXPECT_THROW(ThrowAnInteger(), bool),
4424 EXPECT_THROW(ThrowNothing(), bool),
6442 EXPECT_THROW(ThrowAnInteger(), int) << "unexpected failure";
6444 EXPECT_NONFATAL_FAILURE(EXPECT_THROW(ThrowAnInteger(), bool) <<