- Модуль: main
- Путь к файлу: ~/bitrix/modules/main/classes/general/phpunit_test_listener_plain.php
- Класс: PHPUnit_Util_Log_BX_Plain
- Вызов: PHPUnit_Util_Log_BX_Plain::writeCase
protected function writeCase($status, $time, array $trace = array(), $message = '', $test = null)
{
$output = '';
if ($test !== null && $test->hasOutput())
{
$output = $test->getActualOutput();
}
$this->write(
array(
'event' => 'test',
'suite' => $this->currentTestSuiteName,
'test' => $this->currentTestName,
'status' => $status,
'time' => $time,
'trace' => $trace,
'message' => PHPUnit_Util_String::convertToUtf8($message),
'output' => $output,
)
);
}