37 #ifndef GTEST_INCLUDE_GTEST_INTERNAL_GTEST_INTERNAL_H_ 38 #define GTEST_INCLUDE_GTEST_INTERNAL_GTEST_INTERNAL_H_ 44 # include <sys/types.h> 45 # include <sys/wait.h> 47 #endif // GTEST_OS_LINUX 67 #define GTEST_CONCAT_TOKEN_(foo, bar) GTEST_CONCAT_TOKEN_IMPL_(foo, bar) 68 #define GTEST_CONCAT_TOKEN_IMPL_(foo, bar) foo ## bar 100 class ProtocolMessage;
107 class AssertionResult;
111 class TestPartResult;
114 template <
typename T>
156 #ifdef GTEST_ELLIPSIS_NEEDS_POD_ 159 # define GTEST_IS_NULL_LITERAL_(x) false 161 # define GTEST_IS_NULL_LITERAL_(x) \ 162 (sizeof(::testing::internal::IsNullLiteralHelper(x)) == 1) 163 #endif // GTEST_ELLIPSIS_NEEDS_POD_ 167 const Message& user_msg);
195 template <
typename T>
203 #if defined(__SYMBIAN32__) 204 # define GTEST_CREF_WORKAROUND_ const& 206 # define GTEST_CREF_WORKAROUND_ 215 #define GTEST_FORMAT_IMPL_(operand2_type, operand1_printer)\ 216 inline String FormatForComparisonFailureMessage(\ 217 operand2_type::value_type* GTEST_CREF_WORKAROUND_ str, \ 218 const operand2_type& ) {\ 219 return operand1_printer(str);\ 221 inline String FormatForComparisonFailureMessage(\ 222 const operand2_type::value_type* GTEST_CREF_WORKAROUND_ str, \ 223 const operand2_type& ) {\ 224 return operand1_printer(str);\ 228 #if GTEST_HAS_STD_WSTRING 230 #endif // GTEST_HAS_STD_WSTRING 232 #if GTEST_HAS_GLOBAL_STRING 234 #endif // GTEST_HAS_GLOBAL_STRING 235 #if GTEST_HAS_GLOBAL_WSTRING 237 #endif // GTEST_HAS_GLOBAL_WSTRING 239 #undef GTEST_FORMAT_IMPL_ 245 #define GTEST_FORMAT_CHAR_PTR_IMPL_(CharType) \ 246 template <typename T> \ 247 String FormatForComparisonFailureMessage(CharType* GTEST_CREF_WORKAROUND_ p, \ 249 return PrintToString(static_cast<const void*>(p)); \ 257 #undef GTEST_FORMAT_CHAR_PTR_IMPL_ 275 const char* actual_expression,
276 const String& expected_value,
277 const String& actual_value,
282 const AssertionResult& assertion_result,
283 const char* expression_text,
284 const char* actual_predicate_value,
285 const char* expected_predicate_value);
316 template <
typename RawType>
326 static const size_t kBitCount = 8*
sizeof(RawType);
329 static const size_t kFractionBitCount =
330 std::numeric_limits<RawType>::digits - 1;
333 static const size_t kExponentBitCount = kBitCount - 1 - kFractionBitCount;
336 static const Bits kSignBitMask =
static_cast<Bits
>(1) << (kBitCount - 1);
339 static const Bits kFractionBitMask =
340 ~static_cast<Bits>(0) >> (kExponentBitCount + 1);
343 static const Bits kExponentBitMask = ~(kSignBitMask | kFractionBitMask);
357 static const size_t kMaxUlps = 4;
380 return ReinterpretBits(kExponentBitMask);
386 const Bits &
bits()
const {
return u_.bits_; }
395 Bits
sign_bit()
const {
return kSignBitMask & u_.bits_; }
401 return (exponent_bits() == kExponentBitMask) && (fraction_bits() != 0);
413 if (is_nan() || rhs.
is_nan())
return false;
415 return DistanceBetweenSignAndMagnitudeNumbers(u_.bits_, rhs.
u_.
bits_)
442 if (kSignBitMask & sam) {
447 return kSignBitMask | sam;
455 const Bits biased1 = SignAndMagnitudeToBiased(sam1);
456 const Bits biased2 = SignAndMagnitudeToBiased(sam2);
457 return (biased1 >= biased2) ? (biased1 - biased2) : (biased2 - biased1);
476 template <
typename T>
485 template <
typename T>
491 template <
typename T>
497 return &(TypeIdHelper<T>::dummy_);
515 virtual Test* CreateTest() = 0;
526 template <
class TestClass>
543 #endif // GTEST_OS_WINDOWS 567 const char* test_case_name,
const char* name,
568 const char* type_param,
569 const char* value_param,
570 TypeId fixture_class_id,
580 #if GTEST_HAS_TYPED_TEST || GTEST_HAS_TYPED_TEST_P 585 TypedTestCasePState() : registered_(false) {}
590 bool AddTestName(
const char* file,
int line,
const char* case_name,
591 const char* test_name) {
593 fprintf(stderr,
"%s Test %s must be defined before " 594 "REGISTER_TYPED_TEST_CASE_P(%s, ...).\n",
599 defined_test_names_.insert(test_name);
606 const char* VerifyRegisteredTestNames(
607 const char* file,
int line,
const char* registered_tests);
611 ::std::set<const char*> defined_test_names_;
616 inline const char* SkipComma(
const char* str) {
617 const char* comma = strchr(str,
',');
627 inline String GetPrefixUntilComma(
const char* str) {
628 const char* comma = strchr(str,
',');
629 return comma == NULL ?
String(str) : String(str, comma - str);
639 template <GTEST_TEMPLATE_ Fixture,
class TestSel,
typename Types>
640 class TypeParameterizedTest {
646 static bool Register(
const char* prefix,
const char* case_name,
647 const char* test_names,
int index) {
648 typedef typename Types::Head
Type;
649 typedef Fixture<Type> FixtureClass;
650 typedef typename GTEST_BIND_(TestSel, Type) TestClass;
655 String::Format("%s%s%s/%d", prefix, prefix[0] == '\0' ? "" : "/",
656 case_name, index).c_str(),
657 GetPrefixUntilComma(test_names).c_str(),
661 TestClass::SetUpTestCase,
662 TestClass::TearDownTestCase,
666 return TypeParameterizedTest<Fixture, TestSel, typename Types::Tail>
667 ::Register(prefix, case_name, test_names, index + 1);
672 template <GTEST_TEMPLATE_ Fixture, class TestSel>
673 class TypeParameterizedTest<Fixture, TestSel, Types0> {
675 static bool Register(
const char* ,
const char* ,
676 const char* ,
int ) {
685 template <GTEST_TEMPLATE_ Fixture,
typename Tests,
typename Types>
686 class TypeParameterizedTestCase {
688 static bool Register(
const char* prefix,
const char* case_name,
689 const char* test_names) {
690 typedef typename Tests::Head Head;
693 TypeParameterizedTest<Fixture, Head, Types>::Register(
694 prefix, case_name, test_names, 0);
697 return TypeParameterizedTestCase<Fixture, typename Tests::Tail, Types>
698 ::Register(prefix, case_name, SkipComma(test_names));
703 template <GTEST_TEMPLATE_ Fixture,
typename Types>
704 class TypeParameterizedTestCase<Fixture, Templates0, Types> {
706 static bool Register(
const char* ,
const char* ,
712 #endif // GTEST_HAS_TYPED_TEST || GTEST_HAS_TYPED_TEST_P 741 operator bool()
const {
return true; }
752 static const UInt32 kMaxRange = 1u << 31;
769 template <
typename T1,
typename T2>
772 template <
typename T>
779 template <
typename T>
781 template <
typename T>
786 #define GTEST_REMOVE_REFERENCE_(T) \ 787 typename ::testing::internal::RemoveReference<T>::type 792 template <
typename T>
794 template <
typename T>
802 #if defined(_MSC_VER) || defined(__SUNPRO_CC) || defined(__IBMCPP__) 803 template <
typename T,
size_t N>
811 #define GTEST_REMOVE_CONST_(T) \ 812 typename ::testing::internal::RemoveConst<T>::type 815 #define GTEST_REMOVE_REFERENCE_AND_CONST_(T) \ 816 GTEST_REMOVE_CONST_(GTEST_REMOVE_REFERENCE_(T)) 821 template <
typename T>
823 template <
typename T>
828 #define GTEST_ADD_REFERENCE_(T) \ 829 typename ::testing::internal::AddReference<T>::type 840 #define GTEST_REFERENCE_TO_CONST_(T) \ 841 GTEST_ADD_REFERENCE_(const GTEST_REMOVE_REFERENCE_(T)) 846 template <
typename From,
typename To>
855 static From MakeFrom();
867 static char Helper(To);
868 static char (&Helper(...))[2];
877 # pragma warning(push) // Saves the current warning state. 878 # pragma warning(disable:4244) // Temporarily disables warning 4244. 880 static const bool value =
881 sizeof(Helper(ImplicitlyConvertible::MakeFrom())) == 1;
882 # pragma warning(pop) // Restores the warning state. 883 #elif defined(__BORLANDC__) 887 static const bool value = __is_convertible(From, To);
889 static const bool value =
890 sizeof(Helper(ImplicitlyConvertible::MakeFrom())) == 1;
893 template <
typename From,
typename To>
899 template <
typename T>
902 ImplicitlyConvertible<const T*, const ::ProtocolMessage*>::value ||
903 ImplicitlyConvertible<const T*, const ::proto2::Message*>::value> {
930 typename C::iterator* = NULL,
931 typename C::const_iterator* = NULL) {
952 template <
typename T,
typename U>
953 bool ArrayEq(
const T* lhs,
size_t size,
const U* rhs);
956 template <
typename T,
typename U>
957 inline bool ArrayEq(
const T& lhs,
const U& rhs) {
return lhs == rhs; }
960 template <
typename T,
typename U,
size_t N>
961 inline bool ArrayEq(
const T(&lhs)[N],
const U(&rhs)[N]) {
968 template <
typename T,
typename U>
969 bool ArrayEq(
const T* lhs,
size_t size,
const U* rhs) {
970 for (
size_t i = 0; i != size; i++) {
979 template <
typename Iter,
typename Element>
981 for (Iter it = begin; it != end; ++it) {
992 template <
typename T,
typename U>
993 void CopyArray(
const T* from,
size_t size,
U* to);
996 template <
typename T,
typename U>
1000 template <
typename T,
typename U,
size_t N>
1008 template <
typename T,
typename U>
1010 for (
size_t i = 0; i != size; i++) {
1031 template <
typename Element>
1041 Init(array, count, relation);
1054 if (relation_to_source_ ==
kCopy)
1059 size_t size()
const {
return size_; }
1060 const_iterator
begin()
const {
return array_; }
1061 const_iterator
end()
const {
return array_ + size_; }
1063 return size() == rhs.
size() &&
1074 Element*
const copy =
new Element[a_size];
1079 relation_to_source_ = relation;
1092 #define GTEST_MESSAGE_AT_(file, line, message, result_type) \ 1093 ::testing::internal::AssertHelper(result_type, file, line, message) \ 1094 = ::testing::Message() 1096 #define GTEST_MESSAGE_(message, result_type) \ 1097 GTEST_MESSAGE_AT_(__FILE__, __LINE__, message, result_type) 1099 #define GTEST_FATAL_FAILURE_(message) \ 1100 return GTEST_MESSAGE_(message, ::testing::TestPartResult::kFatalFailure) 1102 #define GTEST_NONFATAL_FAILURE_(message) \ 1103 GTEST_MESSAGE_(message, ::testing::TestPartResult::kNonFatalFailure) 1105 #define GTEST_SUCCESS_(message) \ 1106 GTEST_MESSAGE_(message, ::testing::TestPartResult::kSuccess) 1111 #define GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement) \ 1112 if (::testing::internal::AlwaysTrue()) { statement; } 1114 #define GTEST_TEST_THROW_(statement, expected_exception, fail) \ 1115 GTEST_AMBIGUOUS_ELSE_BLOCKER_ \ 1116 if (::testing::internal::ConstCharPtr gtest_msg = "") { \ 1117 bool gtest_caught_expected = false; \ 1119 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \ 1121 catch (expected_exception const&) { \ 1122 gtest_caught_expected = true; \ 1126 "Expected: " #statement " throws an exception of type " \ 1127 #expected_exception ".\n Actual: it throws a different type."; \ 1128 goto GTEST_CONCAT_TOKEN_(gtest_label_testthrow_, __LINE__); \ 1130 if (!gtest_caught_expected) { \ 1132 "Expected: " #statement " throws an exception of type " \ 1133 #expected_exception ".\n Actual: it throws nothing."; \ 1134 goto GTEST_CONCAT_TOKEN_(gtest_label_testthrow_, __LINE__); \ 1137 GTEST_CONCAT_TOKEN_(gtest_label_testthrow_, __LINE__): \ 1138 fail(gtest_msg.value) 1140 #define GTEST_TEST_NO_THROW_(statement, fail) \ 1141 GTEST_AMBIGUOUS_ELSE_BLOCKER_ \ 1142 if (::testing::internal::AlwaysTrue()) { \ 1144 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \ 1147 goto GTEST_CONCAT_TOKEN_(gtest_label_testnothrow_, __LINE__); \ 1150 GTEST_CONCAT_TOKEN_(gtest_label_testnothrow_, __LINE__): \ 1151 fail("Expected: " #statement " doesn't throw an exception.\n" \ 1152 " Actual: it throws.") 1154 #define GTEST_TEST_ANY_THROW_(statement, fail) \ 1155 GTEST_AMBIGUOUS_ELSE_BLOCKER_ \ 1156 if (::testing::internal::AlwaysTrue()) { \ 1157 bool gtest_caught_any = false; \ 1159 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \ 1162 gtest_caught_any = true; \ 1164 if (!gtest_caught_any) { \ 1165 goto GTEST_CONCAT_TOKEN_(gtest_label_testanythrow_, __LINE__); \ 1168 GTEST_CONCAT_TOKEN_(gtest_label_testanythrow_, __LINE__): \ 1169 fail("Expected: " #statement " throws an exception.\n" \ 1170 " Actual: it doesn't.") 1176 #define GTEST_TEST_BOOLEAN_(expression, text, actual, expected, fail) \ 1177 GTEST_AMBIGUOUS_ELSE_BLOCKER_ \ 1178 if (const ::testing::AssertionResult gtest_ar_ = \ 1179 ::testing::AssertionResult(expression)) \ 1182 fail(::testing::internal::GetBoolAssertionFailureMessage(\ 1183 gtest_ar_, text, #actual, #expected).c_str()) 1185 #define GTEST_TEST_NO_FATAL_FAILURE_(statement, fail) \ 1186 GTEST_AMBIGUOUS_ELSE_BLOCKER_ \ 1187 if (::testing::internal::AlwaysTrue()) { \ 1188 ::testing::internal::HasNewFatalFailureHelper gtest_fatal_failure_checker; \ 1189 GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement); \ 1190 if (gtest_fatal_failure_checker.has_new_fatal_failure()) { \ 1191 goto GTEST_CONCAT_TOKEN_(gtest_label_testnofatal_, __LINE__); \ 1194 GTEST_CONCAT_TOKEN_(gtest_label_testnofatal_, __LINE__): \ 1195 fail("Expected: " #statement " doesn't generate new fatal " \ 1196 "failures in the current thread.\n" \ 1197 " Actual: it does.") 1200 #define GTEST_TEST_CLASS_NAME_(test_case_name, test_name) \ 1201 test_case_name##_##test_name##_Test 1204 #define GTEST_TEST_(test_case_name, test_name, parent_class, parent_id)\ 1205 class GTEST_TEST_CLASS_NAME_(test_case_name, test_name) : public parent_class {\ 1207 GTEST_TEST_CLASS_NAME_(test_case_name, test_name)() {}\ 1209 virtual void TestBody();\ 1210 static ::testing::TestInfo* const test_info_ GTEST_ATTRIBUTE_UNUSED_;\ 1211 GTEST_DISALLOW_COPY_AND_ASSIGN_(\ 1212 GTEST_TEST_CLASS_NAME_(test_case_name, test_name));\ 1215 ::testing::TestInfo* const GTEST_TEST_CLASS_NAME_(test_case_name, test_name)\ 1217 ::testing::internal::MakeAndRegisterTestInfo(\ 1218 #test_case_name, #test_name, NULL, NULL, \ 1220 parent_class::SetUpTestCase, \ 1221 parent_class::TearDownTestCase, \ 1222 new ::testing::internal::TestFactoryImpl<\ 1223 GTEST_TEST_CLASS_NAME_(test_case_name, test_name)>);\ 1224 void GTEST_TEST_CLASS_NAME_(test_case_name, test_name)::TestBody() 1226 #endif // GTEST_INCLUDE_GTEST_INTERNAL_GTEST_INTERNAL_H_ static RawType ReinterpretBits(const Bits bits)
Definition: gtest-internal.h:372
Definition: gtest-internal.h:847
TypeId GetTypeId()
Definition: gtest-internal.h:492
bool AlmostEquals(const FloatingPoint &rhs) const
Definition: gtest-internal.h:410
Definition: gmock-actions.h:49
Definition: gtest-internal.h:780
FloatingPointUnion u_
Definition: gtest-internal.h:460
virtual Test * CreateTest()
Definition: gtest-internal.h:529
Definition: gtest-internal.h:527
TestFactoryBase()
Definition: gtest-internal.h:518
Element value_type
Definition: gtest-internal.h:1035
Definition: gtest-internal.h:770
const_iterator end() const
Definition: gtest-internal.h:1061
Bits bits_
Definition: gtest-internal.h:423
GTEST_API_ String AppendUserMessage(const String >est_msg, const Message &user_msg)
Definition: gtest.cc:1755
NativeArray(const NativeArray &rhs)
Definition: gtest-internal.h:1045
GTEST_API_ String GetCurrentOsStackTraceExceptTop(UnitTest *unit_test, int skip_count)
Definition: gtest.cc:4518
int IsContainer
Definition: gtest-internal.h:927
::std::string PrintToString(const T &value)
Definition: gtest-printers.h:788
Definition: gtest-internal.h:822
UInt32 state_
Definition: gtest-internal.h:763
ConstCharPtr(const char *str)
Definition: gtest-internal.h:740
String GetTypeName()
Definition: gtest-type-util.h:65
IsNotContainer IsContainerTest(long)
Definition: gtest-internal.h:937
GTEST_API_::std::string FormatFileLocation(const char *file, int line)
Definition: gtest-port.cc:431
#define GTEST_ATTRIBUTE_UNUSED_
Definition: gtest-port.h:610
::std::string string
Definition: gtest-port.h:756
Definition: gtest-internal.h:317
FloatingPoint(const RawType &x)
Definition: gtest-internal.h:365
void Init(const Element *array, size_t a_size, RelationToSource relation)
Definition: gtest-internal.h:1070
Definition: InputPrereqs.h:107
::std::wstring wstring
Definition: gtest-port.h:762
NativeArray(const Element *array, size_t count, RelationToSource relation)
Definition: gtest-internal.h:1040
RelationToSource relation_to_source_
Definition: gtest-internal.h:1084
Definition: gtest-internal.h:421
Element * iterator
Definition: gtest-internal.h:1036
GTEST_API_ bool SkipPrefix(const char *prefix, const char **pstr)
Definition: gtest.cc:4546
void type
Definition: gtest-internal.h:944
Definition: gtest-internal.h:1032
Definition: gtest-internal.h:477
#define GTEST_API_
Definition: gtest-port.h:662
Output level, used for messages directed to the user (e.g. "Press any key to continue") ...
Definition: OutputDefinitions.h:89
GTEST_API_ TestInfo * MakeAndRegisterTestInfo(const char *test_case_name, const char *name, const char *type_param, const char *value_param, TypeId fixture_class_id, SetUpTestCaseFunc set_up_tc, TearDownTestCaseFunc tear_down_tc, TestFactoryBase *factory)
Definition: gtest.cc:2229
bool is_nan() const
Definition: gtest-internal.h:398
#define GTEST_DISALLOW_ASSIGN_(type)
Definition: gtest-port.h:615
typedef void(ENET_CALLBACK *ENetPacketFreeCallback)(struct _ENetPacket *)
TypeWithSize< 4 >::UInt UInt32
Definition: gtest-port.h:1733
T & type
Definition: gtest-internal.h:824
const void * TypeId
Definition: gtest-internal.h:474
bool IsSpace(char ch)
Definition: gtest-port.h:1523
T & type
Definition: gtest-internal.h:822
GTEST_API_ TypeId GetTestTypeId()
Definition: gtest.cc:594
void CopyArray(const T(&from)[N], U(*to)[N])
Definition: gtest-internal.h:1001
FloatingPoint< float > Float
Definition: gtest-internal.h:465
FloatingPoint< double > Double
Definition: gtest-internal.h:466
Definition: gtest-internal.h:739
Definition: gtest-port.h:748
Bits sign_bit() const
Definition: gtest-internal.h:395
#define GTEST_FORMAT_IMPL_(operand2_type, operand1_printer)
Definition: gtest-internal.h:215
const_iterator begin() const
Definition: gtest-internal.h:1060
TypeWithSize< sizeof(RawType)>::UInt Bits
Definition: gtest-internal.h:321
const Element * const_iterator
Definition: gtest-internal.h:1037
Bits fraction_bits() const
Definition: gtest-internal.h:392
T type
Definition: gtest-internal.h:795
GTEST_API_ bool AlwaysTrue()
Definition: gtest.cc:4533
static Bits SignAndMagnitudeToBiased(const Bits &sam)
Definition: gtest-internal.h:441
T type
Definition: gtest-internal.h:782
bool AlwaysFalse()
Definition: gtest-internal.h:734
void(* SetUpTestCaseFunc)()
Definition: gtest-internal.h:546
Definition: gtest-string.h:81
void(* TearDownTestCaseFunc)()
Definition: gtest-internal.h:547
void Reseed(UInt32 seed)
Definition: gtest-internal.h:756
Definition: gtest-internal.h:170
Definition: gtest-port.h:1698
Definition: InputPrereqs.h:78
virtual ~TestFactoryBase()
Definition: gtest-internal.h:511
Definition: gtest-port.h:1463
static bool dummy_
Definition: gtest-internal.h:482
Definition: gtest-internal.h:101
GTEST_API_ const char kStackTraceMarker[]
Definition: gtest.cc:174
const Element * array_
Definition: gtest-internal.h:1082
Definition: gtest-internal.h:900
int g_init_gtest_count
Definition: gtest.cc:308
size_t size_
Definition: gtest-internal.h:1083
Type
Each Input class has a General Type variable, a form of RTTI.
Definition: OISPrereqs.h:138
char IsNotContainer
Definition: gtest-internal.h:935
GTEST_API_ AssertionResult EqFailure(const char *expected_expression, const char *actual_expression, const String &expected_value, const String &actual_value, bool ignoring_case)
Definition: gtest.cc:998
Definition: gtest-internal.h:943
T type
Definition: gtest-internal.h:780
static RawType Infinity()
Definition: gtest-internal.h:379
void Abort()
Definition: gtest-port.h:1664
#define GTEST_DISALLOW_COPY_AND_ASSIGN_(type)
Definition: gtest-port.h:620
#define GTEST_FORMAT_CHAR_PTR_IMPL_(CharType)
Definition: gtest-internal.h:245
char(& IsNullLiteralHelper(...))[2]
GTEST_API_ String GetBoolAssertionFailureMessage(const AssertionResult &assertion_result, const char *expression_text, const char *actual_predicate_value, const char *expected_predicate_value)
Definition: gtest.cc:1021
T type
Definition: gtest-internal.h:793
Definition: gtest-internal.h:1019
Random(UInt32 seed)
Definition: gtest-internal.h:754
size_t size() const
Definition: gtest-internal.h:1059
const Bits & bits() const
Definition: gtest-internal.h:386
Iter ArrayAwareFind(Iter begin, Iter end, const Element &elem)
Definition: gtest-internal.h:980
const char * value
Definition: gtest-internal.h:742
RawType value_
Definition: gtest-internal.h:422
Definition: gtest-internal.h:1018
~NativeArray()
Definition: gtest-internal.h:1049
bool operator==(const NativeArray &rhs) const
Definition: gtest-internal.h:1062
static Bits DistanceBetweenSignAndMagnitudeNumbers(const Bits &sam1, const Bits &sam2)
Definition: gtest-internal.h:453
Definition: gtest-internal.h:509
Bits exponent_bits() const
Definition: gtest-internal.h:389
RelationToSource
Definition: gtest-internal.h:1017
Definition: InputPrereqs.h:80
bool ArrayEq(const T(&lhs)[N], const U(&rhs)[N])
Definition: gtest-internal.h:961
Definition: gtest-internal.h:793
Definition: gtest-message.h:82
Definition: gtest-internal.h:750
#define GTEST_REMOVE_REFERENCE_AND_CONST_(T)
Definition: gtest-internal.h:815
void GTestStreamToHelper(std::ostream *os, const T &val)
Definition: gtest-internal.h:96
String StreamableToString(const T &streamable)
Definition: gtest.h:172