#include "gtest/gtest-spi.h"
#include "gtest/gtest.h"
#include "src/gtest-internal-inl.h"
#include <stdlib.h>
Go to the source code of this file.
Classes | |
class | BarEnvironment |
class | DynamicFixture |
class | DynamicTest< Pass > |
class | ExpectFailureTest |
class | FailingParamTest |
class | FatalFailureInFixtureConstructorTest |
class | FatalFailureInSetUpTest |
class | FooEnvironment |
class | bar::MixedUpTestSuiteTest |
class | foo::MixedUpTestSuiteTest |
class | bar::MixedUpTestSuiteWithSameTestNameTest |
class | foo::MixedUpTestSuiteWithSameTestNameTest |
class | NonFatalFailureInFixtureConstructorTest |
class | NonFatalFailureInSetUpTest |
class | ParamTest |
class | TEST_before_TEST_F_in_same_test_case |
class | TEST_F_before_TEST_in_same_test_case |
Namespaces | |
bar | |
foo | |
Functions | |
void | AdHocTest () |
void | FatalFailure () |
INSTANTIATE_TEST_SUITE_P (PrintingFailingParams, FailingParamTest, testing::Values(2)) | |
INSTANTIATE_TEST_SUITE_P (PrintingStrings, ParamTest, testing::Values(std::string("a")), ParamNameFunc) | |
int | main (int argc, char **argv) |
std::string | ParamNameFunc (const testing::TestParamInfo< std::string > &info) |
int | RunAllTests () |
void | SubWithoutTrace (int n) |
void | SubWithTrace (int n) |
TEST (AddFailureAtTest, MessageContainsSpecifiedFileAndLineNumber) | |
TEST (DisabledTestsWarningTest, DISABLED_AlsoRunDisabledTestsFlagSuppressesWarning) | |
TEST (ExpectFatalFailureTest, CanReferenceGlobalVariables) | |
TEST (ExpectFatalFailureTest, CanReferenceLocalStaticVariables) | |
TEST (ExpectFatalFailureTest, FailsWhenStatementReturns) | |
TEST (ExpectFatalFailureTest, FailsWhenThereAreTwoFatalFailures) | |
TEST (ExpectFatalFailureTest, FailsWhenThereIsNoFatalFailure) | |
TEST (ExpectFatalFailureTest, FailsWhenThereIsOneNonfatalFailure) | |
TEST (ExpectFatalFailureTest, SucceedsWhenThereIsOneFatalFailure) | |
TEST (ExpectNonfatalFailureTest, CanReferenceGlobalVariables) | |
TEST (ExpectNonfatalFailureTest, CanReferenceLocalVariables) | |
TEST (ExpectNonfatalFailureTest, FailsWhenStatementReturns) | |
TEST (ExpectNonfatalFailureTest, FailsWhenThereAreTwoNonfatalFailures) | |
TEST (ExpectNonfatalFailureTest, FailsWhenThereIsNoNonfatalFailure) | |
TEST (ExpectNonfatalFailureTest, FailsWhenThereIsOneFatalFailure) | |
TEST (ExpectNonfatalFailureTest, SucceedsWhenThereIsOneNonfatalFailure) | |
TEST (FatalFailureTest, FatalFailureInNestedSubroutine) | |
TEST (FatalFailureTest, FatalFailureInSubroutine) | |
TEST (FatalFailureTest, NonfatalFailureInSubroutine) | |
TEST (LoggingTest, InterleavingLoggingAndAssertions) | |
TEST (NonfatalFailureTest, DiffForLongStrings) | |
TEST (NonfatalFailureTest, EscapesStringOperands) | |
TEST (PassingTest, PassingTest1) | |
TEST (PassingTest, PassingTest2) | |
TEST (SCOPED_TRACETest, AcceptedValues) | |
TEST (SCOPED_TRACETest, CanBeNested) | |
TEST (SCOPED_TRACETest, CanBeRepeated) | |
TEST (SCOPED_TRACETest, ObeysScopes) | |
TEST (SCOPED_TRACETest, WorksInLoop) | |
TEST (SCOPED_TRACETest, WorksInSubroutine) | |
TEST (ScopedTraceTest, WithExplicitFileAndLine) | |
TEST (TEST_before_TEST_F_in_same_test_case, DefinedUsingTEST) | |
TEST (TEST_F_before_TEST_in_same_test_case, DefinedUsingTESTAndShouldFail) | |
TEST_F (ExpectFailureTest, ExpectFatalFailure) | |
TEST_F (ExpectFailureTest, ExpectFatalFailureOnAllThreads) | |
TEST_F (ExpectFailureTest, ExpectNonFatalFailure) | |
TEST_F (ExpectFailureTest, ExpectNonFatalFailureOnAllThreads) | |
TEST_F (FatalFailureInFixtureConstructorTest, FailureInConstructor) | |
TEST_F (FatalFailureInSetUpTest, FailureInSetUp) | |
foo::TEST_F (MixedUpTestSuiteTest, FirstTestFromNamespaceFoo) | |
foo::TEST_F (MixedUpTestSuiteTest, SecondTestFromNamespaceFoo) | |
bar::TEST_F (MixedUpTestSuiteTest, ThisShouldFail) | |
bar::TEST_F (MixedUpTestSuiteTest, ThisShouldFailToo) | |
foo::TEST_F (MixedUpTestSuiteWithSameTestNameTest, TheSecondTestWithThisNameShouldFail) | |
bar::TEST_F (MixedUpTestSuiteWithSameTestNameTest, TheSecondTestWithThisNameShouldFail) | |
TEST_F (NonFatalFailureInFixtureConstructorTest, FailureInConstructor) | |
TEST_F (NonFatalFailureInSetUpTest, FailureInSetUp) | |
TEST_F (TEST_before_TEST_F_in_same_test_case, DefinedUsingTEST_FAndShouldFail) | |
TEST_F (TEST_F_before_TEST_in_same_test_case, DefinedUsingTEST_F) | |
TEST_P (FailingParamTest, Fails) | |
TEST_P (ParamTest, Failure) | |
TEST_P (ParamTest, Success) | |
void | TestEq1 (int x) |
void | TryTestSubroutine () |
Variables | |
auto | dynamic_test |
int | global_integer = 0 |
static const char | kGoldenString [] = "\"Line\0 1\"\nLine 2" |
void AdHocTest | ( | ) |
Definition at line 347 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
void FatalFailure | ( | ) |
Definition at line 711 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
INSTANTIATE_TEST_SUITE_P | ( | PrintingFailingParams | , |
FailingParamTest | , | ||
testing::Values(2) | |||
) |
INSTANTIATE_TEST_SUITE_P | ( | PrintingStrings | , |
ParamTest | , | ||
testing::Values(std::string("a")) | , | ||
ParamNameFunc | |||
) |
Definition at line 1105 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
std::string ParamNameFunc | ( | const testing::TestParamInfo< std::string > & | info | ) |
Definition at line 761 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
int RunAllTests | ( | ) |
Definition at line 354 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
void SubWithoutTrace | ( | int | n | ) |
Definition at line 161 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
void SubWithTrace | ( | int | n | ) |
Definition at line 167 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST | ( | AddFailureAtTest | , |
MessageContainsSpecifiedFileAndLineNumber | |||
) |
Definition at line 463 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST | ( | DisabledTestsWarningTest | , |
DISABLED_AlsoRunDisabledTestsFlagSuppressesWarning | |||
) |
Definition at line 336 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST | ( | ExpectFatalFailureTest | , |
CanReferenceGlobalVariables | |||
) |
Definition at line 677 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST | ( | ExpectFatalFailureTest | , |
CanReferenceLocalStaticVariables | |||
) |
Definition at line 686 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST | ( | ExpectFatalFailureTest | , |
FailsWhenStatementReturns | |||
) |
Definition at line 736 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST | ( | ExpectFatalFailureTest | , |
FailsWhenThereAreTwoFatalFailures | |||
) |
Definition at line 717 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST | ( | ExpectFatalFailureTest | , |
FailsWhenThereIsNoFatalFailure | |||
) |
Definition at line 704 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST | ( | ExpectFatalFailureTest | , |
FailsWhenThereIsOneNonfatalFailure | |||
) |
Definition at line 727 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST | ( | ExpectFatalFailureTest | , |
SucceedsWhenThereIsOneFatalFailure | |||
) |
Definition at line 696 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST | ( | ExpectNonfatalFailureTest | , |
CanReferenceGlobalVariables | |||
) |
Definition at line 598 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST | ( | ExpectNonfatalFailureTest | , |
CanReferenceLocalVariables | |||
) |
Definition at line 607 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST | ( | ExpectNonfatalFailureTest | , |
FailsWhenStatementReturns | |||
) |
Definition at line 653 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST | ( | ExpectNonfatalFailureTest | , |
FailsWhenThereAreTwoNonfatalFailures | |||
) |
Definition at line 634 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST | ( | ExpectNonfatalFailureTest | , |
FailsWhenThereIsNoNonfatalFailure | |||
) |
Definition at line 626 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST | ( | ExpectNonfatalFailureTest | , |
FailsWhenThereIsOneFatalFailure | |||
) |
Definition at line 644 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST | ( | ExpectNonfatalFailureTest | , |
SucceedsWhenThereIsOneNonfatalFailure | |||
) |
Definition at line 618 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST | ( | FatalFailureTest | , |
FatalFailureInNestedSubroutine | |||
) |
Definition at line 122 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST | ( | FatalFailureTest | , |
FatalFailureInSubroutine | |||
) |
Definition at line 115 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST | ( | FatalFailureTest | , |
NonfatalFailureInSubroutine | |||
) |
Definition at line 139 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST | ( | LoggingTest | , |
InterleavingLoggingAndAssertions | |||
) |
Definition at line 146 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST | ( | NonfatalFailureTest | , |
DiffForLongStrings | |||
) |
Definition at line 109 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST | ( | NonfatalFailureTest | , |
EscapesStringOperands | |||
) |
Definition at line 101 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST | ( | PassingTest | , |
PassingTest1 | |||
) |
Definition at line 79 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST | ( | PassingTest | , |
PassingTest2 | |||
) |
Definition at line 82 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST | ( | SCOPED_TRACETest | , |
AcceptedValues | |||
) |
Definition at line 173 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST | ( | SCOPED_TRACETest | , |
CanBeNested | |||
) |
Definition at line 222 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST | ( | SCOPED_TRACETest | , |
CanBeRepeated | |||
) |
Definition at line 231 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST | ( | SCOPED_TRACETest | , |
ObeysScopes | |||
) |
Definition at line 184 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST | ( | SCOPED_TRACETest | , |
WorksInLoop | |||
) |
Definition at line 203 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST | ( | SCOPED_TRACETest | , |
WorksInSubroutine | |||
) |
Definition at line 214 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST | ( | ScopedTraceTest | , |
WithExplicitFileAndLine | |||
) |
Definition at line 331 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST | ( | TEST_before_TEST_F_in_same_test_case | , |
DefinedUsingTEST | |||
) |
Definition at line 587 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST | ( | TEST_F_before_TEST_in_same_test_case | , |
DefinedUsingTESTAndShouldFail | |||
) |
Definition at line 582 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST_F | ( | ExpectFailureTest | , |
ExpectFatalFailure | |||
) |
Definition at line 927 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST_F | ( | ExpectFailureTest | , |
ExpectFatalFailureOnAllThreads | |||
) |
Definition at line 998 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST_F | ( | ExpectFailureTest | , |
ExpectNonFatalFailure | |||
) |
Definition at line 941 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST_F | ( | ExpectFailureTest | , |
ExpectNonFatalFailureOnAllThreads | |||
) |
Definition at line 1012 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST_F | ( | FatalFailureInFixtureConstructorTest | , |
FailureInConstructor | |||
) |
Definition at line 412 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST_F | ( | FatalFailureInSetUpTest | , |
FailureInSetUp | |||
) |
Definition at line 458 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST_F | ( | NonFatalFailureInFixtureConstructorTest | , |
FailureInConstructor | |||
) |
Definition at line 378 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST_F | ( | NonFatalFailureInSetUpTest | , |
FailureInSetUp | |||
) |
Definition at line 436 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST_F | ( | TEST_before_TEST_F_in_same_test_case | , |
DefinedUsingTEST_FAndShouldFail | |||
) |
Definition at line 591 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST_F | ( | TEST_F_before_TEST_in_same_test_case | , |
DefinedUsingTEST_F | |||
) |
Definition at line 578 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST_P | ( | FailingParamTest | , |
Fails | |||
) |
Definition at line 89 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST_P | ( | ParamTest | , |
Failure | |||
) |
Definition at line 772 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
TEST_P | ( | ParamTest | , |
Success | |||
) |
Definition at line 768 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
void TestEq1 | ( | int | x | ) |
Definition at line 59 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
void TryTestSubroutine | ( | ) |
Definition at line 65 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
auto dynamic_test |
Definition at line 1046 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
int global_integer = 0 |
Definition at line 595 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.
|
static |
Definition at line 99 of file protobuf/third_party/googletest/googletest/test/googletest-output-test_.cc.