/** * Initializes the browser tester instance. * * @param string $hostname Hostname * @param string $remote Remote IP address * @param array $options Options */ public function initialize($hostname = null, $remote = null, $options = array()) { parent::initialize($hostname, $remote, $options); $output = isset($options['output']) ? $options['output'] : new lime_output_color(); if (is_null(self::$test)) { self::$test = new lime_test(null, $output); } }
/** * Constructor */ public function __construct($hostname = null, $remote = null, $options = array()) { $this->cleanUp(); parent::initialize($hostname, $remote, $options); }