public function __construct()
	{
		parent::__construct();
		$this->screenshotUrl = $GLOBALS['XE_ROOT_URL'] . '/modules/shop/tests/logs/screenshots';
		$this->screenshotPath = dirname(__FILE__) . '/../logs/screenshots';
		$this->xe_root_url = $GLOBALS['XE_ROOT_URL'];
		$this->vid = $GLOBALS['XE_SHOP_VID'];
	}
예제 #2
0
 /**
  * The constructor.
  *
  * @param string $name
  * @param array  $data
  * @param string $dataName
  * @param Tx_Phpunit_Interface_ExtensionSettingsService $extensionSettingsService
  *        the extension settings service to use
  */
 public function __construct($name = NULL, array $data = array(), $dataName = '', Tx_Phpunit_Interface_ExtensionSettingsService $extensionSettingsService = NULL)
 {
     if ($extensionSettingsService === NULL) {
         $extensionSettingsService = t3lib_div::makeInstance('Tx_Phpunit_Service_ExtensionSettingsService');
     }
     $this->extensionSettingsService = $extensionSettingsService;
     $browser = array('browser' => $this->getSeleniumBrowser(), 'host' => $this->getSeleniumHost(), 'port' => $this->getSeleniumPort());
     parent::__construct($name, $data, $dataName, $browser);
     $this->setBrowserUrl($this->getSeleniumBrowserUrl());
 }
예제 #3
0
 public function __construct($name = NULL, array $data = array(), $dataName = '')
 {
     parent::__construct($name, $data, $dataName);
     // Make sure we are using the Appium session
     self::setUpSessionStrategy(array("sessionStrategy" => "isolated"));
     // Appium doesn't use the browser per se, but the system fails
     // if it is not set
     self::setBrowser("");
     self::setBrowserUrl("");
 }
예제 #4
0
 /**
  * The constructor.
  *
  * @param string $name
  * @param array  $data
  * @param string $dataName
  * @param Tx_Phpunit_Interface_ExtensionSettingsService $extensionSettingsService
  */
 public function __construct($name = NULL, array $data = array(), $dataName = '', Tx_Phpunit_Interface_ExtensionSettingsService $extensionSettingsService = NULL)
 {
     parent::__construct($name, $data, $dataName);
     if ($extensionSettingsService !== NULL) {
         $this->extensionSettingsService = $extensionSettingsService;
     } else {
         $this->extensionSettingsService = GeneralUtility::makeInstance('Tx_Phpunit_Service_ExtensionSettingsService');
     }
     $this->setBrowserUrl($this->getSeleniumBrowserUrl());
     $this->setPort($this->getSeleniumPort());
     $this->setBrowser($this->getSeleniumBrowser());
 }
예제 #5
0
파일: Abstract.php 프로젝트: nhp/Xtest
 public function __construct($name = null, array $data = array(), $dataName = '')
 {
     parent::__construct($name, $data, $dataName);
 }
예제 #6
0
 /**
  * Constructor
  *
  * @param   string $name
  * @param   array  $data
  * @param   string $dataName
  * @param   array  $browser
  *
  * @throws  \InvalidArgumentException
  */
 public function __construct($name = null, array $data = array(), $dataName = '', array $browser = array())
 {
     parent::__construct($name, $data, $dataName, $browser);
 }
 /**
  * Constructor
  *
  * @param	string	$name 
  * @param	array	$data 
  * @param	string	$dataName 
  */
 public function __construct($name = NULL, array $data = array(), $dataName = '')
 {
     parent::__construct($name, $data, $dataName);
     $this->CI =& get_instance();
     log_message('debug', get_class($this) . ' CIUnit_TestCase initialized');
 }