Home
last modified time | relevance | path

Searched refs:expected_exception (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/lldb/third_party/Python/module/unittest2/unittest2/
H A Dcase.py1061 def assertRaisesRegexp(self, expected_exception, expected_regexp, argument
1075 expected_exception, self, expected_regexp)
1078 except expected_exception as exc_value:
1086 if hasattr(expected_exception, '__name__'):
1087 excName = expected_exception.__name__
1089 excName = str(expected_exception)
/llvm-project-15.0.7/llvm/utils/unittest/googletest/include/gtest/internal/
H A Dgtest-internal.h1264 #define GTEST_TEST_THROW_(statement, expected_exception, fail) \
1271 catch (expected_exception const&) { \
1277 #expected_exception ".\n Actual: it throws a different type."; \
1283 #expected_exception ".\n Actual: it throws nothing."; \
/llvm-project-15.0.7/llvm/utils/unittest/googletest/include/gtest/
H A Dgtest.h1951 #define EXPECT_THROW(statement, expected_exception) \ argument
1952 GTEST_TEST_THROW_(statement, expected_exception, GTEST_NONFATAL_FAILURE_)
1957 #define ASSERT_THROW(statement, expected_exception) \ argument
1958 GTEST_TEST_THROW_(statement, expected_exception, GTEST_FATAL_FAILURE_)
/llvm-project-15.0.7/libc/test/src/math/
H A DFModTest.h20 #define TEST_SPECIAL(x, y, expected, dom_err, expected_exception) \ argument
23 EXPECT_FP_EXCEPTION(expected_exception); \