Classes | Namespaces | Defines | Functions | Variables
gtest_output_test_.cc File Reference
#include "gtest/gtest-spi.h"
#include "gtest/gtest.h"
#include "src/gtest-internal-inl.h"
#include <stdlib.h>
Include dependency graph for gtest_output_test_.cc:

Go to the source code of this file.

Classes

class  BarEnvironment
class  ExpectFailureTest
class  FailingParamTest
class  FatalFailureInFixtureConstructorTest
class  FatalFailureInSetUpTest
class  FooEnvironment
class  bar::MixedUpTestCaseTest
class  foo::MixedUpTestCaseTest
class  bar::MixedUpTestCaseWithSameTestNameTest
class  foo::MixedUpTestCaseWithSameTestNameTest
class  NonFatalFailureInFixtureConstructorTest
class  NonFatalFailureInSetUpTest
class  TEST_before_TEST_F_in_same_test_case
class  TEST_F_before_TEST_in_same_test_case

Namespaces

namespace  bar
namespace  foo

Defines

#define GTEST_IMPLEMENTATION_   1

Functions

void AdHocTest ()
void FatalFailure ()
bool GTEST_FLAG (internal_skip_environment_and_ad_hoc_tests)
 INSTANTIATE_TEST_CASE_P (PrintingFailingParams, FailingParamTest, testing::Values(2))
int main (int argc, char **argv)
int RunAllTests ()
void SubWithoutTrace (int n)
void SubWithTrace (int n)
 TEST (PassingTest, PassingTest1)
 TEST (PassingTest, PassingTest2)
 TEST (NonfatalFailureTest, EscapesStringOperands)
 TEST (NonfatalFailureTest, DiffForLongStrings)
 TEST (FatalFailureTest, FatalFailureInSubroutine)
 TEST (FatalFailureTest, FatalFailureInNestedSubroutine)
 TEST (FatalFailureTest, NonfatalFailureInSubroutine)
 TEST (LoggingTest, InterleavingLoggingAndAssertions)
 TEST (SCOPED_TRACETest, ObeysScopes)
 TEST (SCOPED_TRACETest, WorksInLoop)
 TEST (SCOPED_TRACETest, WorksInSubroutine)
 TEST (SCOPED_TRACETest, CanBeNested)
 TEST (SCOPED_TRACETest, CanBeRepeated)
 TEST (DisabledTestsWarningTest, DISABLED_AlsoRunDisabledTestsFlagSuppressesWarning)
 TEST (AddFailureAtTest, MessageContainsSpecifiedFileAndLineNumber)
 TEST (TEST_F_before_TEST_in_same_test_case, DefinedUsingTESTAndShouldFail)
 TEST (TEST_before_TEST_F_in_same_test_case, DefinedUsingTEST)
 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)
 TEST (ExpectFatalFailureTest, FailsWhenThereAreTwoFatalFailures)
 TEST (ExpectFatalFailureTest, FailsWhenThereIsOneNonfatalFailure)
 TEST (ExpectFatalFailureTest, FailsWhenStatementReturns)
 TEST_F (NonFatalFailureInFixtureConstructorTest, FailureInConstructor)
 TEST_F (FatalFailureInFixtureConstructorTest, FailureInConstructor)
 TEST_F (NonFatalFailureInSetUpTest, FailureInSetUp)
 TEST_F (FatalFailureInSetUpTest, FailureInSetUp)
 foo::TEST_F (MixedUpTestCaseTest, FirstTestFromNamespaceFoo)
 foo::TEST_F (MixedUpTestCaseTest, SecondTestFromNamespaceFoo)
 foo::TEST_F (MixedUpTestCaseWithSameTestNameTest, TheSecondTestWithThisNameShouldFail)
 bar::TEST_F (MixedUpTestCaseTest, ThisShouldFail)
 bar::TEST_F (MixedUpTestCaseTest, ThisShouldFailToo)
 bar::TEST_F (MixedUpTestCaseWithSameTestNameTest, TheSecondTestWithThisNameShouldFail)
 TEST_F (TEST_F_before_TEST_in_same_test_case, DefinedUsingTEST_F)
 TEST_F (TEST_before_TEST_F_in_same_test_case, DefinedUsingTEST_FAndShouldFail)
 TEST_F (ExpectFailureTest, ExpectFatalFailure)
 TEST_F (ExpectFailureTest, ExpectNonFatalFailure)
 TEST_F (ExpectFailureTest, ExpectFatalFailureOnAllThreads)
 TEST_F (ExpectFailureTest, ExpectNonFatalFailureOnAllThreads)
 TEST_P (FailingParamTest, Fails)
void TestEq1 (int x)
void TryTestSubroutine ()

Variables

int global_integer = 0
static const char kGoldenString [] = "\"Line\0 1\"\nLine 2"

Define Documentation

#define GTEST_IMPLEMENTATION_   1

Definition at line 46 of file gtest_output_test_.cc.


Function Documentation

void AdHocTest ( )

Definition at line 338 of file gtest_output_test_.cc.

void FatalFailure ( )

Definition at line 710 of file gtest_output_test_.cc.

bool GTEST_FLAG ( internal_skip_environment_and_ad_hoc_tests  )
INSTANTIATE_TEST_CASE_P ( PrintingFailingParams  ,
FailingParamTest  ,
testing::  Values
)
int main ( int  argc,
char **  argv 
)

Definition at line 1000 of file gtest_output_test_.cc.

int RunAllTests ( )

Definition at line 345 of file gtest_output_test_.cc.

void SubWithoutTrace ( int  n)

Definition at line 168 of file gtest_output_test_.cc.

void SubWithTrace ( int  n)

Definition at line 174 of file gtest_output_test_.cc.

TEST ( PassingTest  ,
PassingTest1   
)

Definition at line 86 of file gtest_output_test_.cc.

TEST ( PassingTest  ,
PassingTest2   
)

Definition at line 89 of file gtest_output_test_.cc.

TEST ( NonfatalFailureTest  ,
EscapesStringOperands   
)

Definition at line 108 of file gtest_output_test_.cc.

TEST ( NonfatalFailureTest  ,
DiffForLongStrings   
)

Definition at line 116 of file gtest_output_test_.cc.

TEST ( FatalFailureTest  ,
FatalFailureInSubroutine   
)

Definition at line 122 of file gtest_output_test_.cc.

TEST ( FatalFailureTest  ,
FatalFailureInNestedSubroutine   
)

Definition at line 129 of file gtest_output_test_.cc.

TEST ( FatalFailureTest  ,
NonfatalFailureInSubroutine   
)

Definition at line 146 of file gtest_output_test_.cc.

TEST ( LoggingTest  ,
InterleavingLoggingAndAssertions   
)

Definition at line 153 of file gtest_output_test_.cc.

TEST ( SCOPED_TRACETest  ,
ObeysScopes   
)

Definition at line 181 of file gtest_output_test_.cc.

TEST ( SCOPED_TRACETest  ,
WorksInLoop   
)

Definition at line 200 of file gtest_output_test_.cc.

TEST ( SCOPED_TRACETest  ,
WorksInSubroutine   
)

Definition at line 211 of file gtest_output_test_.cc.

TEST ( SCOPED_TRACETest  ,
CanBeNested   
)

Definition at line 219 of file gtest_output_test_.cc.

TEST ( SCOPED_TRACETest  ,
CanBeRepeated   
)

Definition at line 228 of file gtest_output_test_.cc.

TEST ( DisabledTestsWarningTest  ,
DISABLED_AlsoRunDisabledTestsFlagSuppressesWarning   
)

Definition at line 327 of file gtest_output_test_.cc.

TEST ( AddFailureAtTest  ,
MessageContainsSpecifiedFileAndLineNumber   
)

Definition at line 462 of file gtest_output_test_.cc.

TEST ( TEST_F_before_TEST_in_same_test_case  ,
DefinedUsingTESTAndShouldFail   
)

Definition at line 581 of file gtest_output_test_.cc.

TEST ( TEST_before_TEST_F_in_same_test_case  ,
DefinedUsingTEST   
)

Definition at line 586 of file gtest_output_test_.cc.

TEST ( ExpectNonfatalFailureTest  ,
CanReferenceGlobalVariables   
)

Definition at line 597 of file gtest_output_test_.cc.

TEST ( ExpectNonfatalFailureTest  ,
CanReferenceLocalVariables   
)

Definition at line 606 of file gtest_output_test_.cc.

TEST ( ExpectNonfatalFailureTest  ,
SucceedsWhenThereIsOneNonfatalFailure   
)

Definition at line 617 of file gtest_output_test_.cc.

TEST ( ExpectNonfatalFailureTest  ,
FailsWhenThereIsNoNonfatalFailure   
)

Definition at line 625 of file gtest_output_test_.cc.

TEST ( ExpectNonfatalFailureTest  ,
FailsWhenThereAreTwoNonfatalFailures   
)

Definition at line 633 of file gtest_output_test_.cc.

TEST ( ExpectNonfatalFailureTest  ,
FailsWhenThereIsOneFatalFailure   
)

Definition at line 643 of file gtest_output_test_.cc.

TEST ( ExpectNonfatalFailureTest  ,
FailsWhenStatementReturns   
)

Definition at line 652 of file gtest_output_test_.cc.

TEST ( ExpectFatalFailureTest  ,
CanReferenceGlobalVariables   
)

Definition at line 676 of file gtest_output_test_.cc.

TEST ( ExpectFatalFailureTest  ,
CanReferenceLocalStaticVariables   
)

Definition at line 685 of file gtest_output_test_.cc.

TEST ( ExpectFatalFailureTest  ,
SucceedsWhenThereIsOneFatalFailure   
)

Definition at line 695 of file gtest_output_test_.cc.

TEST ( ExpectFatalFailureTest  ,
FailsWhenThereIsNoFatalFailure   
)

Definition at line 703 of file gtest_output_test_.cc.

TEST ( ExpectFatalFailureTest  ,
FailsWhenThereAreTwoFatalFailures   
)

Definition at line 716 of file gtest_output_test_.cc.

TEST ( ExpectFatalFailureTest  ,
FailsWhenThereIsOneNonfatalFailure   
)

Definition at line 726 of file gtest_output_test_.cc.

TEST ( ExpectFatalFailureTest  ,
FailsWhenStatementReturns   
)

Definition at line 735 of file gtest_output_test_.cc.

TEST_F ( NonFatalFailureInFixtureConstructorTest  ,
FailureInConstructor   
)

Definition at line 371 of file gtest_output_test_.cc.

TEST_F ( FatalFailureInFixtureConstructorTest  ,
FailureInConstructor   
)

Definition at line 405 of file gtest_output_test_.cc.

TEST_F ( NonFatalFailureInSetUpTest  ,
FailureInSetUp   
)

Definition at line 432 of file gtest_output_test_.cc.

TEST_F ( FatalFailureInSetUpTest  ,
FailureInSetUp   
)

Definition at line 457 of file gtest_output_test_.cc.

TEST_F ( TEST_F_before_TEST_in_same_test_case  ,
DefinedUsingTEST_F   
)

Definition at line 577 of file gtest_output_test_.cc.

TEST_F ( TEST_before_TEST_F_in_same_test_case  ,
DefinedUsingTEST_FAndShouldFail   
)

Definition at line 590 of file gtest_output_test_.cc.

TEST_F ( ExpectFailureTest  ,
ExpectFatalFailure   
)

Definition at line 866 of file gtest_output_test_.cc.

TEST_F ( ExpectFailureTest  ,
ExpectNonFatalFailure   
)

Definition at line 880 of file gtest_output_test_.cc.

TEST_F ( ExpectFailureTest  ,
ExpectFatalFailureOnAllThreads   
)

Definition at line 937 of file gtest_output_test_.cc.

TEST_F ( ExpectFailureTest  ,
ExpectNonFatalFailureOnAllThreads   
)

Definition at line 951 of file gtest_output_test_.cc.

TEST_P ( FailingParamTest  ,
Fails   
)

Definition at line 96 of file gtest_output_test_.cc.

void TestEq1 ( int  x)

Definition at line 66 of file gtest_output_test_.cc.

Definition at line 72 of file gtest_output_test_.cc.


Variable Documentation

int global_integer = 0

Definition at line 594 of file gtest_output_test_.cc.

const char kGoldenString[] = "\"Line\0 1\"\nLine 2" [static]

Definition at line 106 of file gtest_output_test_.cc.



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