|
Sacado Package Browser (Single Doxygen Collection)
Version of the Day
|
#include <stdlib.h>#include <algorithm>#include <string>#include "gtest/gtest-spi.h"#include "gtest/gtest.h"#include "src/gtest-internal-inl.h"
Go to the source code of this file.
Classes | |
| class | FailingParamTest |
| class | EmptyBasenameParamInst |
| class | NonFatalFailureInFixtureConstructorTest |
| class | FatalFailureInFixtureConstructorTest |
| class | NonFatalFailureInSetUpTest |
| class | FatalFailureInSetUpTest |
| class | foo::MixedUpTestSuiteTest |
| class | foo::MixedUpTestSuiteWithSameTestNameTest |
| class | bar::MixedUpTestSuiteTest |
| class | bar::MixedUpTestSuiteWithSameTestNameTest |
| class | TEST_F_before_TEST_in_same_test_case |
| class | TEST_before_TEST_F_in_same_test_case |
| class | ParamTest |
| class | DetectNotInstantiatedTest |
| class | TypedTest< T > |
| class | TypedTestWithNames< T > |
| class | TypedTestNames |
| class | TypedTestP< T > |
| class | TypedTestPNames |
| class | DetectNotInstantiatedTypesTest< T > |
| class | ExpectFailureTest |
| class | DynamicFixture |
| class | DynamicTest< Pass > |
| class | FooEnvironment |
| class | BarEnvironment |
| class | TestSuiteThatFailsToSetUp |
| class | TestSuiteThatSkipsInSetUp |
Namespaces | |
| foo | |
| bar | |
Typedefs | |
| using | NoTests = ParamTest |
| typedef testing::Types< char, int > | TypesForTestWithNames |
| typedef testing::Types < unsigned char, unsigned int > | UnsignedTypes |
Functions | |
| void | TestEq1 (int x) |
| void | TryTestSubroutine () |
| TEST (PassingTest, PassingTest1) | |
| TEST (PassingTest, PassingTest2) | |
| TEST_P (FailingParamTest, Fails) | |
| INSTANTIATE_TEST_SUITE_P (PrintingFailingParams, FailingParamTest, testing::Values(2)) | |
| TEST_P (EmptyBasenameParamInst, Passes) | |
| INSTANTIATE_TEST_SUITE_P (, EmptyBasenameParamInst, testing::Values(1)) | |
| TEST (NonfatalFailureTest, EscapesStringOperands) | |
| TEST (NonfatalFailureTest, DiffForLongStrings) | |
| TEST (FatalFailureTest, FatalFailureInSubroutine) | |
| TEST (FatalFailureTest, FatalFailureInNestedSubroutine) | |
| TEST (FatalFailureTest, NonfatalFailureInSubroutine) | |
| TEST (LoggingTest, InterleavingLoggingAndAssertions) | |
| void | SubWithoutTrace (int n) |
| void | SubWithTrace (int n) |
| TEST (SCOPED_TRACETest, AcceptedValues) | |
| TEST (SCOPED_TRACETest, ObeysScopes) | |
| TEST (SCOPED_TRACETest, WorksInLoop) | |
| TEST (SCOPED_TRACETest, WorksInSubroutine) | |
| TEST (SCOPED_TRACETest, CanBeNested) | |
| TEST (SCOPED_TRACETest, CanBeRepeated) | |
| TEST (ScopedTraceTest, WithExplicitFileAndLine) | |
| TEST (DisabledTestsWarningTest, DISABLED_AlsoRunDisabledTestsFlagSuppressesWarning) | |
| void | AdHocTest () |
| int | RunAllTests () |
| TEST_F (NonFatalFailureInFixtureConstructorTest, FailureInConstructor) | |
| TEST_F (FatalFailureInFixtureConstructorTest, FailureInConstructor) | |
| TEST_F (NonFatalFailureInSetUpTest, FailureInSetUp) | |
| TEST_F (FatalFailureInSetUpTest, FailureInSetUp) | |
| TEST (AddFailureAtTest, MessageContainsSpecifiedFileAndLineNumber) | |
| TEST (GtestFailAtTest, MessageContainsSpecifiedFileAndLineNumber) | |
| foo::TEST_F (MixedUpTestSuiteTest, FirstTestFromNamespaceFoo) | |
| foo::TEST_F (MixedUpTestSuiteTest, SecondTestFromNamespaceFoo) | |
| foo::TEST_F (MixedUpTestSuiteWithSameTestNameTest, TheSecondTestWithThisNameShouldFail) | |
| bar::TEST_F (MixedUpTestSuiteTest, ThisShouldFail) | |
| bar::TEST_F (MixedUpTestSuiteTest, ThisShouldFailToo) | |
| bar::TEST_F (MixedUpTestSuiteWithSameTestNameTest, TheSecondTestWithThisNameShouldFail) | |
| TEST_F (TEST_F_before_TEST_in_same_test_case, DefinedUsingTEST_F) | |
| TEST (TEST_F_before_TEST_in_same_test_case, DefinedUsingTESTAndShouldFail) | |
| TEST (TEST_before_TEST_F_in_same_test_case, DefinedUsingTEST) | |
| TEST_F (TEST_before_TEST_F_in_same_test_case, DefinedUsingTEST_FAndShouldFail) | |
| TEST (ExpectNonfatalFailureTest, CanReferenceGlobalVariables) | |
| TEST (ExpectNonfatalFailureTest, CanReferenceLocalVariables) | |
| TEST (ExpectNonfatalFailureTest, SucceedsWhenThereIsOneNonfatalFailure) | |
| TEST (ExpectNonfatalFailureTest, FailsWhenThereIsNoNonfatalFailure) | |
| TEST (ExpectNonfatalFailureTest, FailsWhenThereAreTwoNonfatalFailures) | |
| TEST (ExpectNonfatalFailureTest, FailsWhenThereIsOneFatalFailure) | |
| TEST (ExpectNonfatalFailureTest, FailsWhenStatementReturns) | |
| TEST (ExpectFatalFailureTest, CanReferenceGlobalVariables) | |
| TEST (ExpectFatalFailureTest, CanReferenceLocalStaticVariables) | |
| TEST (ExpectFatalFailureTest, SucceedsWhenThereIsOneFatalFailure) | |
| TEST (ExpectFatalFailureTest, FailsWhenThereIsNoFatalFailure) | |
| void | FatalFailure () |
| TEST (ExpectFatalFailureTest, FailsWhenThereAreTwoFatalFailures) | |
| TEST (ExpectFatalFailureTest, FailsWhenThereIsOneNonfatalFailure) | |
| TEST (ExpectFatalFailureTest, FailsWhenStatementReturns) | |
| std::string | ParamNameFunc (const testing::TestParamInfo< std::string > &info) |
| TEST_P (ParamTest, Success) | |
| TEST_P (ParamTest, Failure) | |
| INSTANTIATE_TEST_SUITE_P (PrintingStrings, ParamTest, testing::Values(std::string("a")), ParamNameFunc) | |
| INSTANTIATE_TEST_SUITE_P (ThisIsOdd, NoTests,::testing::Values("Hello")) | |
| TEST_P (DetectNotInstantiatedTest, Used) | |
| TYPED_TEST_SUITE (TypedTest, testing::Types< int >) | |
| TYPED_TEST (TypedTest, Success) | |
| TYPED_TEST (TypedTest, Failure) | |
| TYPED_TEST_SUITE (TypedTestWithNames, TypesForTestWithNames, TypedTestNames) | |
| TYPED_TEST (TypedTestWithNames, Success) | |
| TYPED_TEST (TypedTestWithNames, Failure) | |
| TYPED_TEST_SUITE_P (TypedTestP) | |
| TYPED_TEST_P (TypedTestP, Success) | |
| TYPED_TEST_P (TypedTestP, Failure) | |
| REGISTER_TYPED_TEST_SUITE_P (TypedTestP, Success, Failure) | |
| INSTANTIATE_TYPED_TEST_SUITE_P (Unsigned, TypedTestP, UnsignedTypes) | |
| INSTANTIATE_TYPED_TEST_SUITE_P (UnsignedCustomName, TypedTestP, UnsignedTypes, TypedTestPNames) | |
| TYPED_TEST_SUITE_P (DetectNotInstantiatedTypesTest) | |
| TYPED_TEST_P (DetectNotInstantiatedTypesTest, Used) | |
| REGISTER_TYPED_TEST_SUITE_P (DetectNotInstantiatedTypesTest, Used) | |
| TEST_F (ExpectFailureTest, ExpectFatalFailure) | |
| TEST_F (ExpectFailureTest, ExpectNonFatalFailure) | |
| TEST_F (ExpectFailureTest, ExpectFatalFailureOnAllThreads) | |
| TEST_F (ExpectFailureTest, ExpectNonFatalFailureOnAllThreads) | |
| TEST_F (TestSuiteThatFailsToSetUp, ShouldNotRun) | |
| TEST_F (TestSuiteThatSkipsInSetUp, ShouldNotRun) | |
| int | main (int argc, char **argv) |
Variables | |
| static const char | kGoldenString [] = "\"Line\0 1\"\nLine 2" |
| int | global_integer = 0 |
| auto | dynamic_test |
Definition at line 689 of file googletest-output-test_.cc.
| typedef testing::Types<char, int> TypesForTestWithNames |
Definition at line 710 of file googletest-output-test_.cc.
| typedef testing::Types<unsigned char, unsigned int> UnsignedTypes |
Definition at line 745 of file googletest-output-test_.cc.
| void TestEq1 | ( | int | x | ) |
Definition at line 60 of file googletest-output-test_.cc.
| void TryTestSubroutine | ( | ) |
Definition at line 64 of file googletest-output-test_.cc.
| TEST | ( | PassingTest | , |
| PassingTest1 | |||
| ) |
Definition at line 78 of file googletest-output-test_.cc.
| TEST | ( | PassingTest | , |
| PassingTest2 | |||
| ) |
Definition at line 80 of file googletest-output-test_.cc.
| TEST_P | ( | FailingParamTest | , |
| Fails | |||
| ) |
Definition at line 86 of file googletest-output-test_.cc.
| INSTANTIATE_TEST_SUITE_P | ( | PrintingFailingParams | , |
| FailingParamTest | , | ||
| testing:: | Values2 | ||
| ) |
| TEST_P | ( | EmptyBasenameParamInst | , |
| Passes | |||
| ) |
Definition at line 97 of file googletest-output-test_.cc.
| INSTANTIATE_TEST_SUITE_P | ( | EmptyBasenameParamInst | , |
| testing:: | Values1 | ||
| ) |
| TEST | ( | NonfatalFailureTest | , |
| EscapesStringOperands | |||
| ) |
Definition at line 103 of file googletest-output-test_.cc.
| TEST | ( | NonfatalFailureTest | , |
| DiffForLongStrings | |||
| ) |
Definition at line 111 of file googletest-output-test_.cc.
| TEST | ( | FatalFailureTest | , |
| FatalFailureInSubroutine | |||
| ) |
Definition at line 117 of file googletest-output-test_.cc.
| TEST | ( | FatalFailureTest | , |
| FatalFailureInNestedSubroutine | |||
| ) |
Definition at line 124 of file googletest-output-test_.cc.
| TEST | ( | FatalFailureTest | , |
| NonfatalFailureInSubroutine | |||
| ) |
Definition at line 141 of file googletest-output-test_.cc.
| TEST | ( | LoggingTest | , |
| InterleavingLoggingAndAssertions | |||
| ) |
Definition at line 148 of file googletest-output-test_.cc.
| void SubWithoutTrace | ( | int | n | ) |
Definition at line 161 of file googletest-output-test_.cc.
| void SubWithTrace | ( | int | n | ) |
Definition at line 167 of file googletest-output-test_.cc.
| TEST | ( | SCOPED_TRACETest | , |
| AcceptedValues | |||
| ) |
Definition at line 173 of file googletest-output-test_.cc.
| TEST | ( | SCOPED_TRACETest | , |
| ObeysScopes | |||
| ) |
Definition at line 184 of file googletest-output-test_.cc.
| TEST | ( | SCOPED_TRACETest | , |
| WorksInLoop | |||
| ) |
Definition at line 203 of file googletest-output-test_.cc.
| TEST | ( | SCOPED_TRACETest | , |
| WorksInSubroutine | |||
| ) |
Definition at line 214 of file googletest-output-test_.cc.
| TEST | ( | SCOPED_TRACETest | , |
| CanBeNested | |||
| ) |
Definition at line 222 of file googletest-output-test_.cc.
| TEST | ( | SCOPED_TRACETest | , |
| CanBeRepeated | |||
| ) |
Definition at line 231 of file googletest-output-test_.cc.
| TEST | ( | ScopedTraceTest | , |
| WithExplicitFileAndLine | |||
| ) |
Definition at line 327 of file googletest-output-test_.cc.
| TEST | ( | DisabledTestsWarningTest | , |
| DISABLED_AlsoRunDisabledTestsFlagSuppressesWarning | |||
| ) |
Definition at line 332 of file googletest-output-test_.cc.
| void AdHocTest | ( | ) |
Definition at line 343 of file googletest-output-test_.cc.
| int RunAllTests | ( | ) |
Definition at line 350 of file googletest-output-test_.cc.
| TEST_F | ( | NonFatalFailureInFixtureConstructorTest | , |
| FailureInConstructor | |||
| ) |
Definition at line 374 of file googletest-output-test_.cc.
| TEST_F | ( | FatalFailureInFixtureConstructorTest | , |
| FailureInConstructor | |||
| ) |
Definition at line 406 of file googletest-output-test_.cc.
| TEST_F | ( | NonFatalFailureInSetUpTest | , |
| FailureInSetUp | |||
| ) |
Definition at line 428 of file googletest-output-test_.cc.
| TEST_F | ( | FatalFailureInSetUpTest | , |
| FailureInSetUp | |||
| ) |
Definition at line 448 of file googletest-output-test_.cc.
| TEST | ( | AddFailureAtTest | , |
| MessageContainsSpecifiedFileAndLineNumber | |||
| ) |
Definition at line 453 of file googletest-output-test_.cc.
| TEST | ( | GtestFailAtTest | , |
| MessageContainsSpecifiedFileAndLineNumber | |||
| ) |
Definition at line 457 of file googletest-output-test_.cc.
| TEST_F | ( | TEST_F_before_TEST_in_same_test_case | , |
| DefinedUsingTEST_F | |||
| ) |
Definition at line 510 of file googletest-output-test_.cc.
| TEST | ( | TEST_F_before_TEST_in_same_test_case | , |
| DefinedUsingTESTAndShouldFail | |||
| ) |
Definition at line 514 of file googletest-output-test_.cc.
| TEST | ( | TEST_before_TEST_F_in_same_test_case | , |
| DefinedUsingTEST | |||
| ) |
Definition at line 518 of file googletest-output-test_.cc.
| TEST_F | ( | TEST_before_TEST_F_in_same_test_case | , |
| DefinedUsingTEST_FAndShouldFail | |||
| ) |
Definition at line 522 of file googletest-output-test_.cc.
| TEST | ( | ExpectNonfatalFailureTest | , |
| CanReferenceGlobalVariables | |||
| ) |
Definition at line 528 of file googletest-output-test_.cc.
| TEST | ( | ExpectNonfatalFailureTest | , |
| CanReferenceLocalVariables | |||
| ) |
Definition at line 537 of file googletest-output-test_.cc.
| TEST | ( | ExpectNonfatalFailureTest | , |
| SucceedsWhenThereIsOneNonfatalFailure | |||
| ) |
Definition at line 547 of file googletest-output-test_.cc.
| TEST | ( | ExpectNonfatalFailureTest | , |
| FailsWhenThereIsNoNonfatalFailure | |||
| ) |
Definition at line 554 of file googletest-output-test_.cc.
| TEST | ( | ExpectNonfatalFailureTest | , |
| FailsWhenThereAreTwoNonfatalFailures | |||
| ) |
Definition at line 561 of file googletest-output-test_.cc.
| TEST | ( | ExpectNonfatalFailureTest | , |
| FailsWhenThereIsOneFatalFailure | |||
| ) |
Definition at line 573 of file googletest-output-test_.cc.
| TEST | ( | ExpectNonfatalFailureTest | , |
| FailsWhenStatementReturns | |||
| ) |
Definition at line 580 of file googletest-output-test_.cc.
| TEST | ( | ExpectFatalFailureTest | , |
| CanReferenceGlobalVariables | |||
| ) |
Definition at line 600 of file googletest-output-test_.cc.
| TEST | ( | ExpectFatalFailureTest | , |
| CanReferenceLocalStaticVariables | |||
| ) |
Definition at line 609 of file googletest-output-test_.cc.
| TEST | ( | ExpectFatalFailureTest | , |
| SucceedsWhenThereIsOneFatalFailure | |||
| ) |
Definition at line 618 of file googletest-output-test_.cc.
| TEST | ( | ExpectFatalFailureTest | , |
| FailsWhenThereIsNoFatalFailure | |||
| ) |
Definition at line 625 of file googletest-output-test_.cc.
| void FatalFailure | ( | ) |
Definition at line 631 of file googletest-output-test_.cc.
| TEST | ( | ExpectFatalFailureTest | , |
| FailsWhenThereAreTwoFatalFailures | |||
| ) |
Definition at line 635 of file googletest-output-test_.cc.
| TEST | ( | ExpectFatalFailureTest | , |
| FailsWhenThereIsOneNonfatalFailure | |||
| ) |
Definition at line 647 of file googletest-output-test_.cc.
| TEST | ( | ExpectFatalFailureTest | , |
| FailsWhenStatementReturns | |||
| ) |
Definition at line 654 of file googletest-output-test_.cc.
| std::string ParamNameFunc | ( | const testing::TestParamInfo< std::string > & | info | ) |
Definition at line 675 of file googletest-output-test_.cc.
| TEST_P | ( | ParamTest | , |
| Success | |||
| ) |
Definition at line 681 of file googletest-output-test_.cc.
| TEST_P | ( | ParamTest | , |
| Failure | |||
| ) |
Definition at line 683 of file googletest-output-test_.cc.
| INSTANTIATE_TEST_SUITE_P | ( | PrintingStrings | , |
| ParamTest | , | ||
| testing:: | Valuesstd::string("a"), | ||
| ParamNameFunc | |||
| ) |
| INSTANTIATE_TEST_SUITE_P | ( | ThisIsOdd | , |
| NoTests | , | ||
| ::testing:: | Values"Hello" | ||
| ) |
| TEST_P | ( | DetectNotInstantiatedTest | , |
| Used | |||
| ) |
Definition at line 694 of file googletest-output-test_.cc.
| TYPED_TEST_SUITE | ( | TypedTest | , |
| testing::Types< int > | |||
| ) |
| TYPED_TEST | ( | TypedTest | , |
| Success | |||
| ) |
Definition at line 704 of file googletest-output-test_.cc.
| TYPED_TEST | ( | TypedTest | , |
| Failure | |||
| ) |
Definition at line 706 of file googletest-output-test_.cc.
| TYPED_TEST_SUITE | ( | TypedTestWithNames | , |
| TypesForTestWithNames | , | ||
| TypedTestNames | |||
| ) |
| TYPED_TEST | ( | TypedTestWithNames | , |
| Success | |||
| ) |
Definition at line 728 of file googletest-output-test_.cc.
| TYPED_TEST | ( | TypedTestWithNames | , |
| Failure | |||
| ) |
Definition at line 730 of file googletest-output-test_.cc.
| TYPED_TEST_SUITE_P | ( | TypedTestP | ) |
| TYPED_TEST_P | ( | TypedTestP | , |
| Success | |||
| ) |
Definition at line 737 of file googletest-output-test_.cc.
| TYPED_TEST_P | ( | TypedTestP | , |
| Failure | |||
| ) |
Definition at line 739 of file googletest-output-test_.cc.
| REGISTER_TYPED_TEST_SUITE_P | ( | TypedTestP | , |
| Success | , | ||
| Failure | |||
| ) |
| INSTANTIATE_TYPED_TEST_SUITE_P | ( | Unsigned | , |
| TypedTestP | , | ||
| UnsignedTypes | |||
| ) |
| INSTANTIATE_TYPED_TEST_SUITE_P | ( | UnsignedCustomName | , |
| TypedTestP | , | ||
| UnsignedTypes | , | ||
| TypedTestPNames | |||
| ) |
| TYPED_TEST_SUITE_P | ( | DetectNotInstantiatedTypesTest | ) |
| TYPED_TEST_P | ( | DetectNotInstantiatedTypesTest | , |
| Used | |||
| ) |
Definition at line 767 of file googletest-output-test_.cc.
| REGISTER_TYPED_TEST_SUITE_P | ( | DetectNotInstantiatedTypesTest | , |
| Used | |||
| ) |
| TEST_F | ( | ExpectFailureTest | , |
| ExpectFatalFailure | |||
| ) |
Definition at line 827 of file googletest-output-test_.cc.
| TEST_F | ( | ExpectFailureTest | , |
| ExpectNonFatalFailure | |||
| ) |
Definition at line 843 of file googletest-output-test_.cc.
| TEST_F | ( | ExpectFailureTest | , |
| ExpectFatalFailureOnAllThreads | |||
| ) |
Definition at line 901 of file googletest-output-test_.cc.
| TEST_F | ( | ExpectFailureTest | , |
| ExpectNonFatalFailureOnAllThreads | |||
| ) |
Definition at line 915 of file googletest-output-test_.cc.
| TEST_F | ( | TestSuiteThatFailsToSetUp | , |
| ShouldNotRun | |||
| ) |
Definition at line 1008 of file googletest-output-test_.cc.
| TEST_F | ( | TestSuiteThatSkipsInSetUp | , |
| ShouldNotRun | |||
| ) |
Definition at line 1014 of file googletest-output-test_.cc.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 1021 of file googletest-output-test_.cc.
|
static |
Definition at line 101 of file googletest-output-test_.cc.
| int global_integer = 0 |
Definition at line 525 of file googletest-output-test_.cc.
| auto dynamic_test |
Definition at line 950 of file googletest-output-test_.cc.
1.8.5