Sets up the test with no display.
public __construct ( string $label = false ) | ||
$label | string | If no test name is given then the class name is used. |
/** * Creates an empty test case. Should be subclassed * with test methods for a functional test case. * @param string $label Name of test case. Will use * the class name if none specified. * @access public */ function __construct($label = false) { parent::__construct($label); $this->current_shell = $this->createShell(); $this->last_status = false; $this->last_command = ''; }
/** * Creates an empty test case. Should be subclassed * with test methods for a functional test case. * @param string $label Name of test case. Will use * the class name if none specified. * @access public */ function __construct($label = false) { if (!$label) { $label = get_class($this); } parent::__construct($label); }
/** * Creates an empty test case. Should be subclassed * with test methods for a functional test case. * @param string $label Name of test case. Will use * the class name if none specified. * @access public */ function __construct($label = false) { parent::__construct($label); }
public function __construct($path) { $this->_path = $path; parent::__construct($path); }
/** * Constructor. Sets the test name. * * @param $label Test name to display. */ public function __construct($label = false) { parent::__construct($label); $this->_loosely_typed = false; }
/** * Constructor. Sets the test name. * @param $label Test name to display. * @public */ function PHPUnit_TestCase($label = false) { parent::__construct($label); $this->_loosely_typed = false; }
public function __construct() { parent::__construct(); $this->_curl = curl_init(); curl_setopt($this->_curl, CURLOPT_FOLLOWLOCATION, true); curl_setopt($this->_curl, CURLOPT_MAXREDIRS, 5); curl_setopt($this->_curl, CURLOPT_RETURNTRANSFER, true); $this->_jar = tempnam(sys_get_temp_dir(), 'COOKIEJAR'); curl_setopt($this->_curl, CURLOPT_COOKIEJAR, $this->_jar); }