Home
last modified time | relevance | path

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

/external/fmtlib/test/
Dgtest-extra.h44 #define FMT_TEST_THROW_(statement, expected_exception, expected_message, fail) \ argument
52 catch (expected_exception const& e) { \
65 #expected_exception ".\n Actual: it throws a different type."; \
71 #expected_exception ".\n Actual: it throws nothing."; \
80 #define EXPECT_THROW_MSG(statement, expected_exception, expected_message) \ argument
81 FMT_TEST_THROW_(statement, expected_exception, \
/external/autotest/client/common_lib/hosts/
Drepair_unittest.py482 expected_exception = hosts.AutoservVerifyDependencyError
483 with self.assertRaises(expected_exception) as e:
544 expected_exception = hosts.AutoservVerifyDependencyError
545 with self.assertRaises(expected_exception) as e:
580 expected_exception = hosts.AutoservVerifyDependencyError
581 with self.assertRaises(expected_exception) as e:
663 expected_exception = hosts.AutoservVerifyDependencyError
664 with self.assertRaises(expected_exception) as e:
849 expected_exception = hosts.AutoservVerifyDependencyError
850 with self.assertRaises(expected_exception) as e:
/external/protobuf/gtest/include/gtest/internal/
Dgtest-internal.h809 #define GTEST_TEST_THROW_(statement, expected_exception, fail) \ argument
816 catch (expected_exception const&) { \
821 #expected_exception ".\n Actual: it throws a different " \
827 #expected_exception ".\n Actual: it throws nothing."; \
/external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/internal/
Dgtest-internal.h1046 #define GTEST_TEST_THROW_(statement, expected_exception, fail) \
1053 catch (expected_exception const&) { \
1059 #expected_exception ".\n Actual: it throws a different type."; \
1065 #expected_exception ".\n Actual: it throws nothing."; \
/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.h1114 #define GTEST_TEST_THROW_(statement, expected_exception, fail) \
1121 catch (expected_exception const&) { \
1127 #expected_exception ".\n Actual: it throws a different type."; \
1133 #expected_exception ".\n Actual: it throws nothing."; \
/external/libvpx/libvpx/third_party/googletest/src/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/v8/testing/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/googletest/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/protobuf/gtest/include/gtest/
Dgtest.h1680 #define EXPECT_THROW(statement, expected_exception) \ argument
1681 GTEST_TEST_THROW_(statement, expected_exception, GTEST_NONFATAL_FAILURE_)
1686 #define ASSERT_THROW(statement, expected_exception) \ argument
1687 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/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/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/mesa3d/src/gtest/include/gtest/
Dgtest.h1767 #define EXPECT_THROW(statement, expected_exception) \ argument
1768 GTEST_TEST_THROW_(statement, expected_exception, GTEST_NONFATAL_FAILURE_)
1773 #define ASSERT_THROW(statement, expected_exception) \ argument
1774 GTEST_TEST_THROW_(statement, expected_exception, GTEST_FATAL_FAILURE_)
/external/vulkan-validation-layers/tests/gtest-1.7.0/include/gtest/
Dgtest.h1907 #define EXPECT_THROW(statement, expected_exception) \ argument
1908 GTEST_TEST_THROW_(statement, expected_exception, GTEST_NONFATAL_FAILURE_)
1913 #define ASSERT_THROW(statement, expected_exception) \ argument
1914 GTEST_TEST_THROW_(statement, expected_exception, GTEST_FATAL_FAILURE_)
/external/googletest/googletest/include/gtest/
Dgtest.h1847 #define EXPECT_THROW(statement, expected_exception) \ argument
1848 GTEST_TEST_THROW_(statement, expected_exception, GTEST_NONFATAL_FAILURE_)
1853 #define ASSERT_THROW(statement, expected_exception) \ argument
1854 GTEST_TEST_THROW_(statement, expected_exception, GTEST_FATAL_FAILURE_)
/external/libvpx/libvpx/third_party/googletest/src/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/v8/testing/gtest/include/gtest/
Dgtest.h1847 #define EXPECT_THROW(statement, expected_exception) \ argument
1848 GTEST_TEST_THROW_(statement, expected_exception, GTEST_NONFATAL_FAILURE_)
1853 #define ASSERT_THROW(statement, expected_exception) \ argument
1854 GTEST_TEST_THROW_(statement, expected_exception, GTEST_FATAL_FAILURE_)
/external/chromium-trace/catapult/telemetry/third_party/mox3/mox3/tests/
Dtest_mox.py497 expected_exception = TestException('test exception')
498 self.expected_method.AndRaise(expected_exception)
/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/
Dfake_filesystem_test.py502 def assertRaisesWithRegexpMatch(self, expected_exception, expected_regexp, argument
516 except expected_exception as err:
523 self.fail(expected_exception.__name__ + ' not raised')
/external/protobuf/gtest/fused-src/gtest/
Dgtest.h7202 #define GTEST_TEST_THROW_(statement, expected_exception, fail) \
7209 catch (expected_exception const&) { \
7214 #expected_exception ".\n Actual: it throws a different " \
7220 #expected_exception ".\n Actual: it throws nothing."; \
17268 #define EXPECT_THROW(statement, expected_exception) \
17269 GTEST_TEST_THROW_(statement, expected_exception, GTEST_NONFATAL_FAILURE_)
17274 #define ASSERT_THROW(statement, expected_exception) \
17275 GTEST_TEST_THROW_(statement, expected_exception, GTEST_FATAL_FAILURE_)
/external/fmtlib/test/gtest/
Dgtest.h8006 #define GTEST_TEST_THROW_(statement, expected_exception, fail) \
8013 catch (expected_exception const&) { \
8019 #expected_exception ".\n Actual: it throws a different type."; \
8025 #expected_exception ".\n Actual: it throws nothing."; \
19311 #define EXPECT_THROW(statement, expected_exception) \
19312 GTEST_TEST_THROW_(statement, expected_exception, GTEST_NONFATAL_FAILURE_)
19317 #define ASSERT_THROW(statement, expected_exception) \
19318 GTEST_TEST_THROW_(statement, expected_exception, GTEST_FATAL_FAILURE_)
/external/vulkan-validation-layers/tests/gtest-1.7.0/fused-src/gtest/
Dgtest.h8007 #define GTEST_TEST_THROW_(statement, expected_exception, fail) \
8014 catch (expected_exception const&) { \
8020 #expected_exception ".\n Actual: it throws a different type."; \
8026 #expected_exception ".\n Actual: it throws nothing."; \
19312 #define EXPECT_THROW(statement, expected_exception) \
19313 GTEST_TEST_THROW_(statement, expected_exception, GTEST_NONFATAL_FAILURE_)
19318 #define ASSERT_THROW(statement, expected_exception) \
19319 GTEST_TEST_THROW_(statement, expected_exception, GTEST_FATAL_FAILURE_)