Linux anchor 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
Apache/2.4.18 (Ubuntu)
Server IP : 10.10.100.4 & Your IP : 216.73.217.150
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
wiki.bernardino.org /
tests /
selenium /
Delete
Unzip
Name
Size
Permission
Date
Action
data
[ DIR ]
drwxr-xr-x
2012-03-22 16:23
installer
[ DIR ]
drwxr-xr-x
2012-03-22 16:23
suites
[ DIR ]
drwxr-xr-x
2012-03-22 16:23
Selenium.php
3.99
KB
-rw-r--r--
2010-12-03 15:11
SeleniumConfig.php
3.77
KB
-rw-r--r--
2010-12-27 19:55
SeleniumLoader.php
207
B
-rw-r--r--
2010-06-25 07:55
SeleniumServerManager.php
6.01
KB
-rw-r--r--
2011-05-18 00:03
SeleniumTestCase.php
4.26
KB
-rw-r--r--
2011-01-01 21:56
SeleniumTestConsoleLogger.php
641
B
-rw-r--r--
2010-06-25 07:55
SeleniumTestConstants.php
718
B
-rw-r--r--
2011-01-01 21:56
SeleniumTestHTMLLogger.php
1001
B
-rw-r--r--
2010-08-02 16:33
SeleniumTestListener.php
1.87
KB
-rw-r--r--
2010-09-22 02:16
SeleniumTestSuite.php
1.58
KB
-rw-r--r--
2011-01-27 15:51
selenium_settings.ini.sample
1.13
KB
-rw-r--r--
2010-12-14 17:33
selenium_settings_grid.ini.sample
400
B
-rw-r--r--
2010-12-27 19:56
Save
Rename
<?php abstract class SeleniumTestSuite extends PHPUnit_Framework_TestSuite { private $selenium; private $isSetUp = false; private $loginBeforeTests = true; private $triggerClientTestResources = true; // Do not add line break after test output const CONTINUE_LINE = 1; const RESULT_OK = 2; const RESULT_ERROR = 3; public abstract function addTests(); public function setUp() { // Hack because because PHPUnit version 3.0.6 which is on prototype does not // run setUp as part of TestSuite::run if ( $this->isSetUp ) { return; } $this->isSetUp = true; $this->selenium = Selenium::getInstance(); $this->selenium->start(); if ( $this->triggerClientTestResources ) { $this->selenium->open( $this->selenium->getUrl() . '/index.php?setupTestSuite=' . $this->getName() ); //wait a little longer for the db operation $this->selenium->waitForPageToLoad( 6000 ); } if ( $this->loginBeforeTests ) { $this->login(); } } public function tearDown() { if ( $this->triggerClientTestResources ) { $this->selenium->open( $this->selenium->getUrl() . '/index.php?clearTestSuite=' . $this->getName() ); } $this->selenium->stop(); } public function login() { $this->selenium->login(); } public function loadPage( $title, $action ) { $this->selenium->loadPage( $title, $action ); } protected function setLoginBeforeTests( $loginBeforeTests = true ) { $this->loginBeforeTests = $loginBeforeTests; } protected function setTriggerClientTestResources( $triggerClientTestResources = true ) { $this->triggerClientTestResources = $triggerClientTestResources; } }