Searched refs:ASSERT_ANY_THROW (Results 1 - 2 of 2) sorted by relevance

/gem5/ext/googletest/googletest/include/gtest/
H A Dgtest.h1853 #define ASSERT_ANY_THROW(statement) \ macro
/gem5/ext/googletest/googletest/test/
H A Dgtest_unittest.cc3789 // Tests ASSERT_ANY_THROW.
3790 TEST(AssertionTest, ASSERT_ANY_THROW) {
3791 ASSERT_ANY_THROW(ThrowAnInteger());
3793 ASSERT_ANY_THROW(ThrowNothing()),
6730 ASSERT_ANY_THROW(ThrowAnInteger()) << "unexpected failure";
6733 EXPECT_FATAL_FAILURE(ASSERT_ANY_THROW(ThrowNothing()) <<

Completed in 19 milliseconds