Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ADD_FAILURE (0.13 sec)

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

    // A copyable object representing the result of a test part (i.e. an
    // assertion or an explicit FAIL(), ADD_FAILURE(), or SUCCESS()).
    //
    // Don't inherit from TestPartResult as its destructor is not virtual.
    class GTEST_API_ TestPartResult {
     public:
      // The possible outcomes of a test part (i.e. an assertion or an
      // explicit SUCCEED(), FAIL(), or ADD_FAILURE()).
      enum Type {
        kSuccess,          // Succeeded.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest.h

    //
    // FAIL and ASSERT_* are similar to ADD_FAILURE and EXPECT_*, except
    // that they will also abort the current function on failure.  People
    // usually want the fail-fast behavior of FAIL and ASSERT_*, but those
    // writing data-driven tests often find themselves using ADD_FAILURE
    // and EXPECT_* more.
    
    // Generates a nonfatal failure with a generic message.
    #define ADD_FAILURE() GTEST_NONFATAL_FAILURE_("Failed")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 86.4K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_test.cc

          EXPECT_FALSE(found_scalar_const);
          found_scalar_const = true;
        } else if (IsAddN(n, 2)) {
          EXPECT_FALSE(found_add);
          found_add = true;
        } else {
          ADD_FAILURE() << "Unexpected NodeDef: " << n.DebugString();
        }
      }
      EXPECT_TRUE(found_placeholder);
      EXPECT_TRUE(found_scalar_const);
      EXPECT_TRUE(found_add);
    
      // Add another oper to the graph.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
Back to top