- 3.0.1 core module.
|
#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"
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 |
#define GTEST_USE_UNPROTECTED_COMMA_ global_var++, global_var++ |
#define VERIFY_CODE_LOCATION |
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 | |||
) |
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 int IntAlias |
enum NamedEnum |
anonymous enum |
TEST | ( | CommandLineFlagsTest | , |
CanBeAccessedInCodeOnceGTestHIsIncluded | |||
) |
::std::ostream& operator<< | ( | ::std::ostream & | os, |
const TestingVector & | vector | ||
) |
References ADD_FAILURE, ASSERT_EQ, ASSERT_PRED1, ASSERT_TRUE, testing::internal::CanonicalizeForStdLibVersioning(), testing::internal::String::CaseInsensitiveWideCStringEquals(), testing::internal::CodePointToUtf8(), testing::internal::String::EndsWithCaseInsensitive(), EXPECT_DEATH_IF_SUPPORTED, EXPECT_EQ, EXPECT_FALSE, EXPECT_FATAL_FAILURE, EXPECT_FATAL_FAILURE_ON_ALL_THREADS, EXPECT_LE, EXPECT_LT, EXPECT_NE, EXPECT_PRED3, EXPECT_STREQ, EXPECT_TRUE, FAIL, testing::internal::FormatEpochTimeInMillisAsIso8601(), testing::internal::FormatTimeInMillisAsSeconds(), testing::internal::Random::Generate(), testing::internal::GetTestTypeId(), GTEST_DISABLE_MSC_DEPRECATED_POP_, GTEST_DISABLE_MSC_DEPRECATED_PUSH_, GTEST_DISABLE_MSC_WARNINGS_POP_, GTEST_DISABLE_MSC_WARNINGS_PUSH_, i, testing::TestProperty::key(), testing::internal::Random::kMaxRange, testing::internal::kTestTypeIdInGoogleTest, n, testing::internal::operator==(), p, testing::internal::Random::Reseed(), testing::internal::String::ShowWideCString(), testing::internal::TEST(), testing::internal::TEST_F(), upload::type, testing::TestProperty::value(), value, and testing::internal::WideStringToUtf8().
TEST | ( | AssertionResultTest | , |
CopyConstructorWorksWhenNotOptimied | |||
) |
References testing::AssertionSuccess(), EXPECT_EQ, and EXPECT_STREQ.
TEST | ( | AssertionResultTest | , |
ConstructionWorks | |||
) |
References testing::AssertionFailure(), testing::AssertionSuccess(), EXPECT_FALSE, EXPECT_STREQ, and EXPECT_TRUE.
TEST | ( | AssertionResultTest | , |
NegationWorks | |||
) |
TEST | ( | AssertionResultTest | , |
StreamingWorks | |||
) |
References testing::AssertionSuccess(), and EXPECT_STREQ.
TEST | ( | AssertionResultTest | , |
CanStreamOstreamManipulators | |||
) |
References testing::AssertionSuccess(), and EXPECT_STREQ.
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 | |||
) |
References EXPECT_STREQ, testing::Message::GetString(), and testing::operator<<().
TEST | ( | MessageTest | , |
CanStreamUserTypeInUnnamedNameSpace | |||
) |
References EXPECT_STREQ, and testing::Message::GetString().
TEST | ( | MessageTest | , |
CanStreamUserTypeInUserNameSpace | |||
) |
References EXPECT_STREQ, and testing::Message::GetString().
std::ostream& operator<< | ( | std::ostream & | os, |
const namespace2::MyTypeInNameSpace2 & | val | ||
) |
std::ostream& operator<< | ( | std::ostream & | os, |
const namespace2::MyTypeInNameSpace2 * | pointer | ||
) |
TEST | ( | MessageTest | , |
CanStreamUserTypeInUserNameSpaceWithStreamOperatorInGlobal | |||
) |
References EXPECT_STREQ, and testing::Message::GetString().
TEST | ( | MessageTest | , |
NullPointers | |||
) |
References ASSERT_STREQ, and testing::Message::GetString().
TEST | ( | MessageTest | , |
WideStrings | |||
) |
References EXPECT_STREQ.
TEST | ( | StreamingAssertionsTest | , |
Unconditional | |||
) |
References ADD_FAILURE, EXPECT_FATAL_FAILURE, EXPECT_NONFATAL_FAILURE, FAIL, and SUCCEED.
TEST | ( | StreamingAssertionsTest | , |
Truth | |||
) |
References ASSERT_TRUE, EXPECT_FATAL_FAILURE, EXPECT_NONFATAL_FAILURE, and EXPECT_TRUE.
TEST | ( | StreamingAssertionsTest | , |
Truth2 | |||
) |
References ASSERT_FALSE, EXPECT_FALSE, EXPECT_FATAL_FAILURE, and EXPECT_NONFATAL_FAILURE.
TEST | ( | StreamingAssertionsTest | , |
IntegerEquals | |||
) |
References ASSERT_EQ, EXPECT_EQ, EXPECT_FATAL_FAILURE, and EXPECT_NONFATAL_FAILURE.
TEST | ( | StreamingAssertionsTest | , |
IntegerLessThan | |||
) |
References ASSERT_LT, EXPECT_FATAL_FAILURE, EXPECT_LT, and EXPECT_NONFATAL_FAILURE.
TEST | ( | StreamingAssertionsTest | , |
StringsEqual | |||
) |
References ASSERT_STREQ, EXPECT_FATAL_FAILURE, EXPECT_NONFATAL_FAILURE, and EXPECT_STREQ.
TEST | ( | StreamingAssertionsTest | , |
StringsNotEqual | |||
) |
References ASSERT_STRNE, EXPECT_FATAL_FAILURE, EXPECT_NONFATAL_FAILURE, and EXPECT_STRNE.
TEST | ( | StreamingAssertionsTest | , |
StringsEqualIgnoringCase | |||
) |
References ASSERT_STRCASEEQ, EXPECT_FATAL_FAILURE, EXPECT_NONFATAL_FAILURE, and EXPECT_STRCASEEQ.
TEST | ( | StreamingAssertionsTest | , |
StringNotEqualIgnoringCase | |||
) |
References ASSERT_STRCASENE, EXPECT_FATAL_FAILURE, EXPECT_NONFATAL_FAILURE, and EXPECT_STRCASENE.
TEST | ( | StreamingAssertionsTest | , |
FloatingPointEquals | |||
) |
TEST | ( | ColoredOutputTest | , |
UsesColorsWhenGTestColorFlagIsYes | |||
) |
References EXPECT_TRUE, GTEST_FLAG, and testing::internal::ShouldUseColor().
TEST | ( | ColoredOutputTest | , |
UsesColorsWhenGTestColorFlagIsAliasOfYes | |||
) |
References EXPECT_TRUE, GTEST_FLAG, and testing::internal::ShouldUseColor().
TEST | ( | ColoredOutputTest | , |
UsesNoColorWhenGTestColorFlagIsNo | |||
) |
References EXPECT_FALSE, GTEST_FLAG, and testing::internal::ShouldUseColor().
TEST | ( | ColoredOutputTest | , |
UsesNoColorWhenGTestColorFlagIsInvalid | |||
) |
References EXPECT_FALSE, GTEST_FLAG, and testing::internal::ShouldUseColor().
TEST | ( | ColoredOutputTest | , |
UsesColorsWhenStdoutIsTty | |||
) |
References EXPECT_FALSE, EXPECT_TRUE, GTEST_FLAG, and testing::internal::ShouldUseColor().
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 | |||
) |
References ADD_FAILURE, EXPECT_TRUE, and testing::Test::HasNonfatalFailure().
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 | |||
) |
References ADD_FAILURE, EXPECT_TRUE, and testing::Test::HasFailure().
TEST | ( | HasFailureTest | , |
WorksOutsideOfTestBody | |||
) |
References EXPECT_FALSE.
TEST | ( | HasFailureTest | , |
WorksOutsideOfTestBody2 | |||
) |
References ADD_FAILURE, and EXPECT_TRUE.
TEST | ( | TestEventListenersTest | , |
ConstructionWorks | |||
) |
TEST | ( | TestEventListenersTest | , |
DestructionWorks | |||
) |
TEST | ( | TestEventListenersTest | , |
Append | |||
) |
TEST | ( | EventListenerTest | , |
AppendKeepsOrder | |||
) |
References testing::TestEventListeners::Append(), ASSERT_EQ, EXPECT_STREQ, testing::UnitTest::GetInstance(), testing::internal::TestEventListenersAccessor::GetRepeater(), testing::TestEventListener::OnTestIterationEnd(), testing::TestEventListener::OnTestIterationStart(), testing::TestEventListener::OnTestProgramEnd(), and testing::TestEventListener::OnTestProgramStart().
TEST | ( | TestEventListenersTest | , |
Release | |||
) |
TEST | ( | EventListenerTest | , |
SuppressEventForwarding | |||
) |
References testing::TestEventListeners::Append(), ASSERT_FALSE, ASSERT_TRUE, testing::internal::TestEventListenersAccessor::EventForwardingEnabled(), EXPECT_EQ, testing::UnitTest::GetInstance(), testing::internal::TestEventListenersAccessor::GetRepeater(), testing::TestEventListener::OnTestProgramStart(), and testing::internal::TestEventListenersAccessor::SuppressEventForwarding().
TEST | ( | EventListenerDeathTest | , |
EventsNotForwardedInDeathTestSubprecesses | |||
) |
TEST | ( | EventListenerTest | , |
default_result_printer | |||
) |
References testing::TestEventListeners::default_result_printer(), EXPECT_EQ, EXPECT_TRUE, testing::UnitTest::GetInstance(), testing::internal::TestEventListenersAccessor::GetRepeater(), testing::TestEventListener::OnTestProgramStart(), and testing::internal::TestEventListenersAccessor::SetDefaultResultPrinter().
TEST | ( | EventListenerTest | , |
RemovingDefaultResultPrinterWorks | |||
) |
References testing::TestEventListeners::default_result_printer(), EXPECT_EQ, EXPECT_FALSE, EXPECT_TRUE, testing::UnitTest::GetInstance(), testing::internal::TestEventListenersAccessor::GetRepeater(), testing::TestEventListener::OnTestProgramStart(), testing::TestEventListeners::Release(), and testing::internal::TestEventListenersAccessor::SetDefaultResultPrinter().
TEST | ( | EventListenerTest | , |
default_xml_generator | |||
) |
References testing::TestEventListeners::default_xml_generator(), EXPECT_EQ, EXPECT_TRUE, testing::UnitTest::GetInstance(), testing::internal::TestEventListenersAccessor::GetRepeater(), testing::TestEventListener::OnTestProgramStart(), and testing::internal::TestEventListenersAccessor::SetDefaultXmlGenerator().
TEST | ( | EventListenerTest | , |
RemovingDefaultXmlGeneratorWorks | |||
) |
References testing::TestEventListeners::default_xml_generator(), EXPECT_EQ, EXPECT_FALSE, EXPECT_TRUE, testing::UnitTest::GetInstance(), testing::internal::TestEventListenersAccessor::GetRepeater(), testing::TestEventListener::OnTestProgramStart(), testing::TestEventListeners::Release(), and testing::internal::TestEventListenersAccessor::SetDefaultXmlGenerator().
GTEST_TEST | ( | AlternativeNameTest | , |
Works | |||
) |
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 | |||
) |
void TestGTestRemoveReference | ( | ) |
TEST | ( | RemoveReferenceTest | , |
MacroVersion | |||
) |
TEST | ( | RemoveConstTest | , |
DoesNotAffectNonConstType | |||
) |
TEST | ( | RemoveConstTest | , |
RemovesConst | |||
) |
void TestGTestRemoveConst | ( | ) |
TEST | ( | RemoveConstTest | , |
MacroVersion | |||
) |
void TestGTestRemoveReferenceAndConst | ( | ) |
TEST | ( | RemoveReferenceToConstTest | , |
Works | |||
) |
TEST | ( | AddReferenceTest | , |
DoesNotAffectReferenceType | |||
) |
TEST | ( | AddReferenceTest | , |
AddsReference | |||
) |
void TestGTestAddReference | ( | ) |
TEST | ( | AddReferenceTest | , |
MacroVersion | |||
) |
void TestGTestReferenceToConst | ( | ) |
TEST | ( | GTestReferenceToConstTest | , |
Works | |||
) |
TEST | ( | IsContainerTestTest | , |
WorksForNonContainer | |||
) |
References EXPECT_EQ, and testing::internal::IsContainerTest().
TEST | ( | IsContainerTestTest | , |
WorksForContainer | |||
) |
References EXPECT_EQ, and testing::internal::IsContainerTest().
TEST | ( | IsContainerTestTest | , |
ConstOnlyContainer | |||
) |
References EXPECT_EQ.
TEST | ( | IsHashTable | , |
Basic | |||
) |
References EXPECT_FALSE, EXPECT_TRUE, and value.
TEST | ( | ArrayEqTest | , |
WorksForDegeneratedArrays | |||
) |
References testing::internal::ArrayEq(), EXPECT_FALSE, and EXPECT_TRUE.
TEST | ( | ArrayEqTest | , |
WorksForOneDimensionalArrays | |||
) |
References testing::internal::ArrayEq(), EXPECT_FALSE, and EXPECT_TRUE.
TEST | ( | ArrayEqTest | , |
WorksForTwoDimensionalArrays | |||
) |
References testing::internal::ArrayEq(), EXPECT_FALSE, and EXPECT_TRUE.
TEST | ( | ArrayAwareFindTest | , |
WorksForOneDimensionalArray | |||
) |
References testing::internal::ArrayAwareFind(), and EXPECT_EQ.
TEST | ( | ArrayAwareFindTest | , |
WorksForTwoDimensionalArray | |||
) |
References testing::internal::ArrayAwareFind(), and EXPECT_EQ.
TEST | ( | CopyArrayTest | , |
WorksForDegeneratedArrays | |||
) |
References testing::internal::CopyArray(), EXPECT_EQ, and n.
TEST | ( | CopyArrayTest | , |
WorksForOneDimensionalArrays | |||
) |
References testing::internal::ArrayEq(), testing::internal::CopyArray(), and EXPECT_TRUE.
TEST | ( | CopyArrayTest | , |
WorksForTwoDimensionalArrays | |||
) |
References testing::internal::ArrayEq(), testing::internal::CopyArray(), and EXPECT_TRUE.
TEST | ( | NativeArrayTest | , |
ConstructorFromArrayWorks | |||
) |
TEST | ( | NativeArrayTest | , |
CreatesAndDeletesCopyOfArrayWhenAskedTo | |||
) |
References testing::internal::NativeArray< Element >::begin(), EXPECT_EQ, and EXPECT_NE.
TEST | ( | NativeArrayTest | , |
TypeMembersAreCorrect | |||
) |
TEST | ( | NativeArrayTest | , |
MethodsWork | |||
) |
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 | |||
) |
References EXPECT_EQ, and testing::internal::FlatTuple< T >::Get().
TEST | ( | SkipPrefixTest | , |
SkipsWhenPrefixMatches | |||
) |
References EXPECT_EQ, EXPECT_TRUE, p, and testing::internal::SkipPrefix().
TEST | ( | SkipPrefixTest | , |
DoesNotSkipWhenPrefixDoesNotMatch | |||
) |
References EXPECT_EQ, EXPECT_FALSE, p, and testing::internal::SkipPrefix().
TEST_F | ( | AdHocTestResultTest | , |
AdHocTestResultForTestSuiteShowsFailure | |||
) |
TEST_F | ( | AdHocTestResultTest | , |
AdHocTestResultTestForUnitTestDoesNotShowFailure | |||
) |
TEST | ( | RegisterTest | , |
WasRegistered | |||
) |
References EXPECT_STREQ, FAIL, testing::UnitTest::GetInstance(), and i.
auto* dynamic_test |