file-fetcher
Public Member Functions | Protected Member Functions | List of all members
PHPUnit\Util\Log\TeamCity Class Reference
Inheritance diagram for PHPUnit\Util\Log\TeamCity:
PHPUnit\TextUI\ResultPrinter PHPUnit\Util\Printer PHPUnit\Framework\TestListener

Public Member Functions

 printResult (TestResult $result)
 
 addError (Test $test, \Throwable $t, float $time)
 
 addWarning (Test $test, Warning $e, float $time)
 
 addFailure (Test $test, AssertionFailedError $e, float $time)
 
 addIncompleteTest (Test $test, \Throwable $t, float $time)
 
 addRiskyTest (Test $test, \Throwable $t, float $time)
 
 addSkippedTest (Test $test, \Throwable $t, float $time)
 
 printIgnoredTest ($testName, \Throwable $t, float $time)
 
 startTestSuite (TestSuite $suite)
 
 endTestSuite (TestSuite $suite)
 
 startTest (Test $test)
 
 endTest (Test $test, float $time)
 
- Public Member Functions inherited from PHPUnit\TextUI\ResultPrinter
 __construct ($out=null, bool $verbose=false, string $colors=self::COLOR_DEFAULT, bool $debug=false, $numberOfColumns=80, bool $reverse=false)
 
- Public Member Functions inherited from PHPUnit\Util\Printer
 __construct ($out=null)
 
 flush ()
 
 incrementalFlush ()
 
 write (string $buffer)
 
 getAutoFlush ()
 
 setAutoFlush (bool $autoFlush)
 
- Public Member Functions inherited from PHPUnit\Framework\TestListener
 addWarning (Test $test, Warning $e, float $time)
 

Protected Member Functions

 writeProgress (string $progress)
 
- Protected Member Functions inherited from PHPUnit\TextUI\ResultPrinter
 printDefects (array $defects, string $type)
 
 printDefect (TestFailure $defect, int $count)
 
 printDefectHeader (TestFailure $defect, int $count)
 
 printDefectTrace (TestFailure $defect)
 
 printErrors (TestResult $result)
 
 printFailures (TestResult $result)
 
 printWarnings (TestResult $result)
 
 printIncompletes (TestResult $result)
 
 printRisky (TestResult $result)
 
 printSkipped (TestResult $result)
 
 printHeader (TestResult $result)
 
 printFooter (TestResult $result)
 
 writeNewLine ()
 
 colorizeTextBox (string $color, string $buffer)
 
 writeWithColor (string $color, string $buffer, bool $lf=true)
 
 writeProgressWithColor (string $color, string $buffer)
 

Additional Inherited Members

- Public Attributes inherited from PHPUnit\TextUI\ResultPrinter
const EVENT_TEST_START = 0
 
const EVENT_TEST_END = 1
 
const EVENT_TESTSUITE_START = 2
 
const EVENT_TESTSUITE_END = 3
 
const COLOR_NEVER = 'never'
 
const COLOR_AUTO = 'auto'
 
const COLOR_ALWAYS = 'always'
 
const COLOR_DEFAULT = self::COLOR_NEVER
 
- Protected Attributes inherited from PHPUnit\TextUI\ResultPrinter
 $column = 0
 
 $maxColumn
 
 $lastTestFailed = false
 
 $numAssertions = 0
 
 $numTests = -1
 
 $numTestsRun = 0
 
 $numTestsWidth
 
 $colors = false
 
 $debug = false
 
 $verbose = false
 
- Protected Attributes inherited from PHPUnit\Util\Printer
 $autoFlush = false
 
 $out
 
 $outTarget
 

Member Function Documentation

◆ addError()

PHPUnit\Util\Log\TeamCity::addError ( Test  $test,
\Throwable  $t,
float  $time 
)

An error occurred.

Reimplemented from PHPUnit\TextUI\ResultPrinter.

◆ addFailure()

PHPUnit\Util\Log\TeamCity::addFailure ( Test  $test,
AssertionFailedError  $e,
float  $time 
)

A failure occurred.

Reimplemented from PHPUnit\TextUI\ResultPrinter.

◆ addIncompleteTest()

PHPUnit\Util\Log\TeamCity::addIncompleteTest ( Test  $test,
\Throwable  $t,
float  $time 
)

Incomplete test.

Reimplemented from PHPUnit\TextUI\ResultPrinter.

◆ addRiskyTest()

PHPUnit\Util\Log\TeamCity::addRiskyTest ( Test  $test,
\Throwable  $t,
float  $time 
)

Risky test.

Reimplemented from PHPUnit\TextUI\ResultPrinter.

◆ addSkippedTest()

PHPUnit\Util\Log\TeamCity::addSkippedTest ( Test  $test,
\Throwable  $t,
float  $time 
)

Skipped test.

Reimplemented from PHPUnit\TextUI\ResultPrinter.

◆ addWarning()

PHPUnit\Util\Log\TeamCity::addWarning ( Test  $test,
Warning  $e,
float  $time 
)

A warning occurred.

Reimplemented from PHPUnit\TextUI\ResultPrinter.

◆ endTest()

PHPUnit\Util\Log\TeamCity::endTest ( Test  $test,
float  $time 
)

A test ended.

Reimplemented from PHPUnit\TextUI\ResultPrinter.

◆ endTestSuite()

PHPUnit\Util\Log\TeamCity::endTestSuite ( TestSuite  $suite)

A testsuite ended.

Reimplemented from PHPUnit\TextUI\ResultPrinter.

◆ printIgnoredTest()

PHPUnit\Util\Log\TeamCity::printIgnoredTest (   $testName,
\Throwable  $t,
float  $time 
)

◆ printResult()

PHPUnit\Util\Log\TeamCity::printResult ( TestResult  $result)
Exceptions

Reimplemented from PHPUnit\TextUI\ResultPrinter.

◆ startTest()

PHPUnit\Util\Log\TeamCity::startTest ( Test  $test)

A test started.

Reimplemented from PHPUnit\TextUI\ResultPrinter.

◆ startTestSuite()

PHPUnit\Util\Log\TeamCity::startTestSuite ( TestSuite  $suite)

A testsuite started.

Reimplemented from PHPUnit\TextUI\ResultPrinter.

◆ writeProgress()

PHPUnit\Util\Log\TeamCity::writeProgress ( string  $progress)
protected

Reimplemented from PHPUnit\TextUI\ResultPrinter.


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