Exemple #1
0
 /**
  * @param  PHPUnit_Util_Template $template
  * @param  string                 $title
  * @access public
  */
 protected function setTemplateVars(PHPUnit_Util_Template $template, $title)
 {
     $template->setVar(array('title', 'link', 'date', 'phpunit_version', 'xdebug_version'), array($title, $this->getLink(TRUE), $template->getDate(), PHPUnit_Runner_Version::id(), phpversion('xdebug')));
 }
 /**
  * @param  PHPUnit_Util_Template $template
  * @param  string                $title
  * @param  string                $charset
  */
 protected function setTemplateVars(PHPUnit_Util_Template $template, $title, $charset)
 {
     $template->setVar(array('title' => $title, 'charset' => $charset, 'link' => $this->getLink(TRUE), 'num_executable_lines' => $this->getNumExecutableLines(), 'num_executed_lines' => $this->getNumExecutedLines(), 'lines_executed_percent' => $this->getLineExecutedPercent(), 'date' => $template->getDate(), 'phpunit_version' => PHPUnit_Runner_Version::id(), 'xdebug_version' => phpversion('xdebug'), 'php_version' => PHP_VERSION));
 }
Exemple #3
0
 /**
  * @param  PHPUnit_Util_Template $template
  * @param  string                 $title
  * @access public
  */
 protected function setTemplateVars(PHPUnit_Util_Template $template, $title)
 {
     $template->setVar(array('title', 'link', 'executable_lines', 'executed_lines', 'executed_percent', 'date', 'phpunit_version', 'xdebug_version'), array($title, $this->getLink(FALSE, TRUE), $this->getNumExecutableLines(), $this->getNumExecutedLines(), $this->getExecutedPercent(), $template->getDate(), PHPUnit_Runner_Version::id(), phpversion('xdebug')));
 }