diff options
author | wei <> | 2006-01-23 04:31:33 +0000 |
---|---|---|
committer | wei <> | 2006-01-23 04:31:33 +0000 |
commit | b16a0e33ca650b0bd766f8fc72a55ef4eb9ea0a6 (patch) | |
tree | 221fafcfd23eddeecb9e78ca50166dedb8eb0b85 | |
parent | 0f99714804a157244040e2d45e186de6c2982eaa (diff) |
change piped commands to array
-rw-r--r-- | tests/FunctionalTests/selenium/php/selenium.php | 6 |
1 files changed, 4 insertions, 2 deletions
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] = "<a href=\"{$t[2]}\" target=\"_blank\">{$t[2]}</a>"; echo "<tr>\n"; |