Classes | Namespaces | Macros | Functions | Variables
gtest/test/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/test/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

 bar
 
 foo
 

Macros

#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 (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"
 

Macro Definition Documentation

#define GTEST_IMPLEMENTATION_   1

Definition at line 46 of file gtest/test/gtest_output_test_.cc.

Function Documentation

void AdHocTest ( )

Definition at line 333 of file gtest/test/gtest_output_test_.cc.

void FatalFailure ( )

Definition at line 705 of file gtest/test/gtest_output_test_.cc.

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 
)

Definition at line 995 of file gtest/test/gtest_output_test_.cc.

int RunAllTests ( )

Definition at line 340 of file gtest/test/gtest_output_test_.cc.

void SubWithoutTrace ( int  n)

Definition at line 163 of file gtest/test/gtest_output_test_.cc.

void SubWithTrace ( int  n)

Definition at line 169 of file gtest/test/gtest_output_test_.cc.

TEST ( PassingTest  ,
PassingTest1   
)

Definition at line 86 of file gtest/test/gtest_output_test_.cc.

TEST ( PassingTest  ,
PassingTest2   
)

Definition at line 89 of file gtest/test/gtest_output_test_.cc.

TEST ( NonfatalFailureTest  ,
EscapesStringOperands   
)

Definition at line 108 of file gtest/test/gtest_output_test_.cc.

TEST ( FatalFailureTest  ,
FatalFailureInSubroutine   
)

Definition at line 117 of file gtest/test/gtest_output_test_.cc.

TEST ( FatalFailureTest  ,
FatalFailureInNestedSubroutine   
)

Definition at line 124 of file gtest/test/gtest_output_test_.cc.

TEST ( FatalFailureTest  ,
NonfatalFailureInSubroutine   
)

Definition at line 141 of file gtest/test/gtest_output_test_.cc.

TEST ( LoggingTest  ,
InterleavingLoggingAndAssertions   
)

Definition at line 148 of file gtest/test/gtest_output_test_.cc.

TEST ( SCOPED_TRACETest  ,
ObeysScopes   
)

Definition at line 176 of file gtest/test/gtest_output_test_.cc.

TEST ( SCOPED_TRACETest  ,
WorksInLoop   
)

Definition at line 195 of file gtest/test/gtest_output_test_.cc.

TEST ( SCOPED_TRACETest  ,
WorksInSubroutine   
)

Definition at line 206 of file gtest/test/gtest_output_test_.cc.

TEST ( SCOPED_TRACETest  ,
CanBeNested   
)

Definition at line 214 of file gtest/test/gtest_output_test_.cc.

TEST ( SCOPED_TRACETest  ,
CanBeRepeated   
)

Definition at line 223 of file gtest/test/gtest_output_test_.cc.

TEST ( DisabledTestsWarningTest  ,
DISABLED_AlsoRunDisabledTestsFlagSuppressesWarning   
)

Definition at line 322 of file gtest/test/gtest_output_test_.cc.

TEST ( AddFailureAtTest  ,
MessageContainsSpecifiedFileAndLineNumber   
)

Definition at line 457 of file gtest/test/gtest_output_test_.cc.

TEST ( TEST_F_before_TEST_in_same_test_case  ,
DefinedUsingTESTAndShouldFail   
)

Definition at line 576 of file gtest/test/gtest_output_test_.cc.

TEST ( TEST_before_TEST_F_in_same_test_case  ,
DefinedUsingTEST   
)

Definition at line 581 of file gtest/test/gtest_output_test_.cc.

TEST ( ExpectNonfatalFailureTest  ,
CanReferenceGlobalVariables   
)

Definition at line 592 of file gtest/test/gtest_output_test_.cc.

TEST ( ExpectNonfatalFailureTest  ,
CanReferenceLocalVariables   
)

Definition at line 601 of file gtest/test/gtest_output_test_.cc.

TEST ( ExpectNonfatalFailureTest  ,
SucceedsWhenThereIsOneNonfatalFailure   
)

Definition at line 612 of file gtest/test/gtest_output_test_.cc.

TEST ( ExpectNonfatalFailureTest  ,
FailsWhenThereIsNoNonfatalFailure   
)

Definition at line 620 of file gtest/test/gtest_output_test_.cc.

TEST ( ExpectNonfatalFailureTest  ,
FailsWhenThereAreTwoNonfatalFailures   
)

Definition at line 628 of file gtest/test/gtest_output_test_.cc.

TEST ( ExpectNonfatalFailureTest  ,
FailsWhenThereIsOneFatalFailure   
)

Definition at line 638 of file gtest/test/gtest_output_test_.cc.

TEST ( ExpectNonfatalFailureTest  ,
FailsWhenStatementReturns   
)

Definition at line 647 of file gtest/test/gtest_output_test_.cc.

TEST ( ExpectFatalFailureTest  ,
CanReferenceGlobalVariables   
)

Definition at line 671 of file gtest/test/gtest_output_test_.cc.

TEST ( ExpectFatalFailureTest  ,
CanReferenceLocalStaticVariables   
)

Definition at line 680 of file gtest/test/gtest_output_test_.cc.

TEST ( ExpectFatalFailureTest  ,
SucceedsWhenThereIsOneFatalFailure   
)

Definition at line 690 of file gtest/test/gtest_output_test_.cc.

TEST ( ExpectFatalFailureTest  ,
FailsWhenThereIsNoFatalFailure   
)

Definition at line 698 of file gtest/test/gtest_output_test_.cc.

TEST ( ExpectFatalFailureTest  ,
FailsWhenThereAreTwoFatalFailures   
)

Definition at line 711 of file gtest/test/gtest_output_test_.cc.

TEST ( ExpectFatalFailureTest  ,
FailsWhenThereIsOneNonfatalFailure   
)

Definition at line 721 of file gtest/test/gtest_output_test_.cc.

TEST ( ExpectFatalFailureTest  ,
FailsWhenStatementReturns   
)

Definition at line 730 of file gtest/test/gtest_output_test_.cc.

TEST_F ( NonFatalFailureInFixtureConstructorTest  ,
FailureInConstructor   
)

Definition at line 366 of file gtest/test/gtest_output_test_.cc.

TEST_F ( FatalFailureInFixtureConstructorTest  ,
FailureInConstructor   
)

Definition at line 400 of file gtest/test/gtest_output_test_.cc.

TEST_F ( NonFatalFailureInSetUpTest  ,
FailureInSetUp   
)

Definition at line 427 of file gtest/test/gtest_output_test_.cc.

TEST_F ( FatalFailureInSetUpTest  ,
FailureInSetUp   
)

Definition at line 452 of file gtest/test/gtest_output_test_.cc.

TEST_F ( TEST_F_before_TEST_in_same_test_case  ,
DefinedUsingTEST_F   
)

Definition at line 572 of file gtest/test/gtest_output_test_.cc.

TEST_F ( TEST_before_TEST_F_in_same_test_case  ,
DefinedUsingTEST_FAndShouldFail   
)

Definition at line 585 of file gtest/test/gtest_output_test_.cc.

TEST_F ( ExpectFailureTest  ,
ExpectFatalFailure   
)

Definition at line 861 of file gtest/test/gtest_output_test_.cc.

TEST_F ( ExpectFailureTest  ,
ExpectNonFatalFailure   
)

Definition at line 875 of file gtest/test/gtest_output_test_.cc.

TEST_F ( ExpectFailureTest  ,
ExpectFatalFailureOnAllThreads   
)

Definition at line 932 of file gtest/test/gtest_output_test_.cc.

TEST_F ( ExpectFailureTest  ,
ExpectNonFatalFailureOnAllThreads   
)

Definition at line 946 of file gtest/test/gtest_output_test_.cc.

TEST_P ( FailingParamTest  ,
Fails   
)

Definition at line 96 of file gtest/test/gtest_output_test_.cc.

void TestEq1 ( int  x)

Definition at line 66 of file gtest/test/gtest_output_test_.cc.

void TryTestSubroutine ( )

Definition at line 72 of file gtest/test/gtest_output_test_.cc.

Variable Documentation

int global_integer = 0

Definition at line 589 of file gtest/test/gtest_output_test_.cc.

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

Definition at line 106 of file gtest/test/gtest_output_test_.cc.



ros_opcua_impl_freeopcua
Author(s): Denis Štogl
autogenerated on Tue Jan 19 2021 03:12:08