/external/fmtlib/test/ |
D | gtest-extra.h | 16 #define FMT_TEST_THROW_(statement, expected_exception, expected_message, fail) \ argument 23 } catch (expected_exception const& e) { \ 34 " throws an exception of type " #expected_exception \ 40 " throws an exception of type " #expected_exception \ 50 #define EXPECT_THROW_MSG(statement, expected_exception, expected_message) \ argument 51 FMT_TEST_THROW_(statement, expected_exception, expected_message, \
|
/external/python/python-api-core/tests/unit/ |
D | test_operation.py | 142 expected_exception = status_pb2.Status(message="meep") 146 make_operation_proto(done=True, error=expected_exception), 152 assert expected_exception.message in "{!r}".format(exception) 156 expected_exception = status_pb2.Status(message="meep", code=5) 160 make_operation_proto(done=True, error=expected_exception), 166 assert expected_exception.message in "{!r}".format(exception)
|
/external/autotest/client/common_lib/hosts/ |
D | repair_unittest.py | 521 expected_exception = hosts.AutoservVerifyDependencyError 522 with self.assertRaises(expected_exception) as e: 583 expected_exception = hosts.AutoservVerifyDependencyError 584 with self.assertRaises(expected_exception) as e: 619 expected_exception = hosts.AutoservVerifyDependencyError 620 with self.assertRaises(expected_exception) as e: 702 expected_exception = hosts.AutoservVerifyDependencyError 703 with self.assertRaises(expected_exception) as e: 900 expected_exception = hosts.AutoservVerifyDependencyError 901 with self.assertRaises(expected_exception) as e:
|
/external/python/mobly/mobly/ |
D | asserts.py | 295 def assert_raises(expected_exception, extras=None, *args, **kwargs): argument 311 context = _AssertRaisesContext(expected_exception, extras=extras) 315 def assert_raises_regex(expected_exception, argument 337 context = _AssertRaisesContext(expected_exception,
|
/external/python/python-api-core/tests/asyncio/ |
D | test_operation_async.py | 146 expected_exception = status_pb2.Status(message="meep") 150 make_operation_proto(done=True, error=expected_exception), 156 assert expected_exception.message in "{!r}".format(exception)
|
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/include/gtest/internal/ |
D | gtest-internal.h | 1398 #define GTEST_TEST_THROW_CATCH_STD_EXCEPTION_(statement, expected_exception) \ 1401 expected_exception>::type>::type, \ 1406 " throws an exception of type " #expected_exception \ 1417 #define GTEST_TEST_THROW_CATCH_STD_EXCEPTION_(statement, expected_exception) 1421 #define GTEST_TEST_THROW_(statement, expected_exception, fail) \ 1427 } catch (expected_exception const&) { \ 1430 GTEST_TEST_THROW_CATCH_STD_EXCEPTION_(statement, expected_exception) \ 1433 " throws an exception of type " #expected_exception \ 1439 " throws an exception of type " #expected_exception \
|
/external/googletest/googletest/include/gtest/internal/ |
D | gtest-internal.h | 1394 #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 \
|
/external/python/cpython3/Lib/test/ |
D | test_unicode_file_functions.py | 86 expected_exception=FileNotFoundError, argument 88 with self.assertRaises(expected_exception) as c:
|
/external/python/asn1crypto/tests/ |
D | _unittest_compat.py | 107 def _assert_raises_regex(self, expected_exception, expected_regexp, callable_obj=None, *args, **kwa… argument 110 context = _AssertRaisesContext(expected_exception, self, expected_regexp)
|
/external/python/cpython2/Lib/test/ |
D | test_pep277.py | 93 def _apply_failure(self, fn, filename, expected_exception, argument 95 with self.assertRaises(expected_exception) as c:
|
D | test_optparse.py | 84 expected_exception, argument 108 except expected_exception, err:
|
/external/tensorflow/tensorflow/python/framework/ |
D | errors_test.py | 151 for code, expected_exception in [ 169 with self.assertRaises(expected_exception) as error:
|
/external/llvm/utils/unittest/googletest/include/gtest/internal/ |
D | gtest-internal.h | 1143 #define GTEST_TEST_THROW_(statement, expected_exception, fail) \ 1150 catch (expected_exception const&) { \ 1156 #expected_exception ".\n Actual: it throws a different type."; \ 1162 #expected_exception ".\n Actual: it throws nothing."; \
|
/external/mesa3d/src/gtest/include/gtest/internal/ |
D | gtest-internal.h | 1260 #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."; \
|
/external/llvm/utils/unittest/googletest/include/gtest/ |
D | gtest.h | 1771 #define EXPECT_THROW(statement, expected_exception) \ argument 1772 GTEST_TEST_THROW_(statement, expected_exception, GTEST_NONFATAL_FAILURE_) 1777 #define ASSERT_THROW(statement, expected_exception) \ argument 1778 GTEST_TEST_THROW_(statement, expected_exception, GTEST_FATAL_FAILURE_)
|
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/ |
D | gtest-internal.h | 1289 #define GTEST_TEST_THROW_(statement, expected_exception, fail) \ 1296 catch (expected_exception const&) { \ 1302 #expected_exception ".\n Actual: it throws a different type."; \ 1308 #expected_exception ".\n Actual: it throws nothing."; \
|
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/internal/ |
D | gtest-internal.h | 1298 #define GTEST_TEST_THROW_(statement, expected_exception, fail) \ 1304 } catch (expected_exception const &) { \ 1308 " throws an exception of type " #expected_exception \ 1314 " throws an exception of type " #expected_exception \
|
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/ |
D | gtest.h | 1956 #define EXPECT_THROW(statement, expected_exception) \ argument 1957 GTEST_TEST_THROW_(statement, expected_exception, GTEST_NONFATAL_FAILURE_) 1962 #define ASSERT_THROW(statement, expected_exception) \ argument 1963 GTEST_TEST_THROW_(statement, expected_exception, GTEST_FATAL_FAILURE_)
|
/external/googletest/googletest/include/gtest/ |
D | gtest.h | 1949 #define EXPECT_THROW(statement, expected_exception) \ argument 1950 GTEST_TEST_THROW_(statement, expected_exception, GTEST_NONFATAL_FAILURE_) 1955 #define ASSERT_THROW(statement, expected_exception) \ argument 1956 GTEST_TEST_THROW_(statement, expected_exception, GTEST_FATAL_FAILURE_)
|
/external/mesa3d/src/gtest/include/gtest/ |
D | gtest.h | 1952 #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_)
|
/external/python/cpython3/Lib/unittest/ |
D | case.py | 710 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)
|
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/include/gtest/ |
D | gtest.h | 1964 #define EXPECT_THROW(statement, expected_exception) \ argument 1965 GTEST_TEST_THROW_(statement, expected_exception, GTEST_NONFATAL_FAILURE_) 1970 #define ASSERT_THROW(statement, expected_exception) \ argument 1971 GTEST_TEST_THROW_(statement, expected_exception, GTEST_FATAL_FAILURE_)
|
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/ |
D | gtest.h | 1931 #define EXPECT_THROW(statement, expected_exception) \ argument 1932 GTEST_TEST_THROW_(statement, expected_exception, GTEST_NONFATAL_FAILURE_) 1937 #define ASSERT_THROW(statement, expected_exception) \ argument 1938 GTEST_TEST_THROW_(statement, expected_exception, GTEST_FATAL_FAILURE_)
|
/external/python/cpython2/Lib/unittest/ |
D | case.py | 976 def assertRaisesRegexp(self, expected_exception, expected_regexp, argument 990 context = _AssertRaisesContext(expected_exception, self, expected_regexp)
|
/external/tensorflow/tensorflow/python/autograph/impl/ |
D | api_test.py | 1271 for code, expected_exception in [ 1289 with self.assertRaises(expected_exception) as error:
|