MINI
C:
/
php5.2.9
/
PEAR
/
symfony
/
lib
/
test
/
Upload File:
files >> C:/php5.2.9/PEAR/symfony/lib/test/sfTestBrowser.class.php
<?php require_once(dirname(__FILE__).'/../vendor/lime/lime.php'); /* * This file is part of the symfony package. * (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** * sfTestBrowser simulates a browser which can test a symfony application. * * sfTestFunctional is backward compatible class for symfony 1.0, and 1.1. * For new code, you can use the sfTestFunctional class directly. * * @package symfony * @subpackage test * @author Fabien Potencier <fabien.potencier@symfony-project.com> * @version SVN: $Id: sfTestBrowser.class.php 15797 2009-02-26 09:28:12Z fabien $ */ class sfTestBrowser extends sfTestFunctional { /** * Initializes the browser tester instance. * * @param string $hostname Hostname to browse * @param string $remote Remote address to spook * @param array $options Options for sfBrowser */ public function __construct($hostname = null, $remote = null, $options = array()) { if (is_object($hostname)) { // new signature parent::__construct($hostname, $remote); } else { $browser = new sfBrowser($hostname, $remote, $options); if (is_null(self::$test)) { $lime = new lime_test(null, isset($options['output']) ? $options['output'] : new lime_output_color()); } else { $lime = null; } parent::__construct($browser, $lime); } } }
Copyright ©2021 || Defacer Indonesia