statement 8064 modules/ts/include/opencv2/ts/ts_gtest.h #define GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement) \ statement 8065 modules/ts/include/opencv2/ts/ts_gtest.h if (::testing::internal::AlwaysTrue()) { statement; } statement 8067 modules/ts/include/opencv2/ts/ts_gtest.h #define GTEST_TEST_THROW_(statement, expected_exception, fail) \ statement 8072 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \ statement 8079 modules/ts/include/opencv2/ts/ts_gtest.h "Expected: " #statement " throws an exception of type " \ statement 8085 modules/ts/include/opencv2/ts/ts_gtest.h "Expected: " #statement " throws an exception of type " \ statement 8093 modules/ts/include/opencv2/ts/ts_gtest.h #define GTEST_TEST_NO_THROW_(statement, fail) \ statement 8097 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \ statement 8104 modules/ts/include/opencv2/ts/ts_gtest.h fail("Expected: " #statement " doesn't throw an exception.\n" \ statement 8107 modules/ts/include/opencv2/ts/ts_gtest.h #define GTEST_TEST_ANY_THROW_(statement, fail) \ statement 8112 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \ statement 8122 modules/ts/include/opencv2/ts/ts_gtest.h fail("Expected: " #statement " throws an exception.\n" \ statement 8138 modules/ts/include/opencv2/ts/ts_gtest.h #define GTEST_TEST_NO_FATAL_FAILURE_(statement, fail) \ statement 8142 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \ statement 8148 modules/ts/include/opencv2/ts/ts_gtest.h fail("Expected: " #statement " doesn't generate new fatal " \ statement 8297 modules/ts/include/opencv2/ts/ts_gtest.h static bool Create(const char* statement, const RE* regex, statement 8361 modules/ts/include/opencv2/ts/ts_gtest.h virtual bool Create(const char* statement, const RE* regex, statement 8368 modules/ts/include/opencv2/ts/ts_gtest.h virtual bool Create(const char* statement, const RE* regex, statement 8379 modules/ts/include/opencv2/ts/ts_gtest.h # define GTEST_EXECUTE_DEATH_TEST_STATEMENT_(statement, death_test) \ statement 8381 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \ statement 8396 modules/ts/include/opencv2/ts/ts_gtest.h # define GTEST_EXECUTE_DEATH_TEST_STATEMENT_(statement, death_test) \ statement 8397 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement) statement 8403 modules/ts/include/opencv2/ts/ts_gtest.h # define GTEST_DEATH_TEST_(statement, predicate, regex, fail) \ statement 8408 modules/ts/include/opencv2/ts/ts_gtest.h if (!::testing::internal::DeathTest::Create(#statement, >est_regex, \ statement 8424 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_EXECUTE_DEATH_TEST_STATEMENT_(statement, gtest_dt); \ statement 8442 modules/ts/include/opencv2/ts/ts_gtest.h # define GTEST_EXECUTE_STATEMENT_(statement, regex) \ statement 8445 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \ statement 8519 modules/ts/include/opencv2/ts/ts_gtest.h # define GTEST_UNSUPPORTED_DEATH_TEST_(statement, regex, terminator) \ statement 8524 modules/ts/include/opencv2/ts/ts_gtest.h << "Statement '" #statement "' cannot be verified."; \ statement 8527 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \ statement 8664 modules/ts/include/opencv2/ts/ts_gtest.h # define ASSERT_EXIT(statement, predicate, regex) \ statement 8665 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_) statement 8669 modules/ts/include/opencv2/ts/ts_gtest.h # define EXPECT_EXIT(statement, predicate, regex) \ statement 8670 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_NONFATAL_FAILURE_) statement 8675 modules/ts/include/opencv2/ts/ts_gtest.h # define ASSERT_DEATH(statement, regex) \ statement 8676 modules/ts/include/opencv2/ts/ts_gtest.h ASSERT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex) statement 8680 modules/ts/include/opencv2/ts/ts_gtest.h # define EXPECT_DEATH(statement, regex) \ statement 8681 modules/ts/include/opencv2/ts/ts_gtest.h EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex) statement 8754 modules/ts/include/opencv2/ts/ts_gtest.h # define EXPECT_DEBUG_DEATH(statement, regex) \ statement 8755 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_EXECUTE_STATEMENT_(statement, regex) statement 8757 modules/ts/include/opencv2/ts/ts_gtest.h # define ASSERT_DEBUG_DEATH(statement, regex) \ statement 8758 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_EXECUTE_STATEMENT_(statement, regex) statement 8762 modules/ts/include/opencv2/ts/ts_gtest.h # define EXPECT_DEBUG_DEATH(statement, regex) \ statement 8763 modules/ts/include/opencv2/ts/ts_gtest.h EXPECT_DEATH(statement, regex) statement 8765 modules/ts/include/opencv2/ts/ts_gtest.h # define ASSERT_DEBUG_DEATH(statement, regex) \ statement 8766 modules/ts/include/opencv2/ts/ts_gtest.h ASSERT_DEATH(statement, regex) statement 8777 modules/ts/include/opencv2/ts/ts_gtest.h # define EXPECT_DEATH_IF_SUPPORTED(statement, regex) \ statement 8778 modules/ts/include/opencv2/ts/ts_gtest.h EXPECT_DEATH(statement, regex) statement 8779 modules/ts/include/opencv2/ts/ts_gtest.h # define ASSERT_DEATH_IF_SUPPORTED(statement, regex) \ statement 8780 modules/ts/include/opencv2/ts/ts_gtest.h ASSERT_DEATH(statement, regex) statement 8782 modules/ts/include/opencv2/ts/ts_gtest.h # define EXPECT_DEATH_IF_SUPPORTED(statement, regex) \ statement 8783 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_UNSUPPORTED_DEATH_TEST_(statement, regex, ) statement 8784 modules/ts/include/opencv2/ts/ts_gtest.h # define ASSERT_DEATH_IF_SUPPORTED(statement, regex) \ statement 8785 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_UNSUPPORTED_DEATH_TEST_(statement, regex, return) statement 19375 modules/ts/include/opencv2/ts/ts_gtest.h #define EXPECT_THROW(statement, expected_exception) \ statement 19376 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_TEST_THROW_(statement, expected_exception, GTEST_NONFATAL_FAILURE_) statement 19377 modules/ts/include/opencv2/ts/ts_gtest.h #define EXPECT_NO_THROW(statement) \ statement 19378 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_TEST_NO_THROW_(statement, GTEST_NONFATAL_FAILURE_) statement 19379 modules/ts/include/opencv2/ts/ts_gtest.h #define EXPECT_ANY_THROW(statement) \ statement 19380 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_TEST_ANY_THROW_(statement, GTEST_NONFATAL_FAILURE_) statement 19381 modules/ts/include/opencv2/ts/ts_gtest.h #define ASSERT_THROW(statement, expected_exception) \ statement 19382 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_TEST_THROW_(statement, expected_exception, GTEST_FATAL_FAILURE_) statement 19383 modules/ts/include/opencv2/ts/ts_gtest.h #define ASSERT_NO_THROW(statement) \ statement 19384 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_TEST_NO_THROW_(statement, GTEST_FATAL_FAILURE_) statement 19385 modules/ts/include/opencv2/ts/ts_gtest.h #define ASSERT_ANY_THROW(statement) \ statement 19386 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_TEST_ANY_THROW_(statement, GTEST_FATAL_FAILURE_) statement 19988 modules/ts/include/opencv2/ts/ts_gtest.h #define ASSERT_NO_FATAL_FAILURE(statement) \ statement 19989 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_TEST_NO_FATAL_FAILURE_(statement, GTEST_FATAL_FAILURE_) statement 19990 modules/ts/include/opencv2/ts/ts_gtest.h #define EXPECT_NO_FATAL_FAILURE(statement) \ statement 19991 modules/ts/include/opencv2/ts/ts_gtest.h GTEST_TEST_NO_FATAL_FAILURE_(statement, GTEST_NONFATAL_FAILURE_) statement 216 modules/ts/src/ts_gtest.cpp #define EXPECT_FATAL_FAILURE(statement, substr) \ statement 220 modules/ts/src/ts_gtest.cpp static void Execute() { statement; }\ statement 233 modules/ts/src/ts_gtest.cpp #define EXPECT_FATAL_FAILURE_ON_ALL_THREADS(statement, substr) \ statement 237 modules/ts/src/ts_gtest.cpp static void Execute() { statement; }\ statement 282 modules/ts/src/ts_gtest.cpp #define EXPECT_NONFATAL_FAILURE(statement, substr) \ statement 292 modules/ts/src/ts_gtest.cpp if (::testing::internal::AlwaysTrue()) { statement; }\ statement 296 modules/ts/src/ts_gtest.cpp #define EXPECT_NONFATAL_FAILURE_ON_ALL_THREADS(statement, substr) \ statement 306 modules/ts/src/ts_gtest.cpp if (::testing::internal::AlwaysTrue()) { statement; }\ statement 6878 modules/ts/src/ts_gtest.cpp bool DeathTest::Create(const char* statement, const RE* regex, statement 6881 modules/ts/src/ts_gtest.cpp statement, regex, file, line, test); statement 7072 modules/ts/src/ts_gtest.cpp buffer << "Death test: " << statement() << "\n"; statement 7311 modules/ts/src/ts_gtest.cpp ForkingDeathTest(const char* statement, const RE* regex); statement 7688 modules/ts/src/ts_gtest.cpp bool DefaultDeathTestFactory::Create(const char* statement, const RE* regex, statement 7717 modules/ts/src/ts_gtest.cpp *test = new WindowsDeathTest(statement, regex, file, line); statement 7723 modules/ts/src/ts_gtest.cpp *test = new ExecDeathTest(statement, regex, file, line); statement 7725 modules/ts/src/ts_gtest.cpp *test = new NoExecDeathTest(statement, regex); statement 58 modules/videoio/src/cap_winrt/MFIncludes.hpp #define CHK(statement) {HRESULT _hr = (statement); if (FAILED(_hr)) { throw ref new Platform::COMException(_hr); };} statement 62 modules/videoio/src/cap_winrt/MFIncludes.hpp #define CHK_RETURN(statement) {hr = (statement); if (FAILED(hr)) { return hr; };}