Searched refs:expected_exception (Results 1 – 2 of 2) sorted by relevance
1035 #define GTEST_TEST_THROW_(statement, expected_exception, fail) \1042 catch (expected_exception const&) { \1048 #expected_exception ".\n Actual: it throws a different type."; \1054 #expected_exception ".\n Actual: it throws nothing."; \
1867 #define EXPECT_THROW(statement, expected_exception) \ argument1868 GTEST_TEST_THROW_(statement, expected_exception, GTEST_NONFATAL_FAILURE_)1873 #define ASSERT_THROW(statement, expected_exception) \ argument1874 GTEST_TEST_THROW_(statement, expected_exception, GTEST_FATAL_FAILURE_)