lib/Util/Log/Logger.php 1 location
|
@@ 167-177 (lines=11) @@
|
| 164 |
|
$this->testName = self::NAME_DEFAULT; |
| 165 |
|
} |
| 166 |
|
|
| 167 |
|
public function startTest(Test $test) |
| 168 |
|
{ |
| 169 |
|
if ($test instanceof TestCase) { |
| 170 |
|
if (!$this->testName) { |
| 171 |
|
$this->setTestName(get_class($test) . '::' . $test->getName()); |
| 172 |
|
} |
| 173 |
|
$this->invokedTest = get_class($test) . '::' . $test->getName(); |
| 174 |
|
$this->setTestStatus(self::STATUS_PASSED); |
| 175 |
|
} |
| 176 |
|
|
| 177 |
|
} |
| 178 |
|
|
| 179 |
|
public function endTest(Test $test, $time) |
| 180 |
|
{ |
lib/Util/Log/LoggerPHPUnit5.php 1 location
|
@@ 157-167 (lines=11) @@
|
| 154 |
|
$this->testName = self::NAME_DEFAULT; |
| 155 |
|
} |
| 156 |
|
|
| 157 |
|
public function startTest(\PHPUnit_Framework_Test $test) |
| 158 |
|
{ |
| 159 |
|
if ($test instanceof TestCase) { |
| 160 |
|
if (!$this->testName) { |
| 161 |
|
$this->setTestName(get_class($test) . '::' . $test->getName()); |
| 162 |
|
} |
| 163 |
|
$this->invokedTest = get_class($test) . '::' . $test->getName(); |
| 164 |
|
$this->setTestStatus(self::STATUS_PASSED); |
| 165 |
|
} |
| 166 |
|
|
| 167 |
|
} |
| 168 |
|
|
| 169 |
|
public function endTest(\PHPUnit_Framework_Test $test, $time) |
| 170 |
|
{ |