summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/config.php
diff options
context:
space:
mode:
authorxue <>2006-03-12 16:28:21 +0000
committerxue <>2006-03-12 16:28:21 +0000
commit6ae6538555d45b3e947f5ce0d948d9b88d95364a (patch)
tree55c9622a90debe81de45f8af5cf10e3293862965 /tests/FunctionalTests/config.php
parent5f66433898f89865a6682ad9aebfeef14b596dea (diff)
reorganized FT.
Diffstat (limited to 'tests/FunctionalTests/config.php')
-rw-r--r--tests/FunctionalTests/config.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/FunctionalTests/config.php b/tests/FunctionalTests/config.php
index 73491c6e..358fb8e2 100644
--- a/tests/FunctionalTests/config.php
+++ b/tests/FunctionalTests/config.php
@@ -10,7 +10,7 @@ require_once($SIMPLE_TEST.'/simpletest/web_tester.php');
require_once($SIMPLE_TEST.'/simpletest/mock_objects.php');
require_once($SIMPLE_TEST.'/simpletest/reporter.php');
require(dirname(__FILE__).'/selenium/php/selenium.php');
-require_once(PradoTestConfig::framework().'/prado.php');
+//require_once(PradoTestConfig::framework().'/prado.php');
/** test configurations , OVERRIDE to suite your enviornment !!! **/
class PradoTestConfig
@@ -65,7 +65,7 @@ class PradoTestConfig
//set up the PradoApplication Testing stub.
-class PradoApplicationTester extends TApplication
+class PradoApplicationTester
{
protected $appUrl;
protected $testConfig;
@@ -74,12 +74,10 @@ class PradoApplicationTester extends TApplication
{
$this->appUrl = $appUrl;
$this->testConfig = $config;
- parent::__construct();
}
public function run()
{
- $this->initApplication();
}
public function getTestPage($file)
@@ -129,7 +127,7 @@ class PradoSimpleTester
while (false !== ($entry = $dir->read()))
{
- $file = realpath($path.'/'.$entry);
+ $file = strtr(realpath($path.'/'.$entry),'\\','/');
$matchFile = $this->tester->getTestCase();
if(is_file($file) && $this->filePatternMatch($file))
{