lib/Util/Log/Logger.php 1 location
|
@@ 145-155 (lines=11) @@
|
| 142 |
|
$this->testName = self::NAME_DEFAULT; |
| 143 |
|
} |
| 144 |
|
|
| 145 |
|
public function startTest(Test $test) |
| 146 |
|
{ |
| 147 |
|
if ($test instanceof TestCase) { |
| 148 |
|
if (!$this->testName) { |
| 149 |
|
$this->setTestName(get_class($test) . '::' . $test->getName()); |
| 150 |
|
} |
| 151 |
|
$this->invokedTest = get_class($test) . '::' . $test->getName(); |
| 152 |
|
$this->setTestStatus(self::STATUS_PASSED); |
| 153 |
|
} |
| 154 |
|
|
| 155 |
|
} |
| 156 |
|
|
| 157 |
|
public function endTest(Test $test, $time) |
| 158 |
|
{ |
lib/Util/Log/LoggerPHPUnit5.php 1 location
|
@@ 135-145 (lines=11) @@
|
| 132 |
|
$this->testName = self::NAME_DEFAULT; |
| 133 |
|
} |
| 134 |
|
|
| 135 |
|
public function startTest(\PHPUnit_Framework_Test $test) |
| 136 |
|
{ |
| 137 |
|
if ($test instanceof TestCase) { |
| 138 |
|
if (!$this->testName) { |
| 139 |
|
$this->setTestName(get_class($test) . '::' . $test->getName()); |
| 140 |
|
} |
| 141 |
|
$this->invokedTest = get_class($test) . '::' . $test->getName(); |
| 142 |
|
$this->setTestStatus(self::STATUS_PASSED); |
| 143 |
|
} |
| 144 |
|
|
| 145 |
|
} |
| 146 |
|
|
| 147 |
|
public function endTest(\PHPUnit_Framework_Test $test, $time) |
| 148 |
|
{ |