/aosp_15_r20/external/fmtlib/test/ |
H A D | gtest-extra.h | 18 #define FMT_TEST_THROW_(statement, expected_exception, expected_message, fail) \ argument 25 } catch (expected_exception const& e) { \ 36 " throws an exception of type " #expected_exception \ 42 " throws an exception of type " #expected_exception \ 52 #define EXPECT_THROW_MSG(statement, expected_exception, expected_message) \ argument 53 FMT_TEST_THROW_(statement, expected_exception, expected_message, \
|
/aosp_15_r20/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)
|
/aosp_15_r20/external/pytorch/test/distributed/ |
H A D | test_collective_utils.py | 73 expected_exception = "test exception" 74 with self.assertRaisesRegex(Exception, expected_exception): 114 expected_exception = "test exception" 115 with self.assertRaisesRegex(Exception, expected_exception):
|
/aosp_15_r20/external/autotest/client/common_lib/hosts/ |
H A D | repair_unittest.py | 539 expected_exception = hosts.AutoservVerifyDependencyError 540 with self.assertRaises(expected_exception) as e: 601 expected_exception = hosts.AutoservVerifyDependencyError 602 with self.assertRaises(expected_exception) as e: 637 expected_exception = hosts.AutoservVerifyDependencyError 638 with self.assertRaises(expected_exception) as e: 720 expected_exception = hosts.AutoservVerifyDependencyError 721 with self.assertRaises(expected_exception) as e: 918 expected_exception = hosts.AutoservVerifyDependencyError 919 with self.assertRaises(expected_exception) as e:
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/site-packages/setuptools/_vendor/pyparsing/ |
D | testing.py | 195 expected_exception = next( 203 if expected_exception is not None: 205 expected_exception=expected_exception, msg=fail_msg or msg
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/site-packages/pip/_vendor/pyparsing/ |
D | testing.py | 195 expected_exception = next( 203 if expected_exception is not None: 205 expected_exception=expected_exception, msg=fail_msg or msg
|
/aosp_15_r20/external/tensorflow/tensorflow/python/framework/ |
H A D | errors_test.py | 147 for code, expected_exception in [ 165 with self.assertRaises(expected_exception) as error: 173 for code, expected_exception in [ 191 with self.assertRaises(expected_exception) as error:
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/site-packages/pkg_resources/_vendor/pyparsing/ |
D | testing.py | 195 expected_exception = next( 203 if expected_exception is not None: 205 expected_exception=expected_exception, msg=fail_msg or msg
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/site-packages/pkg_resources/_vendor/pyparsing/ |
D | testing.py | 195 expected_exception = next( 203 if expected_exception is not None: 205 expected_exception=expected_exception, msg=fail_msg or msg
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/site-packages/pkg_resources/_vendor/pyparsing/ |
D | testing.py | 195 expected_exception = next( 203 if expected_exception is not None: 205 expected_exception=expected_exception, msg=fail_msg or msg
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/site-packages/setuptools/_vendor/pyparsing/ |
D | testing.py | 195 expected_exception = next( 203 if expected_exception is not None: 205 expected_exception=expected_exception, msg=fail_msg or msg
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/site-packages/pip/_vendor/pyparsing/ |
D | testing.py | 195 expected_exception = next( 203 if expected_exception is not None: 205 expected_exception=expected_exception, msg=fail_msg or msg
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/site-packages/pip/_vendor/pyparsing/ |
D | testing.py | 195 expected_exception = next( 203 if expected_exception is not None: 205 expected_exception=expected_exception, msg=fail_msg or msg
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/site-packages/setuptools/_vendor/pyparsing/ |
D | testing.py | 195 expected_exception = next( 203 if expected_exception is not None: 205 expected_exception=expected_exception, msg=fail_msg or msg
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/site-packages/pkg_resources/_vendor/pyparsing/ |
D | testing.py | 195 expected_exception = next( 203 if expected_exception is not None: 205 expected_exception=expected_exception, msg=fail_msg or msg
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/site-packages/pip/_vendor/pyparsing/ |
D | testing.py | 195 expected_exception = next( 203 if expected_exception is not None: 205 expected_exception=expected_exception, msg=fail_msg or msg
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/site-packages/setuptools/_vendor/pyparsing/ |
D | testing.py | 195 expected_exception = next( 203 if expected_exception is not None: 205 expected_exception=expected_exception, msg=fail_msg or msg
|
/aosp_15_r20/external/python/mobly/mobly/ |
D | asserts.py | 263 def assert_raises(expected_exception, extras=None, *args, **kwargs): argument 279 context = _AssertRaisesContext(expected_exception, extras=extras) 284 expected_exception, expected_regex, extras=None, *args, **kwargs argument 304 expected_exception, expected_regex, extras=extras
|
/aosp_15_r20/prebuilts/vndk/v33/x86_64/include/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 \
|
/aosp_15_r20/prebuilts/vndk/v34/x86_64/include/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 \
|
/aosp_15_r20/external/cronet/third_party/boringssl/src/third_party/googletest/googletest/include/gtest/internal/ |
H A D | gtest-internal.h | 1383 #define GTEST_TEST_THROW_CATCH_STD_EXCEPTION_(statement, expected_exception) \ 1386 expected_exception>::type>::type, \ 1391 " throws an exception of type " #expected_exception \ 1402 #define GTEST_TEST_THROW_CATCH_STD_EXCEPTION_(statement, expected_exception) 1406 #define GTEST_TEST_THROW_(statement, expected_exception, fail) \ 1412 } catch (expected_exception const&) { \ 1415 GTEST_TEST_THROW_CATCH_STD_EXCEPTION_(statement, expected_exception) \ 1418 " throws an exception of type " #expected_exception \ 1424 " throws an exception of type " #expected_exception \
|
/aosp_15_r20/external/libaom/third_party/googletest/src/googletest/include/gtest/internal/ |
H A D | gtest-internal.h | 1395 #define GTEST_TEST_THROW_CATCH_STD_EXCEPTION_(statement, expected_exception) \ 1398 expected_exception>::type>::type, \ 1403 " throws an exception of type " #expected_exception \ 1414 #define GTEST_TEST_THROW_CATCH_STD_EXCEPTION_(statement, expected_exception) 1418 #define GTEST_TEST_THROW_(statement, expected_exception, fail) \ 1424 } catch (expected_exception const&) { \ 1427 GTEST_TEST_THROW_CATCH_STD_EXCEPTION_(statement, expected_exception) \ 1430 " throws an exception of type " #expected_exception \ 1436 " throws an exception of type " #expected_exception \
|
/aosp_15_r20/external/libvpx/third_party/googletest/src/include/gtest/internal/ |
H A D | gtest-internal.h | 1395 #define GTEST_TEST_THROW_CATCH_STD_EXCEPTION_(statement, expected_exception) \ 1398 expected_exception>::type>::type, \ 1403 " throws an exception of type " #expected_exception \ 1414 #define GTEST_TEST_THROW_CATCH_STD_EXCEPTION_(statement, expected_exception) 1418 #define GTEST_TEST_THROW_(statement, expected_exception, fail) \ 1424 } catch (expected_exception const&) { \ 1427 GTEST_TEST_THROW_CATCH_STD_EXCEPTION_(statement, expected_exception) \ 1430 " throws an exception of type " #expected_exception \ 1436 " throws an exception of type " #expected_exception \
|
/aosp_15_r20/external/cronet/third_party/googletest/src/googletest/include/gtest/internal/ |
H A D | gtest-internal.h | 1344 #define GTEST_TEST_THROW_CATCH_STD_EXCEPTION_(statement, expected_exception) \ 1347 expected_exception>::type>::type, \ 1352 " throws an exception of type " #expected_exception \ 1363 #define GTEST_TEST_THROW_CATCH_STD_EXCEPTION_(statement, expected_exception) 1367 #define GTEST_TEST_THROW_(statement, expected_exception, fail) \ 1373 } catch (expected_exception const&) { \ 1376 GTEST_TEST_THROW_CATCH_STD_EXCEPTION_(statement, expected_exception) \ 1379 " throws an exception of type " #expected_exception \ 1385 " throws an exception of type " #expected_exception \
|
/aosp_15_r20/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 \
|