Home
last modified time | relevance | path

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

/third_party/googletest/googletest/include/gtest/internal/
Dgtest-internal.h1394 #define GTEST_TEST_THROW_CATCH_STD_EXCEPTION_(statement, expected_exception) \
1397 expected_exception>::type>::type, \
1402 " throws an exception of type " #expected_exception \
1413 #define GTEST_TEST_THROW_CATCH_STD_EXCEPTION_(statement, expected_exception)
1417 #define GTEST_TEST_THROW_(statement, expected_exception, fail) \
1423 } catch (expected_exception const&) { \
1426 GTEST_TEST_THROW_CATCH_STD_EXCEPTION_(statement, expected_exception) \
1429 " throws an exception of type " #expected_exception \
1435 " throws an exception of type " #expected_exception \
/third_party/python/Lib/test/
Dtest_unicode_file_functions.py86 expected_exception=FileNotFoundError, argument
88 with self.assertRaises(expected_exception) as c:
Dtest_optparse.py83 expected_exception, argument
107 except expected_exception as err:
/third_party/mesa3d/.gitlab-ci/tests/
Dtest_lava_job_submitter.py253 def test_log_corruption(mock_sleep, data_sequence, expected_exception, mock_proxy): argument
257 with expected_exception:
/third_party/mesa3d/src/gtest/include/gtest/internal/
Dgtest-internal.h1260 #define GTEST_TEST_THROW_(statement, expected_exception, fail) \
1267 catch (expected_exception const&) { \
1273 #expected_exception ".\n Actual: it throws a different type."; \
1279 #expected_exception ".\n Actual: it throws nothing."; \
/third_party/mesa3d/src/gtest/include/gtest/
Dgtest.h1952 #define EXPECT_THROW(statement, expected_exception) \ argument
1953 GTEST_TEST_THROW_(statement, expected_exception, GTEST_NONFATAL_FAILURE_)
1958 #define ASSERT_THROW(statement, expected_exception) \ argument
1959 GTEST_TEST_THROW_(statement, expected_exception, GTEST_FATAL_FAILURE_)
/third_party/python/Lib/unittest/
Dcase.py710 def assertRaises(self, expected_exception, *args, **kwargs): argument
736 context = _AssertRaisesContext(expected_exception, self)
1277 def assertRaisesRegex(self, expected_exception, expected_regex, argument
1290 context = _AssertRaisesContext(expected_exception, self, expected_regex)
/third_party/googletest/googletest/include/gtest/
Dgtest.h1953 #define EXPECT_THROW(statement, expected_exception) \ argument
1954 GTEST_TEST_THROW_(statement, expected_exception, GTEST_NONFATAL_FAILURE_)
1959 #define ASSERT_THROW(statement, expected_exception) \ argument
1960 GTEST_TEST_THROW_(statement, expected_exception, GTEST_FATAL_FAILURE_)
/third_party/cef/tools/distrib/gtest/
Dgtest.h4777 #define GTEST_TEST_THROW_CATCH_STD_EXCEPTION_(statement, expected_exception) \
4780 expected_exception>::type>::type, \
4785 " throws an exception of type " #expected_exception \
4796 #define GTEST_TEST_THROW_CATCH_STD_EXCEPTION_(statement, expected_exception)
4800 #define GTEST_TEST_THROW_(statement, expected_exception, fail) \
4806 } catch (expected_exception const&) { \
4809 GTEST_TEST_THROW_CATCH_STD_EXCEPTION_(statement, expected_exception) \
4812 " throws an exception of type " #expected_exception \
4818 " throws an exception of type " #expected_exception \
11834 #define EXPECT_THROW(statement, expected_exception) \
[all …]