http://www.mediawiki.org/wiki/Special:Code/MediaWiki/72341
Revision: 72341
Author: mah
Date: 2010-09-04 01:02:56 +0000 (Sat, 04 Sep 2010)
Log Message:
-----------
Add changes that I missed in r72340
Modified Paths:
--------------
trunk/phase3/maintenance/tests/selenium/Selenium.php
Modified: trunk/phase3/maintenance/tests/selenium/Selenium.php
===================================================================
--- trunk/phase3/maintenance/tests/selenium/Selenium.php 2010-09-04
00:58:57 UTC (rev 72340)
+++ trunk/phase3/maintenance/tests/selenium/Selenium.php 2010-09-04
01:02:56 UTC (rev 72341)
@@ -149,6 +149,47 @@
return $t;
}
+ public function setUrl( $url ) {
+ self::$url = $url;
+ }
+
+ static public function getUrl() {
+ return self::$url;
+ }
+
+ public function setPort( $port ) {
+ $this->port = $port;
+ }
+
+ public function setUser( $user ) {
+ $this->user = $user;
+ }
+
+ public function setPass( $pass ) {
+ $this->pass = $pass;
+ }
+
+ public function setHost( $host ) {
+ $this->host = $host;
+ }
+
+ public function setVerbose( $verbose ) {
+ $this->verbose = $verbose;
+ }
+
+ public function setBrowser( $b ) {
+ $browsers = $this->setupBrowsers();
+ if ( !isset( $browsers[$b] ) ) {
+ throw new MWException( "Invalid Browser: $b.\n" );
+ }
+ $this->browser = $browsers[$b];
+ }
+
+ public function __call( $name, $args ) {
+ $t = call_user_func_array( array( $this->tester, $name), $args
);
+ return $t;
+ }
+
// Prevent external cloning
protected function __clone() { }
// Prevent external construction
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs