Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gtest.h File Reference
#include <limits>
#include <ostream>
#include <vector>
#include "gtest/internal/gtest-internal.h"
#include "gtest/internal/gtest-string.h"
#include "gtest/gtest-death-test.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 gtest.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  testing::AssertionResult
 
class  testing::Test
 
struct  testing::Test::Setup_should_be_spelled_SetUp
 
class  testing::TestProperty
 
class  testing::TestResult
 
class  testing::TestInfo
 
class  testing::TestCase
 
class  testing::Environment
 
struct  testing::Environment::Setup_should_be_spelled_SetUp
 
class  testing::TestEventListener
 
class  testing::EmptyTestEventListener
 
class  testing::TestEventListeners
 
class  testing::UnitTest
 
class  testing::internal::EqHelper< lhs_is_null_literal >
 
class  testing::internal::EqHelper< true >
 
class  testing::internal::AssertHelper
 
struct  testing::internal::AssertHelper::AssertHelperData
 

Namespaces

namespace  testing
 
namespace  testing::internal
 

Macros

#define GTEST_IMPL_CMP_HELPER_(op_name, op)
 
#define ADD_FAILURE()   GTEST_NONFATAL_FAILURE_("Failed")
 
#define ADD_FAILURE_AT(file, line)
 
#define GTEST_FAIL()   GTEST_FATAL_FAILURE_("Failed")
 
#define FAIL()   GTEST_FAIL()
 
#define GTEST_SUCCEED()   GTEST_SUCCESS_("Succeeded")
 
#define SUCCEED()   GTEST_SUCCEED()
 
#define EXPECT_THROW(statement, expected_exception)   GTEST_TEST_THROW_(statement, expected_exception, GTEST_NONFATAL_FAILURE_)
 
#define EXPECT_NO_THROW(statement)   GTEST_TEST_NO_THROW_(statement, GTEST_NONFATAL_FAILURE_)
 
#define EXPECT_ANY_THROW(statement)   GTEST_TEST_ANY_THROW_(statement, GTEST_NONFATAL_FAILURE_)
 
#define ASSERT_THROW(statement, expected_exception)   GTEST_TEST_THROW_(statement, expected_exception, GTEST_FATAL_FAILURE_)
 
#define ASSERT_NO_THROW(statement)   GTEST_TEST_NO_THROW_(statement, GTEST_FATAL_FAILURE_)
 
#define ASSERT_ANY_THROW(statement)   GTEST_TEST_ANY_THROW_(statement, GTEST_FATAL_FAILURE_)
 
#define EXPECT_TRUE(condition)
 
#define EXPECT_FALSE(condition)
 
#define ASSERT_TRUE(condition)
 
#define ASSERT_FALSE(condition)
 
#define EXPECT_EQ(val1, val2)
 
#define EXPECT_NE(val1, val2)   EXPECT_PRED_FORMAT2(::testing::internal::CmpHelperNE, 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_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 GTEST_ASSERT_EQ(val1, val2)
 
#define GTEST_ASSERT_NE(val1, val2)   ASSERT_PRED_FORMAT2(::testing::internal::CmpHelperNE, 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_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 ASSERT_EQ(val1, val2)   GTEST_ASSERT_EQ(val1, val2)
 
#define ASSERT_NE(val1, val2)   GTEST_ASSERT_NE(val1, val2)
 
#define ASSERT_LE(val1, val2)   GTEST_ASSERT_LE(val1, val2)
 
#define ASSERT_LT(val1, val2)   GTEST_ASSERT_LT(val1, val2)
 
#define ASSERT_GE(val1, val2)   GTEST_ASSERT_GE(val1, val2)
 
#define ASSERT_GT(val1, val2)   GTEST_ASSERT_GT(val1, val2)
 
#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_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 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_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 EXPECT_FLOAT_EQ(val1, val2)
 
#define EXPECT_DOUBLE_EQ(val1, val2)
 
#define ASSERT_FLOAT_EQ(val1, val2)
 
#define ASSERT_DOUBLE_EQ(val1, val2)
 
#define EXPECT_NEAR(val1, val2, abs_error)
 
#define ASSERT_NEAR(val1, val2, abs_error)
 
#define ASSERT_NO_FATAL_FAILURE(statement)   GTEST_TEST_NO_FATAL_FAILURE_(statement, GTEST_FATAL_FAILURE_)
 
#define EXPECT_NO_FATAL_FAILURE(statement)   GTEST_TEST_NO_FATAL_FAILURE_(statement, GTEST_NONFATAL_FAILURE_)
 
#define SCOPED_TRACE(message)
 
#define GTEST_TEST(test_case_name, test_name)
 
#define TEST(test_case_name, test_name)   GTEST_TEST(test_case_name, test_name)
 
#define TEST_F(test_fixture, test_name)
 

Typedefs

typedef internal::TimeInMillis testing::TimeInMillis
 

Functions

 testing::GTEST_DECLARE_bool_ (also_run_disabled_tests)
 
 testing::GTEST_DECLARE_bool_ (break_on_failure)
 
 testing::GTEST_DECLARE_bool_ (catch_exceptions)
 
 testing::GTEST_DECLARE_string_ (color)
 
 testing::GTEST_DECLARE_string_ (filter)
 
 testing::GTEST_DECLARE_bool_ (list_tests)
 
 testing::GTEST_DECLARE_string_ (output)
 
 testing::GTEST_DECLARE_bool_ (print_time)
 
 testing::GTEST_DECLARE_int32_ (random_seed)
 
 testing::GTEST_DECLARE_int32_ (repeat)
 
 testing::GTEST_DECLARE_bool_ (show_internal_stack_frames)
 
 testing::GTEST_DECLARE_bool_ (shuffle)
 
 testing::GTEST_DECLARE_int32_ (stack_trace_depth)
 
 testing::GTEST_DECLARE_bool_ (throw_on_failure)
 
 testing::GTEST_DECLARE_string_ (stream_result_to)
 
class UnitTestImpl * testing::internal::GetUnitTestImpl ()
 
void testing::internal::ReportFailureInUnknownLocation (TestPartResult::Type result_type, const std::string &message)
 
GTEST_API_ AssertionResult testing::AssertionSuccess ()
 
GTEST_API_ AssertionResult testing::AssertionFailure ()
 
GTEST_API_ AssertionResult testing::AssertionFailure (const Message &msg)
 
Environment * testing::AddGlobalTestEnvironment (Environment *env)
 
GTEST_API_ void testing::InitGoogleTest (int *argc, char **argv)
 
GTEST_API_ void testing::InitGoogleTest (int *argc, wchar_t **argv)
 
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 T1 , typename T2 >
AssertionResult testing::internal::CmpHelperEQ (const char *lhs_expression, const char *rhs_expression, const T1 &lhs, const T2 &rhs)
 
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::CmpHelperOpFailure (const char *expr1, const char *expr2, const T1 &val1, const T2 &val2, const char *op)
 
 testing::internal::GTEST_IMPL_CMP_HELPER_ (NE,!=)
 
 testing::internal::GTEST_IMPL_CMP_HELPER_ (LE,<=)
 
 testing::internal::GTEST_IMPL_CMP_HELPER_ (LT,<)
 
 testing::internal::GTEST_IMPL_CMP_HELPER_ (GE, >=)
 
 testing::internal::GTEST_IMPL_CMP_HELPER_ (GT, >)
 
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::CmpHelperSTRCASEEQ (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 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 wchar_t *s1, const wchar_t *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::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)
 
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::IsNotSubstring (const char *needle_expr, const char *haystack_expr, const ::std::string &needle, const ::std::string &haystack)
 
template<typename RawType >
AssertionResult testing::internal::CmpHelperFloatingPointEQ (const char *lhs_expression, const char *rhs_expression, RawType lhs_value, RawType rhs_value)
 
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_ AssertionResult testing::DoubleLE (const char *expr1, const char *expr2, double val1, double val2)
 
template<typename T1 , typename T2 >
bool testing::StaticAssertTypeEq ()
 
int RUN_ALL_TESTS () GTEST_MUST_USE_RESULT_
 

Variables

const int testing::kMaxStackTraceDepth = 100
 

Macro Definition Documentation

#define ADD_FAILURE_AT (   file,
  line 
)
Value:

Definition at line 1812 of file gtest.h.

View newest version in sPHENIX GitHub at line 1812 of file gtest.h

Referenced by TEST().

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

Definition at line 1853 of file gtest.h.

View newest version in sPHENIX GitHub at line 1853 of file gtest.h

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

Definition at line 2039 of file gtest.h.

View newest version in sPHENIX GitHub at line 2039 of file gtest.h

#define ASSERT_EQ (   val1,
  val2 
)    GTEST_ASSERT_EQ(val1, val2)
#define ASSERT_FALSE (   condition)
Value:
GTEST_TEST_BOOLEAN_(!(condition), #condition, true, false, \

Definition at line 1868 of file gtest.h.

View newest version in sPHENIX GitHub at line 1868 of file gtest.h

Referenced by TEST().

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

Definition at line 2035 of file gtest.h.

View newest version in sPHENIX GitHub at line 2035 of file gtest.h

Referenced by TEST().

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

Definition at line 1972 of file gtest.h.

View newest version in sPHENIX GitHub at line 1972 of file gtest.h

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

Definition at line 1976 of file gtest.h.

View newest version in sPHENIX GitHub at line 1976 of file gtest.h

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

Definition at line 1964 of file gtest.h.

View newest version in sPHENIX GitHub at line 1964 of file gtest.h

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

Definition at line 1968 of file gtest.h.

View newest version in sPHENIX GitHub at line 1968 of file gtest.h

Referenced by TEST().

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

Definition at line 1960 of file gtest.h.

View newest version in sPHENIX GitHub at line 1960 of file gtest.h

#define ASSERT_NEAR (   val1,
  val2,
  abs_error 
)
Value:

Definition at line 2047 of file gtest.h.

View newest version in sPHENIX GitHub at line 2047 of file gtest.h

Referenced by TEST().

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

Definition at line 2099 of file gtest.h.

View newest version in sPHENIX GitHub at line 2099 of file gtest.h

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

Definition at line 1851 of file gtest.h.

View newest version in sPHENIX GitHub at line 1851 of file gtest.h

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

Definition at line 2008 of file gtest.h.

View newest version in sPHENIX GitHub at line 2008 of file gtest.h

Referenced by TEST().

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

Definition at line 2010 of file gtest.h.

View newest version in sPHENIX GitHub at line 2010 of file gtest.h

Referenced by TEST().

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

Definition at line 2004 of file gtest.h.

View newest version in sPHENIX GitHub at line 2004 of file gtest.h

Referenced by testing::InitGoogleTestTest::AssertStringArrayEq(), testing::TEST(), TEST(), testing::TEST_F(), and VerifyResults().

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

Definition at line 2006 of file gtest.h.

View newest version in sPHENIX GitHub at line 2006 of file gtest.h

Referenced by TEST().

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

Definition at line 1849 of file gtest.h.

View newest version in sPHENIX GitHub at line 1849 of file gtest.h

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

Definition at line 1865 of file gtest.h.

View newest version in sPHENIX GitHub at line 1865 of file gtest.h

Referenced by testing::internal::TEST(), TEST(), testing::TEST(), TEST_F(), testing::TEST_F(), and test_not_in_range().

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

Definition at line 1847 of file gtest.h.

View newest version in sPHENIX GitHub at line 1847 of file gtest.h

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

Definition at line 2031 of file gtest.h.

View newest version in sPHENIX GitHub at line 2031 of file gtest.h

Referenced by TEST(), and testing::gmock_generated_actions_test::TEST().

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

Definition at line 2027 of file gtest.h.

View newest version in sPHENIX GitHub at line 2027 of file gtest.h

Referenced by TEST(), and genfit::TEST_F().

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

Definition at line 1932 of file gtest.h.

View newest version in sPHENIX GitHub at line 1932 of file gtest.h

Referenced by TEST().

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

Definition at line 1934 of file gtest.h.

View newest version in sPHENIX GitHub at line 1934 of file gtest.h

Referenced by TEST(), and TEST_F().

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

Definition at line 1928 of file gtest.h.

View newest version in sPHENIX GitHub at line 1928 of file gtest.h

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

Definition at line 1930 of file gtest.h.

View newest version in sPHENIX GitHub at line 1930 of file gtest.h

Referenced by testing::gtest_printers_test::TEST(), and TEST().

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

Definition at line 1926 of file gtest.h.

View newest version in sPHENIX GitHub at line 1926 of file gtest.h

Referenced by TEST().

#define EXPECT_NEAR (   val1,
  val2,
  abs_error 
)
Value:

Definition at line 2043 of file gtest.h.

View newest version in sPHENIX GitHub at line 2043 of file gtest.h

Referenced by TEST().

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

Definition at line 2101 of file gtest.h.

View newest version in sPHENIX GitHub at line 2101 of file gtest.h

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

Definition at line 1845 of file gtest.h.

View newest version in sPHENIX GitHub at line 1845 of file gtest.h

Referenced by genfit::TEST_F().

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

Definition at line 1999 of file gtest.h.

View newest version in sPHENIX GitHub at line 1999 of file gtest.h

Referenced by TEST().

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

Definition at line 2001 of file gtest.h.

View newest version in sPHENIX GitHub at line 2001 of file gtest.h

Referenced by TEST().

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

Definition at line 1997 of file gtest.h.

View newest version in sPHENIX GitHub at line 1997 of file gtest.h

Referenced by TEST(), and testing::TEST_F().

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

Definition at line 1843 of file gtest.h.

View newest version in sPHENIX GitHub at line 1843 of file gtest.h

Referenced by genfit::TEST_F().

#define GTEST_ASSERT_EQ (   val1,
  val2 
)
Value:
ASSERT_PRED_FORMAT2(::testing::internal:: \
EqHelper<GTEST_IS_NULL_LITERAL_(val1)>::Compare, \
val1, val2)

Definition at line 1937 of file gtest.h.

View newest version in sPHENIX GitHub at line 1937 of file gtest.h

Referenced by GTEST_TEST().

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

Definition at line 1947 of file gtest.h.

View newest version in sPHENIX GitHub at line 1947 of file gtest.h

Referenced by GTEST_TEST().

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

Definition at line 1949 of file gtest.h.

View newest version in sPHENIX GitHub at line 1949 of file gtest.h

Referenced by GTEST_TEST().

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

Definition at line 1943 of file gtest.h.

View newest version in sPHENIX GitHub at line 1943 of file gtest.h

Referenced by GTEST_TEST().

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

Definition at line 1945 of file gtest.h.

View newest version in sPHENIX GitHub at line 1945 of file gtest.h

Referenced by GTEST_TEST().

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

Definition at line 1941 of file gtest.h.

View newest version in sPHENIX GitHub at line 1941 of file gtest.h

Referenced by GTEST_TEST().

#define GTEST_FAIL ( )    GTEST_FATAL_FAILURE_("Failed")

Definition at line 1817 of file gtest.h.

View newest version in sPHENIX GitHub at line 1817 of file gtest.h

Referenced by GTEST_TEST().

#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 1506 of file gtest.h.

View newest version in sPHENIX GitHub at line 1506 of file gtest.h

#define GTEST_SUCCEED ( )    GTEST_SUCCESS_("Succeeded")

Definition at line 1826 of file gtest.h.

View newest version in sPHENIX GitHub at line 1826 of file gtest.h

Referenced by GTEST_TEST().

#define GTEST_TEST (   test_case_name,
  test_name 
)
Value:
GTEST_TEST_(test_case_name, test_name, \

Definition at line 2180 of file gtest.h.

View newest version in sPHENIX GitHub at line 2180 of file gtest.h

#define SCOPED_TRACE (   message)
#define SUCCEED ( )    GTEST_SUCCEED()

Definition at line 1831 of file gtest.h.

View newest version in sPHENIX GitHub at line 1831 of file gtest.h

Referenced by TEST(), testing::TEST(), testing::internal::TEST_F(), and TEST_F().

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

Definition at line 2187 of file gtest.h.

View newest version in sPHENIX GitHub at line 2187 of file gtest.h

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

Definition at line 2216 of file gtest.h.

View newest version in sPHENIX GitHub at line 2216 of file gtest.h

Function Documentation

int RUN_ALL_TESTS ( )
inline

Definition at line 2232 of file gtest.h.

View newest version in sPHENIX GitHub at line 2232 of file gtest.h

Referenced by main(), and RunAllTests().

+ Here is the caller graph for this function: