diff options
| author | wei <> | 2006-02-02 07:08:16 +0000 | 
|---|---|---|
| committer | wei <> | 2006-02-02 07:08:16 +0000 | 
| commit | 71ea1bd064dc36004e610fff56a23d09578cd7eb (patch) | |
| tree | 5cedacd6f906d3f0eaefe1ec98c5151ab23eb8c3 /tests/FunctionalTests/selenium/php | |
| parent | b2fba25e4b146c4896304377643e498a22a3ced0 (diff) | |
Fixed #27
Diffstat (limited to 'tests/FunctionalTests/selenium/php')
| -rw-r--r-- | tests/FunctionalTests/selenium/php/selenium.php | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/tests/FunctionalTests/selenium/php/selenium.php b/tests/FunctionalTests/selenium/php/selenium.php index 36d86e1e..03b264db 100644 --- a/tests/FunctionalTests/selenium/php/selenium.php +++ b/tests/FunctionalTests/selenium/php/selenium.php @@ -462,6 +462,12 @@ class SeleniumTestCase extends UnitTestCase  		parent::__construct();  	} +	function getPage($class) +	{ +		$info = new ReflectionClass($class); +		return Prado::getApplication()->getTestPage($info->getFileName()); +	} +  	function __call($func, $args)  	{  		if(count($args) == 0) | 
