tesseract v5.3.3.20231005
foo Namespace Reference

Classes

class  MixedUpTestSuiteTest
 
class  MixedUpTestSuiteWithSameTestNameTest
 
class  PathLike
 
struct  PointerPrintable
 
struct  PrintableViaPrintTo
 
class  PrintableViaPrintToTemplate
 
class  StreamableTemplateInFoo
 
struct  TemplatedStreamableInFoo
 
class  UnprintableInFoo
 

Functions

 TEST_F (MixedUpTestSuiteTest, FirstTestFromNamespaceFoo)
 
 TEST_F (MixedUpTestSuiteTest, SecondTestFromNamespaceFoo)
 
 TEST_F (MixedUpTestSuiteWithSameTestNameTest, TheSecondTestWithThisNameShouldFail)
 
void PrintTo (const PrintableViaPrintTo &x, ::std::ostream *os)
 
::std::ostream & operator<< (::std::ostream &os, const PointerPrintable *)
 
template<typename T >
void PrintTo (const PrintableViaPrintToTemplate< T > &x, ::std::ostream *os)
 
template<typename T >
inline ::std::ostream & operator<< (::std::ostream &os, const StreamableTemplateInFoo< T > &x)
 
template<typename OutputStream >
OutputStream & operator<< (OutputStream &os, const TemplatedStreamableInFoo &)
 

Function Documentation

◆ operator<<() [1/3]

::std::ostream & foo::operator<< ( ::std::ostream &  os,
const PointerPrintable  
)

Definition at line 153 of file googletest-printers-test.cc.

156 {
157 return os << "PointerPrintable*";
158}

◆ operator<<() [2/3]

template<typename T >
inline ::std::ostream & foo::operator<< ( ::std::ostream &  os,
const StreamableTemplateInFoo< T > &  x 
)

Definition at line 188 of file googletest-printers-test.cc.

189 {
190 return os << "StreamableTemplateInFoo: " << x.value();
191}

◆ operator<<() [3/3]

template<typename OutputStream >
OutputStream & foo::operator<< ( OutputStream &  os,
const TemplatedStreamableInFoo  
)

Definition at line 198 of file googletest-printers-test.cc.

199 {
200 os << "TemplatedStreamableInFoo";
201 return os;
202}

◆ PrintTo() [1/2]

void foo::PrintTo ( const PrintableViaPrintTo x,
::std::ostream *  os 
)

Definition at line 147 of file googletest-printers-test.cc.

147 {
148 *os << "PrintableViaPrintTo: " << x.value;
149}

◆ PrintTo() [2/2]

template<typename T >
void foo::PrintTo ( const PrintableViaPrintToTemplate< T > &  x,
::std::ostream *  os 
)

Definition at line 172 of file googletest-printers-test.cc.

172 {
173 *os << "PrintableViaPrintToTemplate: " << x.value();
174}

◆ TEST_F() [1/3]

foo::TEST_F ( MixedUpTestSuiteTest  ,
FirstTestFromNamespaceFoo   
)

Definition at line 494 of file googletest-output-test_.cc.

494{}

◆ TEST_F() [2/3]

foo::TEST_F ( MixedUpTestSuiteTest  ,
SecondTestFromNamespaceFoo   
)

Definition at line 495 of file googletest-output-test_.cc.

495{}

◆ TEST_F() [3/3]

foo::TEST_F ( MixedUpTestSuiteWithSameTestNameTest  ,
TheSecondTestWithThisNameShouldFail   
)

Definition at line 500 of file googletest-output-test_.cc.

501 {}