summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/protected/pages/I18N/BasicI18N.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/protected/pages/I18N/BasicI18N.php')
-rw-r--r--tests/FunctionalTests/protected/pages/I18N/BasicI18N.php13
1 files changed, 12 insertions, 1 deletions
diff --git a/tests/FunctionalTests/protected/pages/I18N/BasicI18N.php b/tests/FunctionalTests/protected/pages/I18N/BasicI18N.php
index 50d493d8..6920f439 100644
--- a/tests/FunctionalTests/protected/pages/I18N/BasicI18N.php
+++ b/tests/FunctionalTests/protected/pages/I18N/BasicI18N.php
@@ -24,11 +24,22 @@ class BasicI18N extends TPage
*/
class BasicI18NTestCase extends SeleniumTestCase
{
- function testI18N()
+ function setup()
{
$page = Prado::getApplication()->getTestPage(__FILE__);
$this->open($page);
}
+
+ function testI18N()
+ {
+ $this->verifyTitle("Basic I18N Test", "");
+ $this->verifyTextPresent("Hello", "");
+ $this->verifyTextPresent("US$10,000.00", "");
+ $this->verifyTextPresent("2006年1月15日 上午12时00分00秒", "");
+ $this->verifyTextPresent("None", "");
+ $this->verifyTextPresent("One thing.", "");
+ $this->verifyTextPresent("Many things.", "");
+ }
}
?> \ No newline at end of file