- 3.0.1 core module.
gtest_unittest.cc File Reference
#include "gtest/gtest.h"
#include <limits.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <map>
#include <vector>
#include <ostream>
#include <unordered_set>
#include "gtest/gtest-spi.h"
#include "src/gtest-internal-inl.h"

Classes

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

Namespaces

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

Macros

#define GTEST_USE_UNPROTECTED_COMMA_   global_var++, global_var++
 
#define VERIFY_CODE_LOCATION
 
#define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help)
 
#define GTEST_FLAT_TUPLE_INT8   int, int, int, int, int, int, int, int,
 
#define GTEST_FLAT_TUPLE_INT16   GTEST_FLAT_TUPLE_INT8 GTEST_FLAT_TUPLE_INT8
 
#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_INT128   GTEST_FLAT_TUPLE_INT64 GTEST_FLAT_TUPLE_INT64
 
#define GTEST_FLAT_TUPLE_INT256   GTEST_FLAT_TUPLE_INT128 GTEST_FLAT_TUPLE_INT128
 

Typedefs

typedef int IntAlias
 

Enumerations

Functions

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

Variables

auto * dynamic_test
 

Macro Definition Documentation

#define GTEST_USE_UNPROTECTED_COMMA_   global_var++, global_var++
#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())
#define ASSERT_TRUE(condition)
Definition: gtest.h:1954
#define EXPECT_STREQ(s1, s2)
Definition: gtest.h:2076
#define EXPECT_EQ(val1, val2)
Definition: gtest.h:2007
const
Definition: upload.py:398
Definition: gtest.h:682

Referenced by testing::TEST(), testing::TEST_F(), testing::TEST_P(), testing::TYPED_TEST(), and testing::TYPED_TEST_P().

#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)

Referenced by testing::TEST_F().

#define GTEST_FLAT_TUPLE_INT8   int, int, int, int, int, int, int, int,
#define GTEST_FLAT_TUPLE_INT16   GTEST_FLAT_TUPLE_INT8 GTEST_FLAT_TUPLE_INT8
#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_INT128   GTEST_FLAT_TUPLE_INT64 GTEST_FLAT_TUPLE_INT64
#define GTEST_FLAT_TUPLE_INT256   GTEST_FLAT_TUPLE_INT128 GTEST_FLAT_TUPLE_INT128

Typedef Documentation

typedef int IntAlias

Enumeration Type Documentation

enum NamedEnum
anonymous enum

Function Documentation

TEST ( CommandLineFlagsTest  ,
CanBeAccessedInCodeOnceGTestHIsIncluded   
)
TEST ( AssertionResultTest  ,
CopyConstructorWorksWhenNotOptimied   
)
TEST ( AssertionResultTest  ,
ConstructionWorks   
)
TEST ( AssertionResultTest  ,
NegationWorks   
)
TEST ( AssertionResultTest  ,
StreamingWorks   
)
TEST ( AssertionResultTest  ,
CanStreamOstreamManipulators   
)
TEST ( AssertionResultTest  ,
ConstructibleFromContextuallyConvertibleToBool   
)

References EXPECT_FALSE, EXPECT_TRUE, and value.

TEST ( AssertionResultTest  ,
ConstructibleFromImplicitlyConvertible   
)

References EXPECT_TRUE.

std::ostream& operator<< ( std::ostream &  os,
const Base val 
)
std::ostream& operator<< ( std::ostream &  os,
const Base pointer 
)
TEST ( MessageTest  ,
CanStreamUserTypeInGlobalNameSpace   
)
TEST ( MessageTest  ,
CanStreamUserTypeInUnnamedNameSpace   
)
TEST ( MessageTest  ,
CanStreamUserTypeInUserNameSpace   
)
std::ostream& operator<< ( std::ostream &  os,
const namespace2::MyTypeInNameSpace2 val 
)
std::ostream& operator<< ( std::ostream &  os,
const namespace2::MyTypeInNameSpace2 pointer 
)
TEST ( MessageTest  ,
CanStreamUserTypeInUserNameSpaceWithStreamOperatorInGlobal   
)
TEST ( MessageTest  ,
NullPointers   
)
TEST ( MessageTest  ,
WideStrings   
)

References EXPECT_STREQ.

TEST ( StreamingAssertionsTest  ,
Unconditional   
)
TEST ( StreamingAssertionsTest  ,
Truth   
)
TEST ( StreamingAssertionsTest  ,
Truth2   
)
TEST ( StreamingAssertionsTest  ,
IntegerEquals   
)
TEST ( StreamingAssertionsTest  ,
IntegerLessThan   
)
TEST ( StreamingAssertionsTest  ,
StringsEqual   
)
TEST ( StreamingAssertionsTest  ,
StringsNotEqual   
)
TEST ( StreamingAssertionsTest  ,
StringsEqualIgnoringCase   
)
TEST ( StreamingAssertionsTest  ,
StringNotEqualIgnoringCase   
)
TEST ( ColoredOutputTest  ,
UsesColorsWhenGTestColorFlagIsYes   
)
TEST ( ColoredOutputTest  ,
UsesColorsWhenGTestColorFlagIsAliasOfYes   
)
TEST ( ColoredOutputTest  ,
UsesNoColorWhenGTestColorFlagIsNo   
)
TEST ( ColoredOutputTest  ,
UsesNoColorWhenGTestColorFlagIsInvalid   
)
TEST ( ColoredOutputTest  ,
UsesColorsWhenStdoutIsTty   
)
TEST ( ColoredOutputTest  ,
UsesColorsWhenTermSupportsColors   
)
TEST ( StaticAssertTypeEqTest  ,
WorksInClass   
)
TEST ( StaticAssertTypeEqTest  ,
CompilesForEqualTypes   
)
TEST ( HasNonfatalFailureTest  ,
ReturnsFalseWhenThereIsNoFailure   
)

References EXPECT_FALSE, and FAIL.

TEST ( HasNonfatalFailureTest  ,
ReturnsFalseWhenThereIsOnlyFatalFailure   
)

References EXPECT_FALSE.

TEST ( HasNonfatalFailureTest  ,
ReturnsTrueWhenThereIsNonfatalFailure   
)

References ADD_FAILURE, and EXPECT_TRUE.

TEST ( HasNonfatalFailureTest  ,
ReturnsTrueWhenThereAreFatalAndNonfatalFailures   
)
TEST ( HasNonfatalFailureTest  ,
WorksOutsideOfTestBody   
)

References EXPECT_FALSE.

TEST ( HasNonfatalFailureTest  ,
WorksOutsideOfTestBody2   
)

References ADD_FAILURE, and EXPECT_TRUE.

TEST ( HasFailureTest  ,
ReturnsFalseWhenThereIsNoFailure   
)

References EXPECT_FALSE.

TEST ( HasFailureTest  ,
ReturnsTrueWhenThereIsFatalFailure   
)

References EXPECT_TRUE.

TEST ( HasFailureTest  ,
ReturnsTrueWhenThereIsNonfatalFailure   
)

References ADD_FAILURE, and EXPECT_TRUE.

TEST ( HasFailureTest  ,
ReturnsTrueWhenThereAreFatalAndNonfatalFailures   
)
TEST ( HasFailureTest  ,
WorksOutsideOfTestBody   
)

References EXPECT_FALSE.

TEST ( HasFailureTest  ,
WorksOutsideOfTestBody2   
)

References ADD_FAILURE, and EXPECT_TRUE.

TEST ( EventListenerDeathTest  ,
EventsNotForwardedInDeathTestSubprecesses   
)
TEST ( IsAProtocolMessageTest  ,
ValueIsCompileTimeConstant   
)

References GTEST_COMPILE_ASSERT_.

TEST ( IsAProtocolMessageTest  ,
ValueIsTrueWhenTypeIsAProtocolMessage   
)

References EXPECT_TRUE.

TEST ( IsAProtocolMessageTest  ,
ValueIsFalseWhenTypeIsNotAProtocolMessage   
)

References EXPECT_FALSE.

TEST ( CompileAssertTypesEqual  ,
CompilesWhenTypesAreEqual   
)
TEST ( RemoveReferenceTest  ,
DoesNotAffectNonReferenceType   
)
TEST ( RemoveReferenceTest  ,
RemovesReference   
)
template<typename T1 , typename T2 >
void TestGTestRemoveReference ( )
TEST ( RemoveReferenceTest  ,
MacroVersion   
)
TEST ( RemoveConstTest  ,
DoesNotAffectNonConstType   
)
TEST ( RemoveConstTest  ,
RemovesConst   
)
template<typename T1 , typename T2 >
void TestGTestRemoveConst ( )
TEST ( RemoveConstTest  ,
MacroVersion   
)
template<typename T1 , typename T2 >
void TestGTestRemoveReferenceAndConst ( )
TEST ( RemoveReferenceToConstTest  ,
Works   
)
TEST ( AddReferenceTest  ,
DoesNotAffectReferenceType   
)
TEST ( AddReferenceTest  ,
AddsReference   
)
template<typename T1 , typename T2 >
void TestGTestAddReference ( )
TEST ( AddReferenceTest  ,
MacroVersion   
)
template<typename T1 , typename T2 >
void TestGTestReferenceToConst ( )
TEST ( GTestReferenceToConstTest  ,
Works   
)
TEST ( IsContainerTestTest  ,
WorksForNonContainer   
)
TEST ( IsContainerTestTest  ,
WorksForContainer   
)
TEST ( IsContainerTestTest  ,
ConstOnlyContainer   
)

References EXPECT_EQ.

TEST ( IsHashTable  ,
Basic   
)

References EXPECT_FALSE, EXPECT_TRUE, and value.

TEST ( ArrayEqTest  ,
WorksForDegeneratedArrays   
)
TEST ( ArrayEqTest  ,
WorksForOneDimensionalArrays   
)
TEST ( ArrayEqTest  ,
WorksForTwoDimensionalArrays   
)
TEST ( ArrayAwareFindTest  ,
WorksForOneDimensionalArray   
)
TEST ( ArrayAwareFindTest  ,
WorksForTwoDimensionalArray   
)
TEST ( CopyArrayTest  ,
WorksForDegeneratedArrays   
)
TEST ( CopyArrayTest  ,
WorksForOneDimensionalArrays   
)
TEST ( CopyArrayTest  ,
WorksForTwoDimensionalArrays   
)
TEST ( NativeArrayTest  ,
ConstructorFromArrayWorks   
)
TEST ( NativeArrayTest  ,
CreatesAndDeletesCopyOfArrayWhenAskedTo   
)
TEST ( NativeArrayTest  ,
TypeMembersAreCorrect   
)
TEST ( NativeArrayTest  ,
WorksForTwoDimensionalArray   
)
TEST ( IndexSequence  ,
MakeIndexSequence   
)

References EXPECT_TRUE, upload::type, and value.

TEST ( ElemFromList  ,
Basic   
)

References EXPECT_TRUE, upload::type, and value.

TEST ( FlatTuple  ,
Basic   
)

References EXPECT_EQ.

TEST ( FlatTuple  ,
ManyTypes   
)
TEST ( SkipPrefixTest  ,
SkipsWhenPrefixMatches   
)
TEST ( SkipPrefixTest  ,
DoesNotSkipWhenPrefixDoesNotMatch   
)
TEST_F ( AdHocTestResultTest  ,
AdHocTestResultTestForUnitTestDoesNotShowFailure   
)
TEST ( RegisterTest  ,
WasRegistered   
)

Variable Documentation

auto* dynamic_test
Initial value:
"DynamicUnitTestFixture", "DynamicTest", "TYPE", "VALUE", __FILE__,
__LINE__, []() -> DynamicUnitTestFixture* { return new DynamicTest; })
Definition: gtest_unittest.cc:7543
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: gtest.h:2418
Definition: googletest-output-test_.cc:1045