Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for EXPECT_DEBUG_DEATH (0.22 sec)

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

    // pattern for this is:
    //
    // EXPECT_DEBUG_DEATH({
    //   // Side-effects here will have an effect after this statement in
    //   // opt mode, but none in debug mode.
    //   EXPECT_EQ(12, DieInDebugOr12(&sideeffect));
    // }, "death");
    //
    # ifdef NDEBUG
    
    #  define EXPECT_DEBUG_DEATH(statement, regex) \
      GTEST_EXECUTE_STATEMENT_(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

    // pattern for this is:
    //
    // EXPECT_DEBUG_DEATH({
    //   // Side-effects here will have an effect after this statement in
    //   // opt mode, but none in debug mode.
    //   EXPECT_EQ(12, DieInDebugOr12(&sideeffect));
    // }, "death");
    //
    # ifdef NDEBUG
    
    #  define EXPECT_DEBUG_DEATH(statement, regex) \
      GTEST_EXECUTE_STATEMENT_(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

          fail(::testing::internal::DeathTest::LastMessage())
    // The symbol "fail" here expands to something into which a message
    // can be streamed.
    
    // This macro is for implementing ASSERT/EXPECT_DEBUG_DEATH when compiled in
    // 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.
    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

          fail(::testing::internal::DeathTest::LastMessage())
    // The symbol "fail" here expands to something into which a message
    // can be streamed.
    
    // This macro is for implementing ASSERT/EXPECT_DEBUG_DEATH when compiled in
    // 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.
    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