Classes | Namespaces | Macros | Typedefs | Enumerations | Functions | Variables
bloaty/third_party/googletest/googletest/include/gtest/gtest.h File Reference
#include <cstddef>
#include <limits>
#include <memory>
#include <ostream>
#include <type_traits>
#include <vector>
#include "gtest/internal/gtest-internal.h"
#include "gtest/internal/gtest-string.h"
#include "gtest/gtest-death-test.h"
#include "gtest/gtest-matchers.h"
#include "gtest/gtest-message.h"
#include "gtest/gtest-param-test.h"
#include "gtest/gtest-printers.h"
#include "gtest/gtest_prod.h"
#include "gtest/gtest-test-part.h"
#include "gtest/gtest-typed-test.h"
#include "gtest/gtest_pred_impl.h"
Include dependency graph for bloaty/third_party/googletest/googletest/include/gtest/gtest.h:

Go to the source code of this file.

Classes

class  testing::internal::AssertHelper
 
struct  testing::internal::AssertHelper::AssertHelperData
 
class  testing::EmptyTestEventListener
 
class  testing::Environment
 
class  testing::internal::EqHelper< lhs_is_null_literal >
 
struct  testing::internal::faketype
 
class  testing::ScopedTrace
 
struct  testing::Environment::Setup_should_be_spelled_SetUp
 
struct  testing::Test::Setup_should_be_spelled_SetUp
 
class  testing::Test
 
class  testing::TestEventListener
 
class  testing::TestEventListeners
 
class  testing::TestInfo
 
class  testing::TestProperty
 
class  testing::TestResult
 
class  testing::TestSuite
 
class  testing::TestWithParam< T >
 
class  testing::UnitTest
 
class  testing::WithParamInterface< T >
 

Namespaces

 testing
 
 testing::internal
 

Macros

#define ADD_FAILURE()   GTEST_NONFATAL_FAILURE_("Failed")
 
#define ADD_FAILURE_AT(file, line)
 
#define ASSERT_ANY_THROW(statement)   GTEST_TEST_ANY_THROW_(statement, GTEST_FATAL_FAILURE_)
 
#define ASSERT_DOUBLE_EQ(val1, val2)
 
#define ASSERT_EQ(val1, val2)   GTEST_ASSERT_EQ(val1, val2)
 
#define ASSERT_FALSE(condition)
 
#define ASSERT_FLOAT_EQ(val1, val2)
 
#define ASSERT_GE(val1, val2)   GTEST_ASSERT_GE(val1, val2)
 
#define ASSERT_GT(val1, val2)   GTEST_ASSERT_GT(val1, val2)
 
#define ASSERT_LE(val1, val2)   GTEST_ASSERT_LE(val1, val2)
 
#define ASSERT_LT(val1, val2)   GTEST_ASSERT_LT(val1, val2)
 
#define ASSERT_NE(val1, val2)   GTEST_ASSERT_NE(val1, val2)
 
#define ASSERT_NEAR(val1, val2, abs_error)
 
#define ASSERT_NO_FATAL_FAILURE(statement)   GTEST_TEST_NO_FATAL_FAILURE_(statement, GTEST_FATAL_FAILURE_)
 
#define ASSERT_NO_THROW(statement)   GTEST_TEST_NO_THROW_(statement, GTEST_FATAL_FAILURE_)
 
#define ASSERT_STRCASEEQ(s1, s2)   ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperSTRCASEEQ, s1, s2)
 
#define ASSERT_STRCASENE(s1, s2)   ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperSTRCASENE, s1, s2)
 
#define ASSERT_STREQ(s1, s2)   ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperSTREQ, s1, s2)
 
#define ASSERT_STRNE(s1, s2)   ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperSTRNE, s1, s2)
 
#define ASSERT_THROW(statement, expected_exception)   GTEST_TEST_THROW_(statement, expected_exception, GTEST_FATAL_FAILURE_)
 
#define ASSERT_TRUE(condition)
 
#define EXPECT_ANY_THROW(statement)   GTEST_TEST_ANY_THROW_(statement, GTEST_NONFATAL_FAILURE_)
 
#define EXPECT_DOUBLE_EQ(val1, val2)
 
#define EXPECT_EQ(val1, val2)   EXPECT_PRED_FORMAT2(::testing::internal::EqHelper::Compare, val1, val2)
 
#define EXPECT_FALSE(condition)
 
#define EXPECT_FLOAT_EQ(val1, val2)
 
#define EXPECT_GE(val1, val2)   EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperGE, val1, val2)
 
#define EXPECT_GT(val1, val2)   EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperGT, val1, val2)
 
#define EXPECT_LE(val1, val2)   EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperLE, val1, val2)
 
#define EXPECT_LT(val1, val2)   EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperLT, val1, val2)
 
#define EXPECT_NE(val1, val2)   EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperNE, val1, val2)
 
#define EXPECT_NEAR(val1, val2, abs_error)
 
#define EXPECT_NO_FATAL_FAILURE(statement)   GTEST_TEST_NO_FATAL_FAILURE_(statement, GTEST_NONFATAL_FAILURE_)
 
#define EXPECT_NO_THROW(statement)   GTEST_TEST_NO_THROW_(statement, GTEST_NONFATAL_FAILURE_)
 
#define EXPECT_STRCASEEQ(s1, s2)   EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperSTRCASEEQ, s1, s2)
 
#define EXPECT_STRCASENE(s1, s2)   EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperSTRCASENE, s1, s2)
 
#define EXPECT_STREQ(s1, s2)   EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperSTREQ, s1, s2)
 
#define EXPECT_STRNE(s1, s2)   EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperSTRNE, s1, s2)
 
#define EXPECT_THROW(statement, expected_exception)   GTEST_TEST_THROW_(statement, expected_exception, GTEST_NONFATAL_FAILURE_)
 
#define EXPECT_TRUE(condition)
 
#define FAIL()   GTEST_FAIL()
 
#define GTEST_ASSERT_EQ(val1, val2)   ASSERT_PRED_FORMAT2(::testing::internal::EqHelper::Compare, val1, val2)
 
#define GTEST_ASSERT_GE(val1, val2)   ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperGE, val1, val2)
 
#define GTEST_ASSERT_GT(val1, val2)   ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperGT, val1, val2)
 
#define GTEST_ASSERT_LE(val1, val2)   ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperLE, val1, val2)
 
#define GTEST_ASSERT_LT(val1, val2)   ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperLT, val1, val2)
 
#define GTEST_ASSERT_NE(val1, val2)   ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperNE, val1, val2)
 
#define GTEST_FAIL()   GTEST_FATAL_FAILURE_("Failed")
 
#define GTEST_FAIL_AT(file, line)
 
#define GTEST_IMPL_CMP_HELPER_(op_name, op)
 
#define GTEST_SKIP()   GTEST_SKIP_("Skipped")
 
#define GTEST_SUCCEED()   GTEST_SUCCESS_("Succeeded")
 
#define GTEST_TEST(test_suite_name, test_name)
 
#define SCOPED_TRACE(message)
 
#define SUCCEED()   GTEST_SUCCEED()
 
#define TEST(test_suite_name, test_name)   GTEST_TEST(test_suite_name, test_name)
 
#define TEST_F(test_fixture, test_name)
 

Typedefs

typedef internal::TimeInMillis testing::TimeInMillis
 

Enumerations

enum  testing::internal::GTestColor {
  testing::internal::COLOR_DEFAULT, testing::internal::COLOR_RED, testing::internal::COLOR_GREEN, testing::internal::COLOR_YELLOW,
  testing::internal::COLOR_DEFAULT, testing::internal::COLOR_RED, testing::internal::COLOR_GREEN, testing::internal::COLOR_YELLOW,
  testing::internal::COLOR_DEFAULT, testing::internal::COLOR_RED, testing::internal::COLOR_GREEN, testing::internal::COLOR_YELLOW,
  testing::internal::COLOR_DEFAULT, testing::internal::COLOR_RED, testing::internal::COLOR_GREEN, testing::internal::COLOR_YELLOW
}
 

Functions

Environment * testing::AddGlobalTestEnvironment (Environment *env)
 
GTEST_API_ AssertionResult testing::internal::CmpHelperEQ (const char *lhs_expression, const char *rhs_expression, BiggestInt lhs, BiggestInt rhs)
 
template<typename T1 , typename T2 >
AssertionResult testing::internal::CmpHelperEQ (const char *lhs_expression, const char *rhs_expression, const T1 &lhs, const T2 &rhs)
 
template<typename T1 , typename T2 >
AssertionResult testing::internal::CmpHelperEQFailure (const char *lhs_expression, const char *rhs_expression, const T1 &lhs, const T2 &rhs)
 
template<typename RawType >
AssertionResult testing::internal::CmpHelperFloatingPointEQ (const char *lhs_expression, const char *rhs_expression, RawType lhs_value, RawType rhs_value)
 
template<typename T1 , typename T2 >
AssertionResult testing::internal::CmpHelperOpFailure (const char *expr1, const char *expr2, const T1 &val1, const T2 &val2, const char *op)
 
GTEST_API_ AssertionResult testing::internal::CmpHelperSTRCASEEQ (const char *s1_expression, const char *s2_expression, const char *s1, const char *s2)
 
GTEST_API_ AssertionResult testing::internal::CmpHelperSTRCASENE (const char *s1_expression, const char *s2_expression, const char *s1, const char *s2)
 
GTEST_API_ AssertionResult testing::internal::CmpHelperSTREQ (const char *s1_expression, const char *s2_expression, const char *s1, const char *s2)
 
GTEST_API_ AssertionResult testing::internal::CmpHelperSTREQ (const char *s1_expression, const char *s2_expression, const wchar_t *s1, const wchar_t *s2)
 
GTEST_API_ AssertionResult testing::internal::CmpHelperSTRNE (const char *s1_expression, const char *s2_expression, const char *s1, const char *s2)
 
GTEST_API_ AssertionResult testing::internal::CmpHelperSTRNE (const char *s1_expression, const char *s2_expression, const wchar_t *s1, const wchar_t *s2)
 
GTEST_API_ AssertionResult testing::DoubleLE (const char *expr1, const char *expr2, double val1, double val2)
 
GTEST_API_ AssertionResult testing::internal::DoubleNearPredFormat (const char *expr1, const char *expr2, const char *abs_error_expr, double val1, double val2, double abs_error)
 
GTEST_API_ AssertionResult testing::FloatLE (const char *expr1, const char *expr2, float val1, float val2)
 
GTEST_API_ testing::internal::GTEST_ATTRIBUTE_PRINTF_ (2, 3) void ColoredPrintf(GTestColor color
 
 GTEST_DISABLE_MSC_WARNINGS_PUSH_ (4251) namespace testing
 
 testing::internal::GTEST_IMPL_CMP_HELPER_ (GE, >=)
 
 testing::internal::GTEST_IMPL_CMP_HELPER_ (GT, >)
 
 testing::internal::GTEST_IMPL_CMP_HELPER_ (LE,<=)
 
 testing::internal::GTEST_IMPL_CMP_HELPER_ (LT,<)
 
 testing::internal::GTEST_IMPL_CMP_HELPER_ (NE, !=)
 
GTEST_API_ void testing::InitGoogleTest ()
 
GTEST_API_ void testing::InitGoogleTest (int *argc, char **argv)
 
GTEST_API_ void testing::InitGoogleTest (int *argc, wchar_t **argv)
 
GTEST_API_ AssertionResult testing::IsNotSubstring (const char *needle_expr, const char *haystack_expr, const ::std::string &needle, const ::std::string &haystack)
 
GTEST_API_ AssertionResult testing::IsNotSubstring (const char *needle_expr, const char *haystack_expr, const char *needle, const char *haystack)
 
GTEST_API_ AssertionResult testing::IsNotSubstring (const char *needle_expr, const char *haystack_expr, const wchar_t *needle, const wchar_t *haystack)
 
GTEST_API_ AssertionResult testing::IsSubstring (const char *needle_expr, const char *haystack_expr, const ::std::string &needle, const ::std::string &haystack)
 
GTEST_API_ AssertionResult testing::IsSubstring (const char *needle_expr, const char *haystack_expr, const char *needle, const char *haystack)
 
GTEST_API_ AssertionResult testing::IsSubstring (const char *needle_expr, const char *haystack_expr, const wchar_t *needle, const wchar_t *haystack)
 
bool testing::internal::operator!= (faketype, faketype)
 
bool testing::internal::operator== (faketype, faketype)
 
template<int &... ExplicitParameterBarrier, typename Factory >
TestInfo * testing::RegisterTest (const char *test_suite_name, const char *test_name, const char *type_param, const char *value_param, const char *file, int line, Factory factory)
 
int RUN_ALL_TESTS () GTEST_MUST_USE_RESULT_
 
template<typename T1 , typename T2 >
bool testing::StaticAssertTypeEq ()
 
GTEST_API_ std::string testing::TempDir ()
 

Variables

GTEST_API_ const char * testing::internal::fmt
 
class GTEST_API_ testing::ScopedTrace testing::GTEST_ATTRIBUTE_UNUSED_
 

Macro Definition Documentation

◆ ADD_FAILURE

#define ADD_FAILURE ( )    GTEST_NONFATAL_FAILURE_("Failed")

◆ ADD_FAILURE_AT

#define ADD_FAILURE_AT (   file,
  line 
)

◆ ASSERT_ANY_THROW

#define ASSERT_ANY_THROW (   statement)    GTEST_TEST_ANY_THROW_(statement, GTEST_FATAL_FAILURE_)

◆ ASSERT_DOUBLE_EQ

#define ASSERT_DOUBLE_EQ (   val1,
  val2 
)
Value:
ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperFloatingPointEQ<double>, \

Definition at line 2139 of file bloaty/third_party/googletest/googletest/include/gtest/gtest.h.

◆ ASSERT_EQ

#define ASSERT_EQ (   val1,
  val2 
)    GTEST_ASSERT_EQ(val1, val2)

◆ ASSERT_FALSE

#define ASSERT_FALSE (   condition)
Value:
GTEST_TEST_BOOLEAN_(!(condition), #condition, true, false, \

Definition at line 1976 of file bloaty/third_party/googletest/googletest/include/gtest/gtest.h.

◆ ASSERT_FLOAT_EQ

#define ASSERT_FLOAT_EQ (   val1,
  val2 
)
Value:
ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperFloatingPointEQ<float>, \

Definition at line 2135 of file bloaty/third_party/googletest/googletest/include/gtest/gtest.h.

◆ ASSERT_GE

#define ASSERT_GE (   val1,
  val2 
)    GTEST_ASSERT_GE(val1, val2)

◆ ASSERT_GT

#define ASSERT_GT (   val1,
  val2 
)    GTEST_ASSERT_GT(val1, val2)

◆ ASSERT_LE

#define ASSERT_LE (   val1,
  val2 
)    GTEST_ASSERT_LE(val1, val2)

◆ ASSERT_LT

#define ASSERT_LT (   val1,
  val2 
)    GTEST_ASSERT_LT(val1, val2)

◆ ASSERT_NE

#define ASSERT_NE (   val1,
  val2 
)    GTEST_ASSERT_NE(val1, val2)

◆ ASSERT_NEAR

#define ASSERT_NEAR (   val1,
  val2,
  abs_error 
)

◆ ASSERT_NO_FATAL_FAILURE

#define ASSERT_NO_FATAL_FAILURE (   statement)    GTEST_TEST_NO_FATAL_FAILURE_(statement, GTEST_FATAL_FAILURE_)

◆ ASSERT_NO_THROW

#define ASSERT_NO_THROW (   statement)    GTEST_TEST_NO_THROW_(statement, GTEST_FATAL_FAILURE_)

◆ ASSERT_STRCASEEQ

#define ASSERT_STRCASEEQ (   s1,
  s2 
)    ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperSTRCASEEQ, s1, s2)

◆ ASSERT_STRCASENE

#define ASSERT_STRCASENE (   s1,
  s2 
)    ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperSTRCASENE, s1, s2)

◆ ASSERT_STREQ

#define ASSERT_STREQ (   s1,
  s2 
)    ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperSTREQ, s1, s2)

◆ ASSERT_STRNE

#define ASSERT_STRNE (   s1,
  s2 
)    ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperSTRNE, s1, s2)

◆ ASSERT_THROW

#define ASSERT_THROW (   statement,
  expected_exception 
)    GTEST_TEST_THROW_(statement, expected_exception, GTEST_FATAL_FAILURE_)

◆ ASSERT_TRUE

#define ASSERT_TRUE (   condition)
Value:
GTEST_TEST_BOOLEAN_(condition, #condition, false, true, \

Definition at line 1973 of file bloaty/third_party/googletest/googletest/include/gtest/gtest.h.

◆ EXPECT_ANY_THROW

#define EXPECT_ANY_THROW (   statement)    GTEST_TEST_ANY_THROW_(statement, GTEST_NONFATAL_FAILURE_)

◆ EXPECT_DOUBLE_EQ

#define EXPECT_DOUBLE_EQ (   val1,
  val2 
)
Value:
EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperFloatingPointEQ<double>, \

Definition at line 2131 of file bloaty/third_party/googletest/googletest/include/gtest/gtest.h.

◆ EXPECT_EQ

#define EXPECT_EQ (   val1,
  val2 
)    EXPECT_PRED_FORMAT2(::testing::internal::EqHelper::Compare, val1, val2)

◆ EXPECT_FALSE

#define EXPECT_FALSE (   condition)
Value:
GTEST_TEST_BOOLEAN_(!(condition), #condition, true, false, \

Definition at line 1970 of file bloaty/third_party/googletest/googletest/include/gtest/gtest.h.

◆ EXPECT_FLOAT_EQ

#define EXPECT_FLOAT_EQ (   val1,
  val2 
)
Value:
EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperFloatingPointEQ<float>, \

Definition at line 2127 of file bloaty/third_party/googletest/googletest/include/gtest/gtest.h.

◆ EXPECT_GE

#define EXPECT_GE (   val1,
  val2 
)    EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperGE, val1, val2)

◆ EXPECT_GT

#define EXPECT_GT (   val1,
  val2 
)    EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperGT, val1, val2)

◆ EXPECT_LE

#define EXPECT_LE (   val1,
  val2 
)    EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperLE, val1, val2)

◆ EXPECT_LT

#define EXPECT_LT (   val1,
  val2 
)    EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperLT, val1, val2)

◆ EXPECT_NE

#define EXPECT_NE (   val1,
  val2 
)    EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperNE, val1, val2)

◆ EXPECT_NEAR

#define EXPECT_NEAR (   val1,
  val2,
  abs_error 
)

◆ EXPECT_NO_FATAL_FAILURE

#define EXPECT_NO_FATAL_FAILURE (   statement)    GTEST_TEST_NO_FATAL_FAILURE_(statement, GTEST_NONFATAL_FAILURE_)

◆ EXPECT_NO_THROW

#define EXPECT_NO_THROW (   statement)    GTEST_TEST_NO_THROW_(statement, GTEST_NONFATAL_FAILURE_)

◆ EXPECT_STRCASEEQ

#define EXPECT_STRCASEEQ (   s1,
  s2 
)    EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperSTRCASEEQ, s1, s2)

◆ EXPECT_STRCASENE

#define EXPECT_STRCASENE (   s1,
  s2 
)    EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperSTRCASENE, s1, s2)

◆ EXPECT_STREQ

#define EXPECT_STREQ (   s1,
  s2 
)    EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperSTREQ, s1, s2)

◆ EXPECT_STRNE

#define EXPECT_STRNE (   s1,
  s2 
)    EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperSTRNE, s1, s2)

◆ EXPECT_THROW

#define EXPECT_THROW (   statement,
  expected_exception 
)    GTEST_TEST_THROW_(statement, expected_exception, GTEST_NONFATAL_FAILURE_)

◆ EXPECT_TRUE

#define EXPECT_TRUE (   condition)
Value:
GTEST_TEST_BOOLEAN_(condition, #condition, false, true, \

Definition at line 1967 of file bloaty/third_party/googletest/googletest/include/gtest/gtest.h.

◆ FAIL

#define FAIL ( )    GTEST_FAIL()

◆ GTEST_ASSERT_EQ

#define GTEST_ASSERT_EQ (   val1,
  val2 
)    ASSERT_PRED_FORMAT2(::testing::internal::EqHelper::Compare, val1, val2)

◆ GTEST_ASSERT_GE

#define GTEST_ASSERT_GE (   val1,
  val2 
)    ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperGE, val1, val2)

◆ GTEST_ASSERT_GT

#define GTEST_ASSERT_GT (   val1,
  val2 
)    ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperGT, val1, val2)

◆ GTEST_ASSERT_LE

#define GTEST_ASSERT_LE (   val1,
  val2 
)    ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperLE, val1, val2)

◆ GTEST_ASSERT_LT

#define GTEST_ASSERT_LT (   val1,
  val2 
)    ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperLT, val1, val2)

◆ GTEST_ASSERT_NE

#define GTEST_ASSERT_NE (   val1,
  val2 
)    ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperNE, val1, val2)

◆ GTEST_FAIL

#define GTEST_FAIL ( )    GTEST_FATAL_FAILURE_("Failed")

◆ GTEST_FAIL_AT

#define GTEST_FAIL_AT (   file,
  line 
)

◆ GTEST_IMPL_CMP_HELPER_

#define GTEST_IMPL_CMP_HELPER_ (   op_name,
  op 
)
Value:
template <typename T1, typename T2>\
AssertionResult CmpHelper##op_name(const char* expr1, const char* expr2, \
const T1& val1, const T2& val2) {\
if (val1 op val2) {\
return AssertionSuccess();\
} else {\
return CmpHelperOpFailure(expr1, expr2, val1, val2, #op);\
}\
}\
GTEST_API_ AssertionResult CmpHelper##op_name(\
const char* expr1, const char* expr2, BiggestInt val1, BiggestInt val2)

Definition at line 1604 of file bloaty/third_party/googletest/googletest/include/gtest/gtest.h.

◆ GTEST_SKIP

#define GTEST_SKIP ( )    GTEST_SKIP_("Skipped")

◆ GTEST_SUCCEED

#define GTEST_SUCCEED ( )    GTEST_SUCCESS_("Succeeded")

◆ GTEST_TEST

#define GTEST_TEST (   test_suite_name,
  test_name 
)

◆ SCOPED_TRACE

#define SCOPED_TRACE (   message)
Value:
::testing::ScopedTrace GTEST_CONCAT_TOKEN_(gtest_trace_, __LINE__)(\
__FILE__, __LINE__, (message))

Definition at line 2264 of file bloaty/third_party/googletest/googletest/include/gtest/gtest.h.

◆ SUCCEED

#define SUCCEED ( )    GTEST_SUCCEED()

◆ TEST

#define TEST (   test_suite_name,
  test_name 
)    GTEST_TEST(test_suite_name, test_name)

◆ TEST_F

#define TEST_F (   test_fixture,
  test_name 
)
Value:
::testing::internal::GetTypeId<test_fixture>())

Definition at line 2367 of file bloaty/third_party/googletest/googletest/include/gtest/gtest.h.

Function Documentation

◆ GTEST_DISABLE_MSC_WARNINGS_PUSH_()

GTEST_DISABLE_MSC_WARNINGS_PUSH_ ( 4251  )

◆ RUN_ALL_TESTS()

int RUN_ALL_TESTS ( )
inline
grpc::testing::val1
const char val1[]
Definition: client_context_test_peer_test.cc:34
EXPECT_PRED_FORMAT2
#define EXPECT_PRED_FORMAT2(pred_format, v1, v2)
Definition: bloaty/third_party/googletest/googletest/include/gtest/gtest_pred_impl.h:163
ASSERT_PRED_FORMAT2
#define ASSERT_PRED_FORMAT2(pred_format, v1, v2)
Definition: bloaty/third_party/googletest/googletest/include/gtest/gtest_pred_impl.h:167
testing::TestPartResult::kFatalFailure
@ kFatalFailure
Definition: cares/cares/test/gmock-1.8.0/gtest/gtest.h:18279
ASSERT_PRED_FORMAT3
#define ASSERT_PRED_FORMAT3(pred_format, v1, v2, v3)
Definition: bloaty/third_party/googletest/googletest/include/gtest/gtest_pred_impl.h:222
file
Definition: bloaty/third_party/zlib/examples/gzappend.c:170
GTEST_MESSAGE_AT_
#define GTEST_MESSAGE_AT_(file, line, message, result_type)
Definition: bloaty/third_party/googletest/googletest/include/gtest/internal/gtest-internal.h:1259
message
char * message
Definition: libuv/docs/code/tty-gravity/main.c:12
testing::internal::DoubleNearPredFormat
GTEST_API_ AssertionResult DoubleNearPredFormat(const char *expr1, const char *expr2, const char *abs_error_expr, double val1, double val2, double abs_error)
Definition: bloaty/third_party/googletest/googletest/src/gtest.cc:1377
testing::Test
Definition: bloaty/third_party/googletest/googletest/include/gtest/gtest.h:402
re2::T1
@ T1
Definition: bloaty/third_party/re2/util/rune.cc:31
test_fixture
Definition: num_external_connectivity_watchers_test.cc:35
grpc::testing::val2
const char val2[]
Definition: client_context_test_peer_test.cc:35
testing::AssertionSuccess
AssertionResult AssertionSuccess()
Definition: bloaty/third_party/googletest/googletest/src/gtest.cc:1023
testing::TestPartResult::kNonFatalFailure
@ kNonFatalFailure
Definition: cares/cares/test/gmock-1.8.0/gtest/gtest.h:18278
testing::internal::CmpHelperOpFailure
AssertionResult CmpHelperOpFailure(const char *expr1, const char *expr2, const T1 &val1, const T2 &val2, const char *op)
Definition: bloaty/third_party/googletest/googletest/include/gtest/gtest.h:1584
testing::internal::GetTestTypeId
GTEST_API_ TypeId GetTestTypeId()
Definition: bloaty/third_party/googletest/googletest/src/gtest.cc:648
testing::ScopedTrace
Definition: bloaty/third_party/googletest/googletest/include/gtest/gtest.h:2214
testing::internal::BiggestInt
long long BiggestInt
Definition: bloaty/third_party/googletest/googletest/include/gtest/internal/gtest-port.h:1907
re2::T2
@ T2
Definition: bloaty/third_party/re2/util/rune.cc:33
GTEST_TEST_
#define GTEST_TEST_(test_suite_name, test_name, parent_class, parent_id)
Definition: bloaty/third_party/googletest/googletest/include/gtest/internal/gtest-internal.h:1374
regen-readme.line
line
Definition: regen-readme.py:30
GTEST_TEST_BOOLEAN_
#define GTEST_TEST_BOOLEAN_(expression, text, actual, expected, fail)
Definition: bloaty/third_party/googletest/googletest/include/gtest/internal/gtest-internal.h:1346
GTEST_NONFATAL_FAILURE_
#define GTEST_NONFATAL_FAILURE_(message)
Definition: bloaty/third_party/googletest/googletest/include/gtest/internal/gtest-internal.h:1269
GTEST_FATAL_FAILURE_
#define GTEST_FATAL_FAILURE_(message)
Definition: bloaty/third_party/googletest/googletest/include/gtest/internal/gtest-internal.h:1266
op
static grpc_op * op
Definition: test/core/fling/client.cc:47
GTEST_CONCAT_TOKEN_
#define GTEST_CONCAT_TOKEN_(foo, bar)
Definition: bloaty/third_party/googletest/googletest/include/gtest/internal/gtest-internal.h:77
EXPECT_PRED_FORMAT3
#define EXPECT_PRED_FORMAT3(pred_format, v1, v2, v3)
Definition: bloaty/third_party/googletest/googletest/include/gtest/gtest_pred_impl.h:218


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:17