__construct() public method

Starts the display with no results in.
public __construct ( )
Example #1
0
 function __construct()
 {
     parent::__construct();
     $this->doc = new DOMDocument();
     $this->doc->loadXML('<testsuite/>');
     $this->root = $this->doc->documentElement;
 }
 /**
  *  Ethna_UnitTestReporterのコンストラクタ
  *
  *  @access public
  *  @param  string  $character_set  キャラクタセット
  */
 public function __construct($character_set = 'UTF-8')
 {
     parent::__construct();
     $this->_character_set = $character_set;
     $this->report = array();
     $this->result = array();
 }
Example #3
0
 public function __construct($test_case_pattern = '/^TestOf(.*)$/')
 {
     parent::__construct();
     $this->_test_case_pattern = empty($test_case_pattern) ? '/^(.*)$/' : $test_case_pattern;
 }
Example #4
0
 /**
  * Does nothing yet. The first output will be sent on the first test start.
  */
 public function __construct()
 {
     parent::__construct();
 }
Example #5
0
 function TestDoxReporter($test_case_pattern = '/^TestOf(.*)$/')
 {
     parent::__construct();
     $this->_test_case_pattern = empty($test_case_pattern) ? '/^(.*)$/' : $test_case_pattern;
 }
Example #6
0
 /**
  *    Sets up indentation and namespace.
  *    @param string $namespace        Namespace to add to each tag.
  *    @param string $indent           Indenting to add on each nesting.
  *    @access public
  */
 function __construct($namespace = false, $indent = '  ')
 {
     parent::__construct();
     $this->namespace = $namespace ? $namespace . ':' : '';
     $this->indent = $indent;
 }
Example #7
0
 function __construct()
 {
     parent::__construct();
     $this->results = array();
 }
 public function __construct($microTimeStart)
 {
     parent::__construct();
     $this->_microTimeStart = $microTimeStart;
 }
 /**
  *    Does nothing yet. The first output will
  *    be sent on the first test start. For use
  *    by a web browser.
  *    @access public
  */
 function __construct($path = '../ui/')
 {
     parent::__construct();
     $this->path = $path;
 }
Example #10
0
 public function __construct($character_set = 'utf-8')
 {
     parent::__construct();
     $this->_character_set = $character_set;
 }
Example #11
0
 public function __construct()
 {
     parent::__construct();
     $this->doc = new DOMDocument();
     $this->doc->loadXML('<testsuite/>');
     $this->root = $this->doc->documentElement;
     $base_path = defined('MAKELOS_BASE_DIR') ? MAKELOS_BASE_DIR : AK_BASE_DIR;
     $file_path = AkConfig::getOption('report_path', $base_path . DS . 'reports' . DS . 'units.xml');
     AkFileSystem::file_put_contents($file_path, "<?xml version=\"1.0\"?>\n", array('base_path' => $base_path));
     $this->_fp = @fopen($file_path, 'a');
 }
Example #12
0
 /**
  * Creates a new KortCliReporter instance.
  */
 public function __construct()
 {
     parent::__construct();
     date_default_timezone_set('UTC');
 }
 function __construct()
 {
     parent::__construct();
     $this->stack = new TreemapStack();
     $this->graph = null;
 }