Searched refs:expected_exception (Results 1 – 2 of 2) sorted by relevance
777 #define GTEST_TEST_THROW_(statement, expected_exception, fail) \ argument784 catch (expected_exception const&) { \789 #expected_exception ".\n Actual: it throws a different " \795 #expected_exception ".\n Actual: it throws nothing."; \
1050 #define EXPECT_THROW(statement, expected_exception) \ argument1051 GTEST_TEST_THROW_(statement, expected_exception, GTEST_NONFATAL_FAILURE_)1056 #define ASSERT_THROW(statement, expected_exception) \ argument1057 GTEST_TEST_THROW_(statement, expected_exception, GTEST_FATAL_FAILURE_)