Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
BazelReporter Class Reference
Inheritance diagram for BazelReporter:
skiatest::Reporter SkNoncopyable

Public Member Functions

void reportFailed (const skiatest::Failure &failure) override
 
bool allowExtendedTest () const override
 
bool verbose () const override
 
bool ok ()
 
- Public Member Functions inherited from skiatest::Reporter
virtual ~Reporter ()
 
virtual void bumpTestCount ()
 
virtual void reportFailed (const skiatest::Failure &)=0
 
virtual bool allowExtendedTest () const
 
virtual bool verbose () const
 
virtual void * stats () const
 
void reportFailedWithContext (const skiatest::Failure &)
 
void push (const SkString &message)
 
void push (const std::string &message)
 
void pop ()
 

Detailed Description

Definition at line 59 of file BazelUnitTestRunner.cpp.

Member Function Documentation

◆ allowExtendedTest()

bool BazelReporter::allowExtendedTest ( ) const
inlineoverridevirtual

Reimplemented from skiatest::Reporter.

Definition at line 65 of file BazelUnitTestRunner.cpp.

65{ return false; }

◆ ok()

bool BazelReporter::ok ( )
inline

Definition at line 67 of file BazelUnitTestRunner.cpp.

67{ return !fFailed; }

◆ reportFailed()

void BazelReporter::reportFailed ( const skiatest::Failure failure)
inlineoverridevirtual

Implements skiatest::Reporter.

Definition at line 61 of file BazelUnitTestRunner.cpp.

61 {
62 TestRunner::Log("FAIL: %s", failure.toString().c_str());
63 fFailed = true;
64 }
const char * c_str() const
Definition: SkString.h:133
void Log(const char *format,...) SK_PRINTF_LIKE(1
Definition: TestRunner.cpp:137
SkString toString() const
Definition: Test.cpp:41

◆ verbose()

bool BazelReporter::verbose ( ) const
inlineoverridevirtual

Reimplemented from skiatest::Reporter.

Definition at line 66 of file BazelUnitTestRunner.cpp.

66{ return false; }

The documentation for this class was generated from the following file: