SimpleScorer::__construct PHP Method

__construct() public method

Starts the test run with no results.
public __construct ( )
    public function __construct()
    {
        $this->passes = 0;
        $this->fails = 0;
        $this->exceptions = 0;
        $this->is_dry_run = false;
    }

Usage Example

Example #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;
 }
All Usage Examples Of SimpleScorer::__construct