Exemplo n.º 1
0
 function __construct()
 {
     parent::__construct();
     /*
     And a little hack to make sure PHP does not timeout
     */
     //   http://www.php.net/manual/en/info.configuration.php#ini.max-execution-time
     set_time_limit(max(5 * 60, ini_get('max_execution_time')));
     $this->setServerUrl();
 }
Exemplo n.º 2
0
 function __construct()
 {
     parent::__construct();
     global $configure;
     $this->url = $configure['urlwebsite'];
     $this->cdashpro = false;
     if (isset($configure['cdashpro']) && $configure['cdashpro'] == '1') {
         $this->cdashpro = true;
     }
     global $db;
     $this->db =& new database($db['type']);
     $this->db->setDb($db['name']);
     $this->db->setHost($db['host']);
     $this->db->setPort($db['port']);
     $this->db->setUser($db['login']);
     $this->db->setPassword($db['pwd']);
     global $cdashpath;
     $this->logfilename = $cdashpath . "/backup/cdash.log";
 }
Exemplo n.º 3
0
 public function __construct()
 {
     parent::__construct();
     global $configure;
     $this->url = $configure['urlwebsite'];
     $this->cdashpro = false;
     if (isset($configure['cdashpro']) && $configure['cdashpro'] == '1') {
         $this->cdashpro = true;
     }
     global $db;
     $this->db = new database($db['type']);
     $this->db->setDb($db['name']);
     $this->db->setHost($db['host']);
     $this->db->setPort($db['port']);
     $this->db->setUser($db['login']);
     $this->db->setPassword($db['pwd']);
     global $CDASH_LOG_FILE, $cdashpath;
     $this->logfilename = $CDASH_LOG_FILE;
     $this->configfilename = $cdashpath . '/config/config.local.php';
 }
Exemplo n.º 4
0
 public function __construct()
 {
     $this->_indexName = CATSUtility::getIndexName();
     $this->_indexURL = CATSUtility::getAbsoluteURI($this->_indexName);
     parent::__construct();
 }
 public function __construct()
 {
     parent::__construct('PHP_Merchant_Paypal_Express_Checkout Remote Unit Tests');
 }
Exemplo n.º 6
0
 public function __construct($name = NULL, array $data = array(), $dataName = '')
 {
     parent::__construct($name, $data, $dataName);
     $this->secretFile = str_replace(DIRECTORY_SEPARATOR, '/', realpath(__DIR__ . '/data/hidden.txt'));
     $this->secretContent = trim(file_get_contents($this->secretFile));
 }
Exemplo n.º 7
0
 function TestOfPagerPOST($name = 'Test of Pager with httpMethod="POST"')
 {
     parent::__construct($name);
 }
 public function __construct($name = null, array $data = array(), $dataName = '')
 {
     parent::__construct($name, $data, $dataName);
     $this->validationServiceAvailable = $this->isValidationServiceAvailable();
 }
 public function __construct()
 {
     parent::__construct();
     $this->validationServiceAvailable = $this->isValidationServiceAvailable();
 }
 function __construct($label = false)
 {
     parent::__construct($label);
     $this->DB = new PDO("mysql:host=" . TESTING_DB_SERVER . ";dbname=" . TESTING_DB_NAME . ";port=3306", TESTING_DB_USER, TESTING_DB_PASS);
     removeAllTestData($this->DB);
 }
 public function __construct()
 {
     parent::__construct();
     $this->testValidationServiceAvailability();
 }
 public function __construct($name = '')
 {
     parent::__construct($name);
     $this->_ci =& get_instance();
 }
Exemplo n.º 13
0
 public function __construct()
 {
     parent::__construct('PHP_Merchant_HTTP_CURL Remote Unit Tests');
 }
Exemplo n.º 14
0
 function __construct()
 {
     parent::__construct();
 }
Exemplo n.º 15
0
 function TestUploadInc()
 {
     parent::__construct('Upload.inc.php functional test');
     $this->dir = dirname(__FILE__) . '/files';
 }