Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for GTEST_EXECUTE_STATEMENT_ (0.34 sec)

  1. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-death-test.h

    //   EXPECT_EQ(12, DieInDebugOr12(&sideeffect));
    // }, "death");
    //
    # ifdef NDEBUG
    
    #  define EXPECT_DEBUG_DEATH(statement, regex) \
      GTEST_EXECUTE_STATEMENT_(statement, regex)
    
    #  define ASSERT_DEBUG_DEATH(statement, regex) \
      GTEST_EXECUTE_STATEMENT_(statement, regex)
    
    # else
    
    #  define EXPECT_DEBUG_DEATH(statement, regex) \
      EXPECT_DEATH(statement, regex)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-death-test.h

    //   EXPECT_EQ(12, DieInDebugOr12(&sideeffect));
    // }, "death");
    //
    # ifdef NDEBUG
    
    #  define EXPECT_DEBUG_DEATH(statement, regex) \
      GTEST_EXECUTE_STATEMENT_(statement, regex)
    
    #  define ASSERT_DEBUG_DEATH(statement, regex) \
      GTEST_EXECUTE_STATEMENT_(statement, regex)
    
    # else
    
    #  define EXPECT_DEBUG_DEATH(statement, regex) \
      EXPECT_DEATH(statement, regex)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  3. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-death-test-internal.h

    // NDEBUG mode. In this case we need the statements to be executed, the regex is
    // ignored, and the macro must accept a streamed message even though the message
    // is never printed.
    # define GTEST_EXECUTE_STATEMENT_(statement, regex) \
      GTEST_AMBIGUOUS_ELSE_BLOCKER_ \
      if (::testing::internal::AlwaysTrue()) { \
         GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \
      } else \
        ::testing::Message()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/internal/gtest-death-test-internal.h

    // NDEBUG mode. In this case we need the statements to be executed, the regex is
    // ignored, and the macro must accept a streamed message even though the message
    // is never printed.
    # define GTEST_EXECUTE_STATEMENT_(statement, regex) \
      GTEST_AMBIGUOUS_ELSE_BLOCKER_ \
      if (::testing::internal::AlwaysTrue()) { \
         GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \
      } else \
        ::testing::Message()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 13.1K bytes
    - Viewed (0)
Back to top