public function start() {
$this->tester = new Testing_Selenium( $this->browser, self::$url, $this->host,
$this->port, $this->timeout );
- if ( method_exists( $this->tester, "setVerbose" ) ) $this->tester->setVerbose( $this->verbose );
+ if ( method_exists( $this->tester, "setVerbose" ) ) {
+ $this->tester->setVerbose( $this->verbose );
+ }
$this->tester->start();
$this->isStarted = true;
$this->logger = $logger;
}
- public function getLogger( ) {
+ public function getLogger() {
return $this->logger;
}
$this->user = $user;
}
- // Function to get username
- public function getUser() {
+ // Function to get username
+ public function getUser() {
return $this->user;
}
-
+
public function setPass( $pass ) {
$this->pass = $pass;
}
- //add function to get password
- public function getPass( ) {
+ //add function to get password
+ public function getPass() {
return $this->pass;
}
-
-
+
public function setHost( $host ) {
$this->host = $host;
}
$this->junitlogfile = $junitlogfile;
}
- public function getJUnitLogfile( ) {
+ public function getJUnitLogfile() {
return $this->junitlogfile;
}
}
public function setBrowser( $b ) {
- if ($this->runagainstgrid) {
+ if ( $this->runagainstgrid ) {
$this->browser = $b;
return true;
}
}
// Prevent external cloning
- protected function __clone() { }
+ protected function __clone() {}
// Prevent external construction
// protected function __construct() {}
}