Searched refs:ASSERT_THROW (Results 1 - 2 of 2) sorted by relevance
/gem5/ext/googletest/googletest/test/ |
H A D | gtest_unittest.cc | 3762 // Tests ASSERT_THROW. 3763 TEST(AssertionTest, ASSERT_THROW) { 3764 ASSERT_THROW(ThrowAnInteger(), int); 3770 ASSERT_THROW(ThrowAnInteger(), bool), 3776 ASSERT_THROW(ThrowNothing(), bool), 4182 ASSERT_THROW(ThrowAString(), const char*); 6712 ASSERT_THROW(ThrowAnInteger(), int) << "unexpected failure"; 6715 EXPECT_FATAL_FAILURE(ASSERT_THROW(ThrowAnInteger(), bool) <<
|
/gem5/ext/googletest/googletest/include/gtest/ |
H A D | gtest.h | 1849 #define ASSERT_THROW(statement, expected_exception) \ macro
|
Completed in 20 milliseconds