@@ 82-89 (lines=8) @@ | ||
79 | return ' ' . (string) $ms . 'ms'; |
|
80 | } |
|
81 | ||
82 | public function addError(Test $test, \Exception $e, $time) |
|
83 | { |
|
84 | $this->write(self::INDENT); |
|
85 | $this->writeWithColor('fg-red', '✘ ', false); |
|
86 | $this->printDescription($test, $time); |
|
87 | ||
88 | $this->lastTestFailed = true; |
|
89 | } |
|
90 | ||
91 | public function addFailure(Test $test, AssertionFailedError $e, $time) |
|
92 | { |
|
@@ 91-97 (lines=7) @@ | ||
88 | $this->lastTestFailed = true; |
|
89 | } |
|
90 | ||
91 | public function addFailure(Test $test, AssertionFailedError $e, $time) |
|
92 | { |
|
93 | $this->write(self::INDENT); |
|
94 | $this->writeWithColor('fg-red', '✘ ', false); |
|
95 | $this->printDescription($test, $time); |
|
96 | $this->lastTestFailed = true; |
|
97 | } |
|
98 | ||
99 | public function addWarning(Test $test, Warning $e, $time) |
|
100 | { |