Classes | Namespaces | Defines | Typedefs | Enumerations | Functions | Variables
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 "gtest/gtest-spi.h"
#include "src/gtest-internal-inl.h"
Include dependency graph for gtest_unittest.cc:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  my_namespace::testing::AssertionResult
class  Base
class  ConversionHelperBase
class  ConversionHelperDerived
struct  ConvertibleToAssertionResult
class  testing::CurrentTestInfoTest
struct  testing::Flags
class  testing::InitGoogleTestTest
class  my_namespace::testing::Message
class  namespace1::MyTypeInNameSpace1
class  namespace2::MyTypeInNameSpace2
class  NonContainer
class  ProtectedFixtureMethodsTest
class  SequenceTestingListener
class  testing::SetUpTestCaseTest
class  StaticAssertTypeEqTestHelper< T >
class  my_namespace::testing::Test
class  testing::internal::TestEventListenersAccessor
class  testing::TestInfoTest
class  TestingVector
class  TestListener
class  testing::internal::UnitTestRecordPropertyTestHelper

Namespaces

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

Defines

#define GTEST_IMPLEMENTATION_   1
#define GTEST_TEST_PARSING_FLAGS_(argv1, argv2, expected, should_print_help)
#define GTEST_USE_UNPROTECTED_COMMA_   global_var++, global_var++

Typedefs

typedef int IntAlias

Enumerations

enum  
enum  NamedEnum

Functions

static void FailFatally ()
 GTEST_TEST (AlternativeNameTest, Works)
static bool HasFailureHelper ()
static bool HasNonfatalFailureHelper ()
::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)
 TEST (CommandLineFlagsTest, CanBeAccessedInCodeOnceGTestHIsIncluded)
 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, ConstructibleFromImplicitlyConvertible)
 TEST (MessageTest, CanStreamUserTypeInGlobalNameSpace)
 TEST (MessageTest, CanStreamUserTypeInUnnamedNameSpace)
 TEST (MessageTest, CanStreamUserTypeInUserNameSpace)
 TEST (MessageTest, CanStreamUserTypeInUserNameSpaceWithStreamOperatorInGlobal)
 TEST (MessageTest, NullPointers)
 TEST (MessageTest, WideStrings)
 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 (GetCurrentOsStackTraceExceptTopTest, ReturnsTheStackTrace)
 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)
 TEST (IsAProtocolMessageTest, ValueIsCompileTimeConstant)
 TEST (IsAProtocolMessageTest, ValueIsTrueWhenTypeIsAProtocolMessage)
 TEST (IsAProtocolMessageTest, ValueIsFalseWhenTypeIsNotAProtocolMessage)
 TEST (CompileAssertTypesEqual, CompilesWhenTypesAreEqual)
 TEST (RemoveReferenceTest, DoesNotAffectNonReferenceType)
 TEST (RemoveReferenceTest, RemovesReference)
 TEST (RemoveReferenceTest, MacroVersion)
 TEST (RemoveConstTest, DoesNotAffectNonConstType)
 TEST (RemoveConstTest, RemovesConst)
 TEST (RemoveConstTest, MacroVersion)
 TEST (RemoveReferenceToConstTest, Works)
 TEST (AddReferenceTest, DoesNotAffectReferenceType)
 TEST (AddReferenceTest, AddsReference)
 TEST (AddReferenceTest, MacroVersion)
 TEST (GTestReferenceToConstTest, Works)
 TEST (ImplicitlyConvertibleTest, ValueIsCompileTimeConstant)
 TEST (ImplicitlyConvertibleTest, ValueIsTrueWhenConvertible)
 TEST (ImplicitlyConvertibleTest, ValueIsFalseWhenNotConvertible)
 TEST (IsContainerTestTest, WorksForNonContainer)
 TEST (IsContainerTestTest, WorksForContainer)
 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 (SkipPrefixTest, SkipsWhenPrefixMatches)
 TEST (SkipPrefixTest, DoesNotSkipWhenPrefixDoesNotMatch)
 testing::TEST_F (TestInfoTest, Names)
 testing::TEST_F (TestInfoTest, result)
 testing::TEST_F (SetUpTestCaseTest, Test1)
 testing::TEST_F (SetUpTestCaseTest, Test2)
 testing::TEST_F (InitGoogleTestTest, Empty)
 testing::TEST_F (InitGoogleTestTest, NoFlag)
 testing::TEST_F (InitGoogleTestTest, FilterBad)
 testing::TEST_F (InitGoogleTestTest, FilterEmpty)
 testing::TEST_F (InitGoogleTestTest, FilterNonEmpty)
 testing::TEST_F (InitGoogleTestTest, BreakOnFailureWithoutValue)
 testing::TEST_F (InitGoogleTestTest, BreakOnFailureFalse_0)
 testing::TEST_F (InitGoogleTestTest, BreakOnFailureFalse_f)
 testing::TEST_F (InitGoogleTestTest, BreakOnFailureFalse_F)
 testing::TEST_F (InitGoogleTestTest, BreakOnFailureTrue)
 testing::TEST_F (InitGoogleTestTest, CatchExceptions)
 testing::TEST_F (InitGoogleTestTest, DeathTestUseFork)
 testing::TEST_F (InitGoogleTestTest, DuplicatedFlags)
 testing::TEST_F (InitGoogleTestTest, UnrecognizedFlag)
 testing::TEST_F (InitGoogleTestTest, ListTestsFlag)
 testing::TEST_F (InitGoogleTestTest, ListTestsTrue)
 testing::TEST_F (InitGoogleTestTest, ListTestsFalse)
 testing::TEST_F (InitGoogleTestTest, ListTestsFalse_f)
 testing::TEST_F (InitGoogleTestTest, ListTestsFalse_F)
 testing::TEST_F (InitGoogleTestTest, OutputEmpty)
 testing::TEST_F (InitGoogleTestTest, OutputXml)
 testing::TEST_F (InitGoogleTestTest, OutputXmlFile)
 testing::TEST_F (InitGoogleTestTest, OutputXmlDirectory)
 testing::TEST_F (InitGoogleTestTest, PrintTimeFlag)
 testing::TEST_F (InitGoogleTestTest, PrintTimeTrue)
 testing::TEST_F (InitGoogleTestTest, PrintTimeFalse)
 testing::TEST_F (InitGoogleTestTest, PrintTimeFalse_f)
 testing::TEST_F (InitGoogleTestTest, PrintTimeFalse_F)
 testing::TEST_F (InitGoogleTestTest, RandomSeed)
 testing::TEST_F (InitGoogleTestTest, Repeat)
 testing::TEST_F (InitGoogleTestTest, AlsoRunDisabledTestsFlag)
 testing::TEST_F (InitGoogleTestTest, AlsoRunDisabledTestsTrue)
 testing::TEST_F (InitGoogleTestTest, AlsoRunDisabledTestsFalse)
 testing::TEST_F (InitGoogleTestTest, ShuffleWithoutValue)
 testing::TEST_F (InitGoogleTestTest, ShuffleFalse_0)
 testing::TEST_F (InitGoogleTestTest, ShuffleTrue)
 testing::TEST_F (InitGoogleTestTest, StackTraceDepth)
 testing::TEST_F (InitGoogleTestTest, StreamResultTo)
 testing::TEST_F (InitGoogleTestTest, ThrowOnFailureWithoutValue)
 testing::TEST_F (InitGoogleTestTest, ThrowOnFailureFalse_0)
 testing::TEST_F (InitGoogleTestTest, ThrowOnFailureTrue)
 testing::TEST_F (CurrentTestInfoTest, WorksForFirstTestInATestCase)
 testing::TEST_F (CurrentTestInfoTest, WorksForSecondTestInATestCase)
template<typename T1 , typename T2 >
void TestGTestAddReference ()
template<typename T1 , typename T2 >
void TestGTestReferenceToConst ()
template<typename T1 , typename T2 >
void TestGTestRemoveConst ()
template<typename T1 , typename T2 >
void TestGTestRemoveReference ()
template<typename T1 , typename T2 >
void TestGTestRemoveReferenceAndConst ()

Variables

static bool dummy1 GTEST_ATTRIBUTE_UNUSED_ = StaticAssertTypeEq<bool, bool>()

Define Documentation

#define GTEST_IMPLEMENTATION_   1

Definition at line 75 of file gtest_unittest.cc.

#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 5637 of file gtest_unittest.cc.

#define GTEST_USE_UNPROTECTED_COMMA_   global_var++, global_var++

Definition at line 1238 of file gtest_unittest.cc.


Typedef Documentation

typedef int IntAlias

Definition at line 6703 of file gtest_unittest.cc.


Enumeration Type Documentation

anonymous enum

Definition at line 3884 of file gtest_unittest.cc.

enum NamedEnum

Definition at line 3865 of file gtest_unittest.cc.


Function Documentation

static void FailFatally ( ) [static]

Definition at line 6722 of file gtest_unittest.cc.

GTEST_TEST ( AlternativeNameTest  ,
Works   
)

Definition at line 7124 of file gtest_unittest.cc.

static bool HasFailureHelper ( ) [static]

Definition at line 6789 of file gtest_unittest.cc.

static bool HasNonfatalFailureHelper ( ) [static]

Definition at line 6747 of file gtest_unittest.cc.

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

Definition at line 305 of file gtest_unittest.cc.

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

Definition at line 5147 of file gtest_unittest.cc.

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

Definition at line 5151 of file gtest_unittest.cc.

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

Definition at line 5222 of file gtest_unittest.cc.

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

Definition at line 5226 of file gtest_unittest.cc.

TEST ( CommandLineFlagsTest  ,
CanBeAccessedInCodeOnceGTestHIsIncluded   
)

Definition at line 40 of file gtest_unittest.cc.

TEST ( AssertionResultTest  ,
CopyConstructorWorksWhenNotOptimied   
)

Definition at line 5052 of file gtest_unittest.cc.

TEST ( AssertionResultTest  ,
ConstructionWorks   
)

Definition at line 5068 of file gtest_unittest.cc.

TEST ( AssertionResultTest  ,
NegationWorks   
)

Definition at line 5091 of file gtest_unittest.cc.

TEST ( AssertionResultTest  ,
StreamingWorks   
)

Definition at line 5101 of file gtest_unittest.cc.

TEST ( AssertionResultTest  ,
CanStreamOstreamManipulators   
)

Definition at line 5107 of file gtest_unittest.cc.

TEST ( AssertionResultTest  ,
ConstructibleFromImplicitlyConvertible   
)

Definition at line 5133 of file gtest_unittest.cc.

TEST ( MessageTest  ,
CanStreamUserTypeInGlobalNameSpace   
)

Definition at line 5156 of file gtest_unittest.cc.

TEST ( MessageTest  ,
CanStreamUserTypeInUnnamedNameSpace   
)

Definition at line 5181 of file gtest_unittest.cc.

TEST ( MessageTest  ,
CanStreamUserTypeInUserNameSpace   
)

Definition at line 5206 of file gtest_unittest.cc.

TEST ( MessageTest  ,
CanStreamUserTypeInUserNameSpaceWithStreamOperatorInGlobal   
)

Definition at line 5231 of file gtest_unittest.cc.

TEST ( MessageTest  ,
NullPointers   
)

Definition at line 5240 of file gtest_unittest.cc.

TEST ( MessageTest  ,
WideStrings   
)

Definition at line 5255 of file gtest_unittest.cc.

TEST ( StreamingAssertionsTest  ,
Unconditional   
)

Definition at line 6440 of file gtest_unittest.cc.

TEST ( StreamingAssertionsTest  ,
Truth   
)

Definition at line 6453 of file gtest_unittest.cc.

TEST ( StreamingAssertionsTest  ,
Truth2   
)

Definition at line 6462 of file gtest_unittest.cc.

TEST ( StreamingAssertionsTest  ,
IntegerEquals   
)

Definition at line 6476 of file gtest_unittest.cc.

TEST ( StreamingAssertionsTest  ,
IntegerLessThan   
)

Definition at line 6485 of file gtest_unittest.cc.

TEST ( StreamingAssertionsTest  ,
StringsEqual   
)

Definition at line 6494 of file gtest_unittest.cc.

TEST ( StreamingAssertionsTest  ,
StringsNotEqual   
)

Definition at line 6503 of file gtest_unittest.cc.

TEST ( StreamingAssertionsTest  ,
StringsEqualIgnoringCase   
)

Definition at line 6512 of file gtest_unittest.cc.

TEST ( StreamingAssertionsTest  ,
StringNotEqualIgnoringCase   
)

Definition at line 6521 of file gtest_unittest.cc.

TEST ( StreamingAssertionsTest  ,
FloatingPointEquals   
)

Definition at line 6530 of file gtest_unittest.cc.

TEST ( ColoredOutputTest  ,
UsesColorsWhenGTestColorFlagIsYes   
)

Definition at line 6572 of file gtest_unittest.cc.

TEST ( ColoredOutputTest  ,
UsesColorsWhenGTestColorFlagIsAliasOfYes   
)

Definition at line 6584 of file gtest_unittest.cc.

TEST ( ColoredOutputTest  ,
UsesNoColorWhenGTestColorFlagIsNo   
)

Definition at line 6597 of file gtest_unittest.cc.

TEST ( ColoredOutputTest  ,
UsesNoColorWhenGTestColorFlagIsInvalid   
)

Definition at line 6609 of file gtest_unittest.cc.

TEST ( ColoredOutputTest  ,
UsesColorsWhenStdoutIsTty   
)

Definition at line 6622 of file gtest_unittest.cc.

TEST ( ColoredOutputTest  ,
UsesColorsWhenTermSupportsColors   
)

Definition at line 6630 of file gtest_unittest.cc.

TEST ( StaticAssertTypeEqTest  ,
WorksInClass   
)

Definition at line 6697 of file gtest_unittest.cc.

TEST ( StaticAssertTypeEqTest  ,
CompilesForEqualTypes   
)

Definition at line 6705 of file gtest_unittest.cc.

TEST ( GetCurrentOsStackTraceExceptTopTest  ,
ReturnsTheStackTrace   
)

Definition at line 6710 of file gtest_unittest.cc.

TEST ( HasNonfatalFailureTest  ,
ReturnsFalseWhenThereIsNoFailure   
)

Definition at line 6718 of file gtest_unittest.cc.

TEST ( HasNonfatalFailureTest  ,
ReturnsFalseWhenThereIsOnlyFatalFailure   
)

Definition at line 6724 of file gtest_unittest.cc.

TEST ( HasNonfatalFailureTest  ,
ReturnsTrueWhenThereIsNonfatalFailure   
)

Definition at line 6731 of file gtest_unittest.cc.

TEST ( HasNonfatalFailureTest  ,
ReturnsTrueWhenThereAreFatalAndNonfatalFailures   
)

Definition at line 6738 of file gtest_unittest.cc.

TEST ( HasNonfatalFailureTest  ,
WorksOutsideOfTestBody   
)

Definition at line 6751 of file gtest_unittest.cc.

TEST ( HasNonfatalFailureTest  ,
WorksOutsideOfTestBody2   
)

Definition at line 6755 of file gtest_unittest.cc.

TEST ( HasFailureTest  ,
ReturnsFalseWhenThereIsNoFailure   
)

Definition at line 6762 of file gtest_unittest.cc.

TEST ( HasFailureTest  ,
ReturnsTrueWhenThereIsFatalFailure   
)

Definition at line 6766 of file gtest_unittest.cc.

TEST ( HasFailureTest  ,
ReturnsTrueWhenThereIsNonfatalFailure   
)

Definition at line 6773 of file gtest_unittest.cc.

TEST ( HasFailureTest  ,
ReturnsTrueWhenThereAreFatalAndNonfatalFailures   
)

Definition at line 6780 of file gtest_unittest.cc.

TEST ( HasFailureTest  ,
WorksOutsideOfTestBody   
)

Definition at line 6791 of file gtest_unittest.cc.

TEST ( HasFailureTest  ,
WorksOutsideOfTestBody2   
)

Definition at line 6795 of file gtest_unittest.cc.

TEST ( TestEventListenersTest  ,
ConstructionWorks   
)

Definition at line 6826 of file gtest_unittest.cc.

TEST ( TestEventListenersTest  ,
DestructionWorks   
)

Definition at line 6836 of file gtest_unittest.cc.

TEST ( TestEventListenersTest  ,
Append   
)

Definition at line 6862 of file gtest_unittest.cc.

TEST ( EventListenerTest  ,
AppendKeepsOrder   
)

Definition at line 6916 of file gtest_unittest.cc.

TEST ( TestEventListenersTest  ,
Release   
)

Definition at line 6957 of file gtest_unittest.cc.

TEST ( EventListenerTest  ,
SuppressEventForwarding   
)

Definition at line 6978 of file gtest_unittest.cc.

TEST ( EventListenerDeathTest  ,
EventsNotForwardedInDeathTestSubprecesses   
)

Definition at line 6994 of file gtest_unittest.cc.

TEST ( EventListenerTest  ,
default_result_printer   
)

Definition at line 7004 of file gtest_unittest.cc.

TEST ( EventListenerTest  ,
RemovingDefaultResultPrinterWorks   
)

Definition at line 7035 of file gtest_unittest.cc.

TEST ( EventListenerTest  ,
default_xml_generator   
)

Definition at line 7063 of file gtest_unittest.cc.

TEST ( EventListenerTest  ,
RemovingDefaultXmlGeneratorWorks   
)

Definition at line 7094 of file gtest_unittest.cc.

TEST ( IsAProtocolMessageTest  ,
ValueIsCompileTimeConstant   
)

Definition at line 7175 of file gtest_unittest.cc.

TEST ( IsAProtocolMessageTest  ,
ValueIsTrueWhenTypeIsAProtocolMessage   
)

Definition at line 7183 of file gtest_unittest.cc.

TEST ( IsAProtocolMessageTest  ,
ValueIsFalseWhenTypeIsNotAProtocolMessage   
)

Definition at line 7190 of file gtest_unittest.cc.

TEST ( CompileAssertTypesEqual  ,
CompilesWhenTypesAreEqual   
)

Definition at line 7197 of file gtest_unittest.cc.

TEST ( RemoveReferenceTest  ,
DoesNotAffectNonReferenceType   
)

Definition at line 7203 of file gtest_unittest.cc.

TEST ( RemoveReferenceTest  ,
RemovesReference   
)

Definition at line 7209 of file gtest_unittest.cc.

TEST ( RemoveReferenceTest  ,
MacroVersion   
)

Definition at line 7221 of file gtest_unittest.cc.

TEST ( RemoveConstTest  ,
DoesNotAffectNonConstType   
)

Definition at line 7228 of file gtest_unittest.cc.

TEST ( RemoveConstTest  ,
RemovesConst   
)

Definition at line 7234 of file gtest_unittest.cc.

TEST ( RemoveConstTest  ,
MacroVersion   
)

Definition at line 7247 of file gtest_unittest.cc.

TEST ( RemoveReferenceToConstTest  ,
Works   
)

Definition at line 7260 of file gtest_unittest.cc.

TEST ( AddReferenceTest  ,
DoesNotAffectReferenceType   
)

Definition at line 7269 of file gtest_unittest.cc.

TEST ( AddReferenceTest  ,
AddsReference   
)

Definition at line 7275 of file gtest_unittest.cc.

TEST ( AddReferenceTest  ,
MacroVersion   
)

Definition at line 7287 of file gtest_unittest.cc.

TEST ( GTestReferenceToConstTest  ,
Works   
)

Definition at line 7299 of file gtest_unittest.cc.

TEST ( ImplicitlyConvertibleTest  ,
ValueIsCompileTimeConstant   
)

Definition at line 7307 of file gtest_unittest.cc.

TEST ( ImplicitlyConvertibleTest  ,
ValueIsTrueWhenConvertible   
)

Definition at line 7315 of file gtest_unittest.cc.

TEST ( ImplicitlyConvertibleTest  ,
ValueIsFalseWhenNotConvertible   
)

Definition at line 7328 of file gtest_unittest.cc.

TEST ( IsContainerTestTest  ,
WorksForNonContainer   
)

Definition at line 7340 of file gtest_unittest.cc.

TEST ( IsContainerTestTest  ,
WorksForContainer   
)

Definition at line 7346 of file gtest_unittest.cc.

TEST ( ArrayEqTest  ,
WorksForDegeneratedArrays   
)

Definition at line 7355 of file gtest_unittest.cc.

TEST ( ArrayEqTest  ,
WorksForOneDimensionalArrays   
)

Definition at line 7360 of file gtest_unittest.cc.

TEST ( ArrayEqTest  ,
WorksForTwoDimensionalArrays   
)

Definition at line 7372 of file gtest_unittest.cc.

TEST ( ArrayAwareFindTest  ,
WorksForOneDimensionalArray   
)

Definition at line 7386 of file gtest_unittest.cc.

TEST ( ArrayAwareFindTest  ,
WorksForTwoDimensionalArray   
)

Definition at line 7392 of file gtest_unittest.cc.

TEST ( CopyArrayTest  ,
WorksForDegeneratedArrays   
)

Definition at line 7403 of file gtest_unittest.cc.

TEST ( CopyArrayTest  ,
WorksForOneDimensionalArrays   
)

Definition at line 7409 of file gtest_unittest.cc.

TEST ( CopyArrayTest  ,
WorksForTwoDimensionalArrays   
)

Definition at line 7422 of file gtest_unittest.cc.

TEST ( NativeArrayTest  ,
ConstructorFromArrayWorks   
)

Definition at line 7437 of file gtest_unittest.cc.

TEST ( NativeArrayTest  ,
CreatesAndDeletesCopyOfArrayWhenAskedTo   
)

Definition at line 7444 of file gtest_unittest.cc.

TEST ( NativeArrayTest  ,
TypeMembersAreCorrect   
)

Definition at line 7459 of file gtest_unittest.cc.

TEST ( NativeArrayTest  ,
MethodsWork   
)

Definition at line 7467 of file gtest_unittest.cc.

TEST ( NativeArrayTest  ,
WorksForTwoDimensionalArray   
)

Definition at line 7493 of file gtest_unittest.cc.

TEST ( SkipPrefixTest  ,
SkipsWhenPrefixMatches   
)

Definition at line 7502 of file gtest_unittest.cc.

TEST ( SkipPrefixTest  ,
DoesNotSkipWhenPrefixDoesNotMatch   
)

Definition at line 7514 of file gtest_unittest.cc.

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

Definition at line 7283 of file gtest_unittest.cc.

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

Definition at line 7295 of file gtest_unittest.cc.

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

Definition at line 7243 of file gtest_unittest.cc.

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

Definition at line 7217 of file gtest_unittest.cc.

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

Definition at line 7256 of file gtest_unittest.cc.


Variable Documentation

bool dummy2 GTEST_ATTRIBUTE_UNUSED_ = StaticAssertTypeEq<bool, bool>() [static]

Definition at line 6685 of file gtest_unittest.cc.



rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:08