Classes | Namespaces | Macros | Typedefs | Functions | Variables
googletest/googletest/test/gtest_unittest.cc File Reference
#include "gtest/gtest.h"
#include <limits.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <cstdint>
#include <map>
#include <ostream>
#include <string>
#include <type_traits>
#include <unordered_set>
#include <vector>
#include "gtest/gtest-spi.h"
#include "src/gtest-internal-inl.h"
Include dependency graph for googletest/googletest/test/gtest_unittest.cc:

Go to the source code of this file.

Classes

struct  AHashTable
 
class  my_namespace::testing::AssertionResult
 
class  Base
 
class  testing::CodeLocationForTESTF
 
class  testing::CodeLocationForTESTP
 
class  testing::CodeLocationForTYPEDTEST< T >
 
class  testing::CodeLocationForTYPEDTESTP< T >
 
struct  ConstOnlyContainerWithClassIterator::const_iterator
 
struct  ConstOnlyContainerWithClassIterator
 
struct  ConstOnlyContainerWithPointerIterator
 
struct  ConstructionCounting
 
class  ConversionHelperBase
 
class  ConversionHelperDerived
 
struct  ConvertibleToAssertionResult
 
class  testing::CurrentTestInfoTest
 
class  DynamicTest< Pass >
 
class  DynamicUnitTestFixture
 
struct  testing::Flags
 
struct  HasDebugStringMethods
 
struct  InheritsDebugStringMethods
 
class  my_namespace::testing::Message
 
struct  MissingDebugStringMethod
 
class  namespace1::MyTypeInNameSpace1
 
class  namespace2::MyTypeInNameSpace2
 
class  NonContainer
 
struct  NotConstDebugStringMethod
 
struct  NotReallyAHashTable
 
class  testing::ParseFlagsTest
 
class  ProtectedFixtureMethodsTest
 
class  SequenceTestingListener
 
class  testing::SetUpTestCaseTest
 
class  testing::SetUpTestSuiteTest
 
class  StaticAssertTypeEqTestHelper< T >
 
class  my_namespace::testing::Test
 
class  testing::internal::TestEventListenersAccessor
 
class  testing::TestInfoTest
 
class  TestingVector
 
class  TestListener
 
class  testing::internal::UnitTestRecordPropertyTestHelper
 
struct  WrongTypeDebugStringMethod
 

Namespaces

 my_namespace
 
 my_namespace::testing
 
 namespace1
 
 namespace2
 
 testing
 
 testing::internal
 

Macros

#define GTEST_FLAT_TUPLE_INT128   GTEST_FLAT_TUPLE_INT64 GTEST_FLAT_TUPLE_INT64
 
#define GTEST_FLAT_TUPLE_INT16   GTEST_FLAT_TUPLE_INT8 GTEST_FLAT_TUPLE_INT8
 
#define GTEST_FLAT_TUPLE_INT256   GTEST_FLAT_TUPLE_INT128 GTEST_FLAT_TUPLE_INT128
 
#define GTEST_FLAT_TUPLE_INT32   GTEST_FLAT_TUPLE_INT16 GTEST_FLAT_TUPLE_INT16
 
#define GTEST_FLAT_TUPLE_INT64   GTEST_FLAT_TUPLE_INT32 GTEST_FLAT_TUPLE_INT32
 
#define GTEST_FLAT_TUPLE_INT8   int, int, int, int, int, int, int, int,
 
#define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help)
 
#define GTEST_USE_UNPROTECTED_COMMA_   global_var++, global_var++
 
#define VERIFY_CODE_LOCATION
 

Typedefs

typedef int IntAlias
 

Functions

static void FailFatally ()
 
 GTEST_TEST (AlternativeNameTest, Works)
 
static bool HasFailureHelper ()
 
static bool HasNonfatalFailureHelper ()
 
 testing::INSTANTIATE_TEST_SUITE_P (, CodeLocationForTESTP, Values(0))
 
 testing::INSTANTIATE_TYPED_TEST_SUITE_P (My, CodeLocationForTYPEDTESTP, int)
 
::std::ostream & operator<< (::std::ostream &os, const TestingVector &vector)
 
std::ostream & operator<< (std::ostream &os, const Base &val)
 
std::ostream & operator<< (std::ostream &os, const Base *pointer)
 
std::ostream & namespace1::operator<< (std::ostream &os, const MyTypeInNameSpace1 &val)
 
std::ostream & namespace1::operator<< (std::ostream &os, const MyTypeInNameSpace1 *pointer)
 
std::ostream & operator<< (std::ostream &os, const namespace2::MyTypeInNameSpace2 &val)
 
std::ostream & operator<< (std::ostream &os, const namespace2::MyTypeInNameSpace2 *pointer)
 
 testing::REGISTER_TYPED_TEST_SUITE_P (CodeLocationForTYPEDTESTP, Verify)
 
 TEST (AdHocTestResultTest, AdHocTestResultForUnitTestDoesNotShowFailure)
 
 TEST (ArrayAwareFindTest, WorksForOneDimensionalArray)
 
 TEST (ArrayAwareFindTest, WorksForTwoDimensionalArray)
 
 TEST (ArrayEqTest, WorksForDegeneratedArrays)
 
 TEST (ArrayEqTest, WorksForOneDimensionalArrays)
 
 TEST (ArrayEqTest, WorksForTwoDimensionalArrays)
 
 TEST (AssertionResultTest, CanStreamOstreamManipulators)
 
 TEST (AssertionResultTest, ConstructibleFromContextuallyConvertibleToBool)
 
 TEST (AssertionResultTest, ConstructibleFromImplicitlyConvertible)
 
 TEST (AssertionResultTest, ConstructionWorks)
 
 TEST (AssertionResultTest, CopyConstructorWorksWhenNotOptimied)
 
 TEST (AssertionResultTest, NegationWorks)
 
 TEST (AssertionResultTest, StreamingWorks)
 
 testing::TEST (CodeLocationForTEST, Verify)
 
 TEST (ColoredOutputTest, UsesColorsWhenGTestColorFlagIsAliasOfYes)
 
 TEST (ColoredOutputTest, UsesColorsWhenGTestColorFlagIsYes)
 
 TEST (ColoredOutputTest, UsesColorsWhenStdoutIsTty)
 
 TEST (ColoredOutputTest, UsesColorsWhenTermSupportsColors)
 
 TEST (ColoredOutputTest, UsesNoColorWhenGTestColorFlagIsInvalid)
 
 TEST (ColoredOutputTest, UsesNoColorWhenGTestColorFlagIsNo)
 
 TEST (CommandLineFlagsTest, CanBeAccessedInCodeOnceGTestHIsIncluded)
 
 TEST (CopyArrayTest, WorksForDegeneratedArrays)
 
 TEST (CopyArrayTest, WorksForOneDimensionalArrays)
 
 TEST (CopyArrayTest, WorksForTwoDimensionalArrays)
 
 TEST (ElemFromList, Basic)
 
 TEST (EventListenerDeathTest, EventsNotForwardedInDeathTestSubprecesses)
 
 TEST (EventListenerTest, AppendKeepsOrder)
 
 TEST (EventListenerTest, default_result_printer)
 
 TEST (EventListenerTest, default_xml_generator)
 
 TEST (EventListenerTest, RemovingDefaultResultPrinterWorks)
 
 TEST (EventListenerTest, RemovingDefaultXmlGeneratorWorks)
 
 TEST (EventListenerTest, SuppressEventForwarding)
 
 TEST (FlatTuple, Apply)
 
 TEST (FlatTuple, Basic)
 
 TEST (FlatTuple, ConstructorCalls)
 
 TEST (FlatTuple, ManyTypes)
 
 TEST (GTestReferenceToConstTest, Works)
 
 TEST (HasDebugStringAndShortDebugStringTest, ValueIsCompileTimeConstant)
 
 TEST (HasDebugStringAndShortDebugStringTest, ValueIsFalseWhenTypeIsNotAProtocolMessage)
 
 TEST (HasDebugStringAndShortDebugStringTest, ValueIsTrueWhenTypeHasDebugStringAndShortDebugString)
 
 TEST (HasFailureTest, ReturnsFalseWhenThereIsNoFailure)
 
 TEST (HasFailureTest, ReturnsTrueWhenThereAreFatalAndNonfatalFailures)
 
 TEST (HasFailureTest, ReturnsTrueWhenThereIsFatalFailure)
 
 TEST (HasFailureTest, ReturnsTrueWhenThereIsNonfatalFailure)
 
 TEST (HasFailureTest, WorksOutsideOfTestBody)
 
 TEST (HasFailureTest, WorksOutsideOfTestBody2)
 
 TEST (HasNonfatalFailureTest, ReturnsFalseWhenThereIsNoFailure)
 
 TEST (HasNonfatalFailureTest, ReturnsFalseWhenThereIsOnlyFatalFailure)
 
 TEST (HasNonfatalFailureTest, ReturnsTrueWhenThereAreFatalAndNonfatalFailures)
 
 TEST (HasNonfatalFailureTest, ReturnsTrueWhenThereIsNonfatalFailure)
 
 TEST (HasNonfatalFailureTest, WorksOutsideOfTestBody)
 
 TEST (HasNonfatalFailureTest, WorksOutsideOfTestBody2)
 
 TEST (IndexSequence, MakeIndexSequence)
 
 TEST (IsContainerTestTest, ConstOnlyContainer)
 
 TEST (IsContainerTestTest, WorksForContainer)
 
 TEST (IsContainerTestTest, WorksForNonContainer)
 
 TEST (IsHashTable, Basic)
 
 TEST (MessageTest, CanStreamUserTypeInGlobalNameSpace)
 
 TEST (MessageTest, CanStreamUserTypeInUnnamedNameSpace)
 
 TEST (MessageTest, CanStreamUserTypeInUserNameSpace)
 
 TEST (MessageTest, CanStreamUserTypeInUserNameSpaceWithStreamOperatorInGlobal)
 
 TEST (MessageTest, NullPointers)
 
 TEST (MessageTest, WideStrings)
 
 TEST (NativeArrayTest, ConstructorFromArrayWorks)
 
 TEST (NativeArrayTest, CreatesAndDeletesCopyOfArrayWhenAskedTo)
 
 TEST (NativeArrayTest, MethodsWork)
 
 TEST (NativeArrayTest, TypeMembersAreCorrect)
 
 TEST (NativeArrayTest, WorksForTwoDimensionalArray)
 
 my_namespace::testing::TEST (NestedTestingNamespaceTest, Failure)
 
 my_namespace::testing::TEST (NestedTestingNamespaceTest, Success)
 
 TEST (PatternGlobbingTest, MatchesFilterEdgeCases)
 
 TEST (PatternGlobbingTest, MatchesFilterLinearRuntime)
 
 TEST (PatternGlobbingTest, MatchesFilterWithMultiplePatterns)
 
 TEST (RegisterTest, WasRegistered)
 
 TEST (RemoveReferenceToConstTest, Works)
 
 TEST (SkipPrefixTest, DoesNotSkipWhenPrefixDoesNotMatch)
 
 TEST (SkipPrefixTest, SkipsWhenPrefixMatches)
 
 TEST (StaticAssertTypeEqTest, CompilesForEqualTypes)
 
 TEST (StaticAssertTypeEqTest, WorksInClass)
 
 TEST (StreamingAssertionsTest, FloatingPointEquals)
 
 TEST (StreamingAssertionsTest, IntegerEquals)
 
 TEST (StreamingAssertionsTest, IntegerLessThan)
 
 TEST (StreamingAssertionsTest, StringNotEqualIgnoringCase)
 
 TEST (StreamingAssertionsTest, StringsEqual)
 
 TEST (StreamingAssertionsTest, StringsEqualIgnoringCase)
 
 TEST (StreamingAssertionsTest, StringsNotEqual)
 
 TEST (StreamingAssertionsTest, Truth)
 
 TEST (StreamingAssertionsTest, Truth2)
 
 TEST (StreamingAssertionsTest, Unconditional)
 
 testing::TEST (SuccessfulAssertionTest, ASSERT)
 
 testing::TEST (SuccessfulAssertionTest, ASSERT_STR)
 
 testing::TEST (SuccessfulAssertionTest, EXPECT)
 
 testing::TEST (SuccessfulAssertionTest, EXPECT_STR)
 
 testing::TEST (SuccessfulAssertionTest, SUCCEED)
 
 TEST (TestEventListenersTest, Append)
 
 TEST (TestEventListenersTest, ConstructionWorks)
 
 TEST (TestEventListenersTest, DestructionWorks)
 
 TEST (TestEventListenersTest, Release)
 
 testing::TEST_F (CodeLocationForTESTF, Verify)
 
 testing::TEST_F (CurrentTestInfoTest, WorksForFirstTestInATestSuite)
 
 testing::TEST_F (CurrentTestInfoTest, WorksForSecondTestInATestSuite)
 
 testing::TEST_F (ParseFlagsTest, AlsoRunDisabledTestsFalse)
 
 testing::TEST_F (ParseFlagsTest, AlsoRunDisabledTestsFlag)
 
 testing::TEST_F (ParseFlagsTest, AlsoRunDisabledTestsTrue)
 
 testing::TEST_F (ParseFlagsTest, BreakOnFailureFalse_0)
 
 testing::TEST_F (ParseFlagsTest, BreakOnFailureFalse_f)
 
 testing::TEST_F (ParseFlagsTest, BreakOnFailureFalse_F)
 
 testing::TEST_F (ParseFlagsTest, BreakOnFailureTrue)
 
 testing::TEST_F (ParseFlagsTest, BreakOnFailureWithoutValue)
 
 testing::TEST_F (ParseFlagsTest, BriefFlag)
 
 testing::TEST_F (ParseFlagsTest, BriefFlagFalse)
 
 testing::TEST_F (ParseFlagsTest, BriefFlagTrue)
 
 testing::TEST_F (ParseFlagsTest, CatchExceptions)
 
 testing::TEST_F (ParseFlagsTest, DeathTestUseFork)
 
 testing::TEST_F (ParseFlagsTest, DuplicatedFlags)
 
 testing::TEST_F (ParseFlagsTest, Empty)
 
 testing::TEST_F (ParseFlagsTest, FailFast)
 
 testing::TEST_F (ParseFlagsTest, FilterBad)
 
 testing::TEST_F (ParseFlagsTest, FilterEmpty)
 
 testing::TEST_F (ParseFlagsTest, FilterNonEmpty)
 
 testing::TEST_F (ParseFlagsTest, ListTestsFalse)
 
 testing::TEST_F (ParseFlagsTest, ListTestsFalse_f)
 
 testing::TEST_F (ParseFlagsTest, ListTestsFalse_F)
 
 testing::TEST_F (ParseFlagsTest, ListTestsFlag)
 
 testing::TEST_F (ParseFlagsTest, ListTestsTrue)
 
 testing::TEST_F (ParseFlagsTest, NoFlag)
 
 testing::TEST_F (ParseFlagsTest, OutputEmpty)
 
 testing::TEST_F (ParseFlagsTest, OutputXml)
 
 testing::TEST_F (ParseFlagsTest, OutputXmlDirectory)
 
 testing::TEST_F (ParseFlagsTest, OutputXmlFile)
 
 testing::TEST_F (ParseFlagsTest, PrintTimeFalse)
 
 testing::TEST_F (ParseFlagsTest, PrintTimeFalse_f)
 
 testing::TEST_F (ParseFlagsTest, PrintTimeFalse_F)
 
 testing::TEST_F (ParseFlagsTest, PrintTimeFlag)
 
 testing::TEST_F (ParseFlagsTest, PrintTimeTrue)
 
 testing::TEST_F (ParseFlagsTest, RandomSeed)
 
 testing::TEST_F (ParseFlagsTest, RecreateEnvironmentsWhenRepeating)
 
 testing::TEST_F (ParseFlagsTest, Repeat)
 
 testing::TEST_F (ParseFlagsTest, ShuffleFalse_0)
 
 testing::TEST_F (ParseFlagsTest, ShuffleTrue)
 
 testing::TEST_F (ParseFlagsTest, ShuffleWithoutValue)
 
 testing::TEST_F (ParseFlagsTest, StackTraceDepth)
 
 testing::TEST_F (ParseFlagsTest, StreamResultTo)
 
 testing::TEST_F (ParseFlagsTest, ThrowOnFailureFalse_0)
 
 testing::TEST_F (ParseFlagsTest, ThrowOnFailureTrue)
 
 testing::TEST_F (ParseFlagsTest, ThrowOnFailureWithoutValue)
 
 testing::TEST_F (ParseFlagsTest, UnrecognizedFlag)
 
 testing::TEST_F (SetUpTestCaseTest, Test1)
 
 testing::TEST_F (SetUpTestCaseTest, Test2)
 
 testing::TEST_F (SetUpTestSuiteTest, TestSetupTestSuite1)
 
 testing::TEST_F (SetUpTestSuiteTest, TestSetupTestSuite2)
 
 testing::TEST_F (TestInfoTest, Names)
 
 testing::TEST_F (TestInfoTest, result)
 
 testing::TEST_P (CodeLocationForTESTP, Verify)
 
template<typename T1 , typename T2 >
void TestGTestReferenceToConst ()
 
template<typename T1 , typename T2 >
void TestGTestRemoveReferenceAndConst ()
 
 testing::TYPED_TEST (CodeLocationForTYPEDTEST, Verify)
 
 testing::TYPED_TEST_P (CodeLocationForTYPEDTESTP, Verify)
 
 testing::TYPED_TEST_SUITE (CodeLocationForTYPEDTEST, int)
 
 testing::TYPED_TEST_SUITE_P (CodeLocationForTYPEDTESTP)
 

Variables

auto * dynamic_test
 
static bool dummy1 GTEST_ATTRIBUTE_UNUSED_ = StaticAssertTypeEq<bool, bool>()
 

Macro Definition Documentation

◆ GTEST_FLAT_TUPLE_INT128

#define GTEST_FLAT_TUPLE_INT128   GTEST_FLAT_TUPLE_INT64 GTEST_FLAT_TUPLE_INT64

◆ GTEST_FLAT_TUPLE_INT16

#define GTEST_FLAT_TUPLE_INT16   GTEST_FLAT_TUPLE_INT8 GTEST_FLAT_TUPLE_INT8

◆ GTEST_FLAT_TUPLE_INT256

#define GTEST_FLAT_TUPLE_INT256   GTEST_FLAT_TUPLE_INT128 GTEST_FLAT_TUPLE_INT128

◆ GTEST_FLAT_TUPLE_INT32

#define GTEST_FLAT_TUPLE_INT32   GTEST_FLAT_TUPLE_INT16 GTEST_FLAT_TUPLE_INT16

◆ GTEST_FLAT_TUPLE_INT64

#define GTEST_FLAT_TUPLE_INT64   GTEST_FLAT_TUPLE_INT32 GTEST_FLAT_TUPLE_INT32

◆ GTEST_FLAT_TUPLE_INT8

#define GTEST_FLAT_TUPLE_INT8   int, int, int, int, int, int, int, int,

◆ GTEST_TEST_PARSING_FLAGS_

#define GTEST_TEST_PARSING_FLAGS_ (   argv1,
  argv2,
  expected,
  should_print_help 
)
Value:
TestParsingFlags(sizeof(argv1)/sizeof(*argv1) - 1, argv1, \
sizeof(argv2)/sizeof(*argv2) - 1, argv2, \
expected, should_print_help)

Definition at line 5845 of file googletest/googletest/test/gtest_unittest.cc.

◆ GTEST_USE_UNPROTECTED_COMMA_

#define GTEST_USE_UNPROTECTED_COMMA_   global_var++, global_var++

◆ VERIFY_CODE_LOCATION

#define VERIFY_CODE_LOCATION
Value:
const int expected_line = __LINE__ - 1; \
const TestInfo* const test_info = GetUnitTestImpl()->current_test_info(); \
ASSERT_TRUE(test_info); \
EXPECT_STREQ(__FILE__, test_info->file()); \
EXPECT_EQ(expected_line, test_info->line())

Definition at line 5374 of file googletest/googletest/test/gtest_unittest.cc.

Typedef Documentation

◆ IntAlias

typedef int IntAlias

Function Documentation

◆ FailFatally()

static void FailFatally ( )
static

◆ GTEST_TEST()

GTEST_TEST ( AlternativeNameTest  ,
Works   
)

◆ HasFailureHelper()

static bool HasFailureHelper ( )
static

◆ HasNonfatalFailureHelper()

static bool HasNonfatalFailureHelper ( )
static

◆ operator<<() [1/5]

::std::ostream& operator<< ( ::std::ostream &  os,
const TestingVector vector 
)

◆ operator<<() [2/5]

std::ostream& operator<< ( std::ostream &  os,
const Base val 
)

◆ operator<<() [3/5]

std::ostream& operator<< ( std::ostream &  os,
const Base pointer 
)

◆ operator<<() [4/5]

std::ostream& operator<< ( std::ostream &  os,
const namespace2::MyTypeInNameSpace2 val 
)

◆ operator<<() [5/5]

std::ostream& operator<< ( std::ostream &  os,
const namespace2::MyTypeInNameSpace2 pointer 
)

◆ TEST() [1/90]

TEST ( AdHocTestResultTest  ,
AdHocTestResultForUnitTestDoesNotShowFailure   
)

◆ TEST() [2/90]

TEST ( ArrayAwareFindTest  ,
WorksForOneDimensionalArray   
)

◆ TEST() [3/90]

TEST ( ArrayAwareFindTest  ,
WorksForTwoDimensionalArray   
)

◆ TEST() [4/90]

TEST ( ArrayEqTest  ,
WorksForDegeneratedArrays   
)

◆ TEST() [5/90]

TEST ( ArrayEqTest  ,
WorksForOneDimensionalArrays   
)

◆ TEST() [6/90]

TEST ( ArrayEqTest  ,
WorksForTwoDimensionalArrays   
)

◆ TEST() [7/90]

TEST ( AssertionResultTest  ,
CanStreamOstreamManipulators   
)

◆ TEST() [8/90]

TEST ( AssertionResultTest  ,
ConstructibleFromContextuallyConvertibleToBool   
)

◆ TEST() [9/90]

TEST ( AssertionResultTest  ,
ConstructibleFromImplicitlyConvertible   
)

◆ TEST() [10/90]

TEST ( AssertionResultTest  ,
ConstructionWorks   
)

◆ TEST() [11/90]

TEST ( AssertionResultTest  ,
CopyConstructorWorksWhenNotOptimied   
)

◆ TEST() [12/90]

TEST ( AssertionResultTest  ,
NegationWorks   
)

◆ TEST() [13/90]

TEST ( AssertionResultTest  ,
StreamingWorks   
)

◆ TEST() [14/90]

TEST ( ColoredOutputTest  ,
UsesColorsWhenGTestColorFlagIsAliasOfYes   
)

◆ TEST() [15/90]

TEST ( ColoredOutputTest  ,
UsesColorsWhenGTestColorFlagIsYes   
)

◆ TEST() [16/90]

TEST ( ColoredOutputTest  ,
UsesColorsWhenStdoutIsTty   
)

◆ TEST() [17/90]

TEST ( ColoredOutputTest  ,
UsesColorsWhenTermSupportsColors   
)

◆ TEST() [18/90]

TEST ( ColoredOutputTest  ,
UsesNoColorWhenGTestColorFlagIsInvalid   
)

◆ TEST() [19/90]

TEST ( ColoredOutputTest  ,
UsesNoColorWhenGTestColorFlagIsNo   
)

◆ TEST() [20/90]

TEST ( CommandLineFlagsTest  ,
CanBeAccessedInCodeOnceGTestHIsIncluded   
)

Definition at line 39 of file googletest/googletest/test/gtest_unittest.cc.

◆ TEST() [21/90]

TEST ( CopyArrayTest  ,
WorksForDegeneratedArrays   
)

◆ TEST() [22/90]

TEST ( CopyArrayTest  ,
WorksForOneDimensionalArrays   
)

◆ TEST() [23/90]

TEST ( CopyArrayTest  ,
WorksForTwoDimensionalArrays   
)

◆ TEST() [24/90]

TEST ( ElemFromList  ,
Basic   
)

◆ TEST() [25/90]

TEST ( EventListenerDeathTest  ,
EventsNotForwardedInDeathTestSubprecesses   
)

◆ TEST() [26/90]

TEST ( EventListenerTest  ,
AppendKeepsOrder   
)

◆ TEST() [27/90]

TEST ( EventListenerTest  ,
default_result_printer   
)

◆ TEST() [28/90]

TEST ( EventListenerTest  ,
default_xml_generator   
)

◆ TEST() [29/90]

TEST ( EventListenerTest  ,
RemovingDefaultResultPrinterWorks   
)

◆ TEST() [30/90]

TEST ( EventListenerTest  ,
RemovingDefaultXmlGeneratorWorks   
)

◆ TEST() [31/90]

TEST ( EventListenerTest  ,
SuppressEventForwarding   
)

◆ TEST() [32/90]

TEST ( FlatTuple  ,
Apply   
)

◆ TEST() [33/90]

TEST ( FlatTuple  ,
Basic   
)

◆ TEST() [34/90]

TEST ( FlatTuple  ,
ConstructorCalls   
)

◆ TEST() [35/90]

TEST ( FlatTuple  ,
ManyTypes   
)

◆ TEST() [36/90]

TEST ( GTestReferenceToConstTest  ,
Works   
)

◆ TEST() [37/90]

TEST ( HasDebugStringAndShortDebugStringTest  ,
ValueIsCompileTimeConstant   
)

◆ TEST() [38/90]

TEST ( HasDebugStringAndShortDebugStringTest  ,
ValueIsFalseWhenTypeIsNotAProtocolMessage   
)

◆ TEST() [39/90]

TEST ( HasDebugStringAndShortDebugStringTest  ,
ValueIsTrueWhenTypeHasDebugStringAndShortDebugString   
)

◆ TEST() [40/90]

TEST ( HasFailureTest  ,
ReturnsFalseWhenThereIsNoFailure   
)

◆ TEST() [41/90]

TEST ( HasFailureTest  ,
ReturnsTrueWhenThereAreFatalAndNonfatalFailures   
)

◆ TEST() [42/90]

TEST ( HasFailureTest  ,
ReturnsTrueWhenThereIsFatalFailure   
)

◆ TEST() [43/90]

TEST ( HasFailureTest  ,
ReturnsTrueWhenThereIsNonfatalFailure   
)

◆ TEST() [44/90]

TEST ( HasFailureTest  ,
WorksOutsideOfTestBody   
)

◆ TEST() [45/90]

TEST ( HasFailureTest  ,
WorksOutsideOfTestBody2   
)

◆ TEST() [46/90]

TEST ( HasNonfatalFailureTest  ,
ReturnsFalseWhenThereIsNoFailure   
)

◆ TEST() [47/90]

TEST ( HasNonfatalFailureTest  ,
ReturnsFalseWhenThereIsOnlyFatalFailure   
)

◆ TEST() [48/90]

TEST ( HasNonfatalFailureTest  ,
ReturnsTrueWhenThereAreFatalAndNonfatalFailures   
)

◆ TEST() [49/90]

TEST ( HasNonfatalFailureTest  ,
ReturnsTrueWhenThereIsNonfatalFailure   
)

◆ TEST() [50/90]

TEST ( HasNonfatalFailureTest  ,
WorksOutsideOfTestBody   
)

◆ TEST() [51/90]

TEST ( HasNonfatalFailureTest  ,
WorksOutsideOfTestBody2   
)

◆ TEST() [52/90]

TEST ( IndexSequence  ,
MakeIndexSequence   
)

◆ TEST() [53/90]

TEST ( IsContainerTestTest  ,
ConstOnlyContainer   
)

◆ TEST() [54/90]

TEST ( IsContainerTestTest  ,
WorksForContainer   
)

◆ TEST() [55/90]

TEST ( IsContainerTestTest  ,
WorksForNonContainer   
)

◆ TEST() [56/90]

TEST ( IsHashTable  ,
Basic   
)

◆ TEST() [57/90]

TEST ( MessageTest  ,
CanStreamUserTypeInGlobalNameSpace   
)

◆ TEST() [58/90]

TEST ( MessageTest  ,
CanStreamUserTypeInUnnamedNameSpace   
)

◆ TEST() [59/90]

TEST ( MessageTest  ,
CanStreamUserTypeInUserNameSpace   
)

◆ TEST() [60/90]

TEST ( MessageTest  ,
CanStreamUserTypeInUserNameSpaceWithStreamOperatorInGlobal   
)

◆ TEST() [61/90]

TEST ( MessageTest  ,
NullPointers   
)

◆ TEST() [62/90]

TEST ( MessageTest  ,
WideStrings   
)

◆ TEST() [63/90]

TEST ( NativeArrayTest  ,
ConstructorFromArrayWorks   
)

◆ TEST() [64/90]

TEST ( NativeArrayTest  ,
CreatesAndDeletesCopyOfArrayWhenAskedTo   
)

◆ TEST() [65/90]

TEST ( NativeArrayTest  ,
MethodsWork   
)

◆ TEST() [66/90]

TEST ( NativeArrayTest  ,
TypeMembersAreCorrect   
)

◆ TEST() [67/90]

TEST ( NativeArrayTest  ,
WorksForTwoDimensionalArray   
)

◆ TEST() [68/90]

TEST ( PatternGlobbingTest  ,
MatchesFilterEdgeCases   
)

◆ TEST() [69/90]

TEST ( PatternGlobbingTest  ,
MatchesFilterLinearRuntime   
)

◆ TEST() [70/90]

TEST ( PatternGlobbingTest  ,
MatchesFilterWithMultiplePatterns   
)

◆ TEST() [71/90]

TEST ( RegisterTest  ,
WasRegistered   
)

◆ TEST() [72/90]

TEST ( RemoveReferenceToConstTest  ,
Works   
)

◆ TEST() [73/90]

TEST ( SkipPrefixTest  ,
DoesNotSkipWhenPrefixDoesNotMatch   
)

◆ TEST() [74/90]

TEST ( SkipPrefixTest  ,
SkipsWhenPrefixMatches   
)

◆ TEST() [75/90]

TEST ( StaticAssertTypeEqTest  ,
CompilesForEqualTypes   
)

◆ TEST() [76/90]

TEST ( StaticAssertTypeEqTest  ,
WorksInClass   
)

◆ TEST() [77/90]

TEST ( StreamingAssertionsTest  ,
FloatingPointEquals   
)

◆ TEST() [78/90]

TEST ( StreamingAssertionsTest  ,
IntegerEquals   
)

◆ TEST() [79/90]

TEST ( StreamingAssertionsTest  ,
IntegerLessThan   
)

◆ TEST() [80/90]

TEST ( StreamingAssertionsTest  ,
StringNotEqualIgnoringCase   
)

◆ TEST() [81/90]

TEST ( StreamingAssertionsTest  ,
StringsEqual   
)

◆ TEST() [82/90]

TEST ( StreamingAssertionsTest  ,
StringsEqualIgnoringCase   
)

◆ TEST() [83/90]

TEST ( StreamingAssertionsTest  ,
StringsNotEqual   
)

◆ TEST() [84/90]

TEST ( StreamingAssertionsTest  ,
Truth   
)

◆ TEST() [85/90]

TEST ( StreamingAssertionsTest  ,
Truth2   
)

◆ TEST() [86/90]

TEST ( StreamingAssertionsTest  ,
Unconditional   
)

◆ TEST() [87/90]

TEST ( TestEventListenersTest  ,
Append   
)

◆ TEST() [88/90]

TEST ( TestEventListenersTest  ,
ConstructionWorks   
)

◆ TEST() [89/90]

TEST ( TestEventListenersTest  ,
DestructionWorks   
)

◆ TEST() [90/90]

TEST ( TestEventListenersTest  ,
Release   
)

◆ TestGTestReferenceToConst()

template<typename T1 , typename T2 >
void TestGTestReferenceToConst ( )

◆ TestGTestRemoveReferenceAndConst()

template<typename T1 , typename T2 >
void TestGTestRemoveReferenceAndConst ( )

Variable Documentation

◆ dynamic_test

auto* dynamic_test
Initial value:
"DynamicUnitTestFixture", "DynamicTest", "TYPE", "VALUE", __FILE__,
__LINE__, []() -> DynamicUnitTestFixture* { return new DynamicTest; })

Definition at line 7782 of file googletest/googletest/test/gtest_unittest.cc.

◆ GTEST_ATTRIBUTE_UNUSED_

bool dummy2 GTEST_ATTRIBUTE_UNUSED_ = StaticAssertTypeEq<bool, bool>()
static
testing::TestInfo
Definition: bloaty/third_party/googletest/googletest/include/gtest/gtest.h:695
DynamicUnitTestFixture
Definition: bloaty/third_party/googletest/googletest/test/gtest_unittest.cc:7494
testing::internal::GetUnitTestImpl
UnitTestImpl * GetUnitTestImpl()
Definition: gmock-gtest-all.cc:1334
testing::RegisterTest
TestInfo * 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)
Definition: bloaty/third_party/googletest/googletest/include/gtest/gtest.h:2437
testing::internal::UnitTestImpl::current_test_info
TestInfo * current_test_info()
Definition: gmock-gtest-all.cc:1141
DynamicTest
Definition: bloaty/third_party/googletest/googletest/test/googletest-output-test_.cc:1053


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