From b16a0e33ca650b0bd766f8fc72a55ef4eb9ea0a6 Mon Sep 17 00:00:00 2001 From: wei <> Date: Mon, 23 Jan 2006 04:31:33 +0000 Subject: change piped commands to array --- tests/FunctionalTests/selenium/php/selenium.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tests/FunctionalTests/selenium') diff --git a/tests/FunctionalTests/selenium/php/selenium.php b/tests/FunctionalTests/selenium/php/selenium.php index 5c24e57d..80100ac9 100644 --- a/tests/FunctionalTests/selenium/php/selenium.php +++ b/tests/FunctionalTests/selenium/php/selenium.php @@ -116,7 +116,8 @@ class SeleneseInterpreter if($ID instanceof TControl) $ID = $ID->ClientID; $value = isset($args[1]) ? $args[1] : ""; - $command = "|{$func}|{$ID}|{$value}|"; + //$command = "|{$func}|{$ID}|{$value}|"; + $command = array($func, $ID, $value); $trace = debug_backtrace(); return $this->addCommand($command, $trace); } @@ -340,7 +341,8 @@ EOD; echo $this->renderHeader(); foreach($this->tests as $test) { - $t = explode('|', $test['test']); + $t = $test; + //$t = explode('|', $test['test']); if($t[1] == "open") $t[2] = "{$t[2]}"; echo "\n"; -- cgit v1.2.3