From ab5bd4f0f9e5b76a219a8b3d353ce32d9255edb9 Mon Sep 17 00:00:00 2001
From: wei <>
Date: Fri, 6 Jan 2006 04:40:33 +0000
Subject: Adding BasicI18N tests
---
tests/FunctionalTests/protected/pages/Home.page | 34 ++++++++++++
.../protected/pages/Home.zh_CN.page | 34 ++++++++++++
.../protected/pages/I18N/BasicI18N.page | 60 ++++++++++++++++++++++
.../protected/pages/I18N/BasicI18N.php | 34 ++++++++++++
4 files changed, 162 insertions(+)
create mode 100644 tests/FunctionalTests/protected/pages/Home.page
create mode 100644 tests/FunctionalTests/protected/pages/Home.zh_CN.page
create mode 100644 tests/FunctionalTests/protected/pages/I18N/BasicI18N.page
create mode 100644 tests/FunctionalTests/protected/pages/I18N/BasicI18N.php
(limited to 'tests/FunctionalTests/protected/pages')
diff --git a/tests/FunctionalTests/protected/pages/Home.page b/tests/FunctionalTests/protected/pages/Home.page
new file mode 100644
index 00000000..606a17ac
--- /dev/null
+++ b/tests/FunctionalTests/protected/pages/Home.page
@@ -0,0 +1,34 @@
+
+
+
+
+
+ Prado Functional Tests
+
+
+
+
+
+Prado Functional Tests
+
+
+
+
\ No newline at end of file
diff --git a/tests/FunctionalTests/protected/pages/Home.zh_CN.page b/tests/FunctionalTests/protected/pages/Home.zh_CN.page
new file mode 100644
index 00000000..df7a9cc0
--- /dev/null
+++ b/tests/FunctionalTests/protected/pages/Home.zh_CN.page
@@ -0,0 +1,34 @@
+
+
+
+
+
+ Prado Functional Tests (zh_CN)
+
+
+
+
+
+Prado Functional Tests (zh_CN)
+
+
+
+
\ No newline at end of file
diff --git a/tests/FunctionalTests/protected/pages/I18N/BasicI18N.page b/tests/FunctionalTests/protected/pages/I18N/BasicI18N.page
new file mode 100644
index 00000000..9d1b8588
--- /dev/null
+++ b/tests/FunctionalTests/protected/pages/I18N/BasicI18N.page
@@ -0,0 +1,60 @@
+
+
+
+
+
+ Basic I18N Test
+
+
+
+
+Basic I18N Test
+
+ Hello {name}
+
+
+ Name
+
+
+
+
+
+
+
+
+
+
+
+ [0] None |[1] One thing. |[2,Inf) Many things.
+
+
+
+ [0] None |[1] One thing. |[2,Inf) Many things.
+
+
+
+ [0] None |[1] One thing. |[2,Inf) Many things.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/FunctionalTests/protected/pages/I18N/BasicI18N.php b/tests/FunctionalTests/protected/pages/I18N/BasicI18N.php
new file mode 100644
index 00000000..50d493d8
--- /dev/null
+++ b/tests/FunctionalTests/protected/pages/I18N/BasicI18N.php
@@ -0,0 +1,34 @@
+
+ * @version $Revision: 1.66 $ $Date: ${DATE} ${TIME} $
+ * @package ${package}
+ */
+class BasicI18N extends TPage
+{
+}
+
+/**
+ * ${classname}
+ *
+ * ${description}
+ *
+ * @author Wei Zhuo
+ * @version $Revision: 1.66 $ $Date: ${DATE} ${TIME} $
+ * @package ${package}
+ */
+class BasicI18NTestCase extends SeleniumTestCase
+{
+ function testI18N()
+ {
+ $page = Prado::getApplication()->getTestPage(__FILE__);
+ $this->open($page);
+ }
+}
+
+?>
\ No newline at end of file
--
cgit v1.2.3