Home
last modified time | relevance | path

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

/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/lldb/test/unittest2/
Dcase.py991 def assertRaisesRegexp(self, expected_exception, expected_regexp, argument
1004 return _AssertRaisesContext(expected_exception, self, expected_regexp)
1007 except expected_exception, exc_value:
1014 if hasattr(expected_exception, '__name__'):
1015 excName = expected_exception.__name__
1017 excName = str(expected_exception)
/external/gtest/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/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/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/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/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/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/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.h1898 #define EXPECT_THROW(statement, expected_exception) \ argument
1899 GTEST_TEST_THROW_(statement, expected_exception, GTEST_NONFATAL_FAILURE_)
1904 #define ASSERT_THROW(statement, expected_exception) \ argument
1905 GTEST_TEST_THROW_(statement, expected_exception, GTEST_FATAL_FAILURE_)
/external/gtest/include/gtest/
Dgtest.h1898 #define EXPECT_THROW(statement, expected_exception) \ argument
1899 GTEST_TEST_THROW_(statement, expected_exception, GTEST_NONFATAL_FAILURE_)
1904 #define ASSERT_THROW(statement, expected_exception) \ argument
1905 GTEST_TEST_THROW_(statement, expected_exception, GTEST_FATAL_FAILURE_)
/external/autotest/client/common_lib/test_utils/
Dunittest.py955 def assertRaisesRegexp(self, expected_exception, expected_regexp, argument
967 context = _AssertRaisesContext(expected_exception, self, expected_regexp)
/external/v8/test/cctest/
Dtest-assembler-ppc.cc461 bool expected_exception = false) {
499 expected_exception ? eq : ne);
Dtest-assembler-arm.cc447 bool expected_exception = false) { in TestRoundingMode() argument
484 expected_exception ? eq : ne); in TestRoundingMode()
/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/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/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_)
/external/libvpx/libvpx/third_party/googletest/src/include/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_)