From 333eedb6eea18fdfb7bc0890cce1c30e6d44d363 Mon Sep 17 00:00:00 2001
From: wei <>
Date: Fri, 6 Jan 2006 22:21:07 +0000
Subject:
---
tests/FunctionalTests/README.txt | 6 +++---
tests/FunctionalTests/index.php | 5 +++--
tests/FunctionalTests/protected/application.xml | 18 ++++++------------
.../protected/pages/I18N/BasicI18N.page | 3 ++-
.../protected/pages/I18N/BasicI18N.php | 13 ++++++++++++-
tests/FunctionalTests/protected/runtime/config.cache | Bin 1543 -> 2357 bytes
tests/FunctionalTests/selenium/php/selenium.php | 5 -----
7 files changed, 26 insertions(+), 24 deletions(-)
(limited to 'tests/FunctionalTests')
diff --git a/tests/FunctionalTests/README.txt b/tests/FunctionalTests/README.txt
index 189f69ad..06519092 100644
--- a/tests/FunctionalTests/README.txt
+++ b/tests/FunctionalTests/README.txt
@@ -48,11 +48,11 @@ class testMyButtonExample extends SeleniumTestCase
{
function setup()
{
- //initializes $this->Page to be MyButtonExample instance
- $this->initPage(__FILE__);
+ //get the test page url
+ $page = Prado::getApplication()->getTestPage(__FILE__);
//open MyButtonExample page
- $this->open($this->Page->Request->TestUrl);
+ $this->open($page);
}
function testButtonClick()
diff --git a/tests/FunctionalTests/index.php b/tests/FunctionalTests/index.php
index 442c4bbf..da60b2f0 100644
--- a/tests/FunctionalTests/index.php
+++ b/tests/FunctionalTests/index.php
@@ -1,7 +1,7 @@
isDot() && $dir->isDir())
+ if(!$dir->isDot() && $dir->isDir()
+ && !preg_match("/\.svn/", $dir->getPathName()))
$this->get_directories($dir->getPathName(), $groups);
}
}
diff --git a/tests/FunctionalTests/protected/application.xml b/tests/FunctionalTests/protected/application.xml
index c4ea0be2..fe17e3c0 100644
--- a/tests/FunctionalTests/protected/application.xml
+++ b/tests/FunctionalTests/protected/application.xml
@@ -7,18 +7,12 @@