__construct() public méthode

Starts the test run with no results.
public __construct ( )
Exemple #1
0
 /**
  *    Reporter to be run inside of Eclipse interface.
  *    @param object $listener   Eclipse listener (?).
  *    @param boolean $cc        Whether to include test coverage.
  */
 function __construct(&$listener, $cc = false)
 {
     $this->_listener =& $listener;
     parent::__construct();
     $this->_case = "";
     $this->_group = "";
     $this->_method = "";
     $this->_cc = $cc;
     $this->_error = false;
     $this->_fail = false;
 }
Exemple #2
0
 /**
  *    Reporter to be run inside of Eclipse interface.
  *    @param object $listener   Eclipse listener (?).
  *    @param boolean $cc        Whether to include test coverage.
  */
 function __construct($listener, $cc = false)
 {
     parent::__construct();
     $this->listener = $listener;
     $this->case = "";
     $this->group = "";
     $this->method = "";
     $this->cc = $cc;
     $this->message = "";
     $this->error = false;
     $this->fail = false;
     $this->pass = false;
 }
Exemple #3
0
 /**
  * Starts the display with no results in.
  */
 public function __construct()
 {
     parent::__construct();
     $this->test_stack = array();
     $this->size = null;
     $this->progress = 0;
 }
Exemple #4
0
 /**
  *    Starts the display with no results in.
  *    @access public
  */
 function __construct()
 {
     parent::__construct();
     $this->_test_stack = array();
     $this->_size = null;
     $this->_progress = 0;
 }