Home
last modified time | relevance | path

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

/external/autotest/client/common_lib/hosts/
Drepair_unittest.py494 expected_exception = hosts.AutoservVerifyDependencyError
495 with self.assertRaises(expected_exception) as e:
556 expected_exception = hosts.AutoservVerifyDependencyError
557 with self.assertRaises(expected_exception) as e:
592 expected_exception = hosts.AutoservVerifyDependencyError
593 with self.assertRaises(expected_exception) as e:
675 expected_exception = hosts.AutoservVerifyDependencyError
676 with self.assertRaises(expected_exception) as e:
873 expected_exception = hosts.AutoservVerifyDependencyError
874 with self.assertRaises(expected_exception) as e:
/external/v8/tools/testrunner/outproc/
Dtest262.py12 def __init__(self, expected_outcomes, expected_exception=None): argument
14 self._expected_exception = expected_exception
/external/python/cpython3/Lib/test/
Dtest_unicode_file_functions.py85 expected_exception=FileNotFoundError, argument
87 with self.assertRaises(expected_exception) as c:
Dtest_optparse.py82 expected_exception, argument
106 except expected_exception as err:
/external/python/cpython2/Lib/test/
Dtest_pep277.py93 def _apply_failure(self, fn, filename, expected_exception, argument
95 with self.assertRaises(expected_exception) as c:
Dtest_optparse.py84 expected_exception, argument
108 except expected_exception, err:
/external/google-breakpad/src/testing/gtest/include/gtest/internal/
Dgtest-internal.h1120 #define GTEST_TEST_THROW_(statement, expected_exception, fail) \
1127 catch (expected_exception const&) { \
1133 #expected_exception ".\n Actual: it throws a different type."; \
1139 #expected_exception ".\n Actual: it throws nothing."; \
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/include/gtest/internal/
Dgtest-internal.h1134 #define GTEST_TEST_THROW_(statement, expected_exception, fail) \
1141 catch (expected_exception const&) { \
1147 #expected_exception ".\n Actual: it throws a different type."; \
1153 #expected_exception ".\n Actual: it throws nothing."; \
/external/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-internal.h1143 #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/
Dgtest-internal.h1124 #define GTEST_TEST_THROW_(statement, expected_exception, fail) \
1131 catch (expected_exception const&) { \
1137 #expected_exception ".\n Actual: it throws a different type."; \
1143 #expected_exception ".\n Actual: it throws nothing."; \
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-internal.h1124 #define GTEST_TEST_THROW_(statement, expected_exception, fail) \
1131 catch (expected_exception const&) { \
1137 #expected_exception ".\n Actual: it throws a different type."; \
1143 #expected_exception ".\n Actual: it throws nothing."; \
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/internal/
Dgtest-internal.h1124 #define GTEST_TEST_THROW_(statement, expected_exception, fail) \
1131 catch (expected_exception const&) { \
1137 #expected_exception ".\n Actual: it throws a different type."; \
1143 #expected_exception ".\n Actual: it throws nothing."; \
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/internal/
Dgtest-internal.h1217 #define GTEST_TEST_THROW_(statement, expected_exception, fail) \
1224 catch (expected_exception const&) { \
1230 #expected_exception ".\n Actual: it throws a different type."; \
1236 #expected_exception ".\n Actual: it throws nothing."; \
/external/google-breakpad/src/testing/gtest/include/gtest/
Dgtest.h1771 #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/llvm/utils/unittest/googletest/include/gtest/
Dgtest.h1771 #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/swiftshader/third_party/LLVM/utils/unittest/googletest/include/gtest/
Dgtest.h1769 #define EXPECT_THROW(statement, expected_exception) \ argument
1770 GTEST_TEST_THROW_(statement, expected_exception, GTEST_NONFATAL_FAILURE_)
1775 #define ASSERT_THROW(statement, expected_exception) \ argument
1776 GTEST_TEST_THROW_(statement, expected_exception, GTEST_FATAL_FAILURE_)
/external/googletest/googletest/include/gtest/internal/
Dgtest-internal.h1309 #define GTEST_TEST_THROW_(statement, expected_exception, fail) \
1316 catch (expected_exception const&) { \
1322 #expected_exception ".\n Actual: it throws a different type."; \
1328 #expected_exception ".\n Actual: it throws nothing."; \
/external/mesa3d/src/gtest/include/gtest/
Dgtest.h1843 #define EXPECT_THROW(statement, expected_exception) \ argument
1844 GTEST_TEST_THROW_(statement, expected_exception, GTEST_NONFATAL_FAILURE_)
1849 #define ASSERT_THROW(statement, expected_exception) \ argument
1850 GTEST_TEST_THROW_(statement, expected_exception, GTEST_FATAL_FAILURE_)
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/
Dgtest.h1843 #define EXPECT_THROW(statement, expected_exception) \ argument
1844 GTEST_TEST_THROW_(statement, expected_exception, GTEST_NONFATAL_FAILURE_)
1849 #define ASSERT_THROW(statement, expected_exception) \ argument
1850 GTEST_TEST_THROW_(statement, expected_exception, GTEST_FATAL_FAILURE_)
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/include/gtest/
Dgtest.h1843 #define EXPECT_THROW(statement, expected_exception) \ argument
1844 GTEST_TEST_THROW_(statement, expected_exception, GTEST_NONFATAL_FAILURE_)
1849 #define ASSERT_THROW(statement, expected_exception) \ argument
1850 GTEST_TEST_THROW_(statement, expected_exception, GTEST_FATAL_FAILURE_)
/external/googletest/googletest/include/gtest/
Dgtest.h1942 #define EXPECT_THROW(statement, expected_exception) \ argument
1943 GTEST_TEST_THROW_(statement, expected_exception, GTEST_NONFATAL_FAILURE_)
1948 #define ASSERT_THROW(statement, expected_exception) \ argument
1949 GTEST_TEST_THROW_(statement, expected_exception, GTEST_FATAL_FAILURE_)
/external/libvpx/libvpx/third_party/googletest/src/include/gtest/
Dgtest.h1888 #define EXPECT_THROW(statement, expected_exception) \ argument
1889 GTEST_TEST_THROW_(statement, expected_exception, GTEST_NONFATAL_FAILURE_)
1894 #define ASSERT_THROW(statement, expected_exception) \ argument
1895 GTEST_TEST_THROW_(statement, expected_exception, GTEST_FATAL_FAILURE_)
/external/python/cpython3/Lib/unittest/
Dcase.py715 def assertRaises(self, expected_exception, *args, **kwargs): argument
741 context = _AssertRaisesContext(expected_exception, self)
1271 def assertRaisesRegex(self, expected_exception, expected_regex, argument
1284 context = _AssertRaisesContext(expected_exception, self, expected_regex)
/external/python/cpython2/Lib/unittest/
Dcase.py976 def assertRaisesRegexp(self, expected_exception, expected_regexp, argument
990 context = _AssertRaisesContext(expected_exception, self, expected_regexp)
/external/epid-sdk/ext/gtest/
Dgtest.h8870 #define GTEST_TEST_THROW_(statement, expected_exception, fail) \
8877 catch (expected_exception const&) { \
8883 #expected_exception ".\n Actual: it throws a different type."; \
8889 #expected_exception ".\n Actual: it throws nothing."; \
20453 #define EXPECT_THROW(statement, expected_exception) \
20454 GTEST_TEST_THROW_(statement, expected_exception, GTEST_NONFATAL_FAILURE_)
20459 #define ASSERT_THROW(statement, expected_exception) \
20460 GTEST_TEST_THROW_(statement, expected_exception, GTEST_FATAL_FAILURE_)