summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/protected/pages/I18N
diff options
context:
space:
mode:
authorxue <>2006-03-12 04:43:03 +0000
committerxue <>2006-03-12 04:43:03 +0000
commitcb7b7f1929dce12936eca957caa432e74c6dc7de (patch)
tree5de1b58f968241299e65e8ac852f88d755f8f25d /tests/FunctionalTests/protected/pages/I18N
parentdcaeab55c94f6f51ab92b7d1a70503a544df73cd (diff)
reorganized FT tests.
Diffstat (limited to 'tests/FunctionalTests/protected/pages/I18N')
-rw-r--r--tests/FunctionalTests/protected/pages/I18N/BasicI18N.page31
-rw-r--r--tests/FunctionalTests/protected/pages/I18N/BasicI18N.php45
2 files changed, 0 insertions, 76 deletions
diff --git a/tests/FunctionalTests/protected/pages/I18N/BasicI18N.page b/tests/FunctionalTests/protected/pages/I18N/BasicI18N.page
deleted file mode 100644
index e13eecf2..00000000
--- a/tests/FunctionalTests/protected/pages/I18N/BasicI18N.page
+++ /dev/null
@@ -1,31 +0,0 @@
-<%@ Title="Basic I18N Test" Application.Globalization.Culture="zh_CN" %>
-<com:TContent ID="Content">
-<h1>Basic I18N Test</h1>
-<com:TTranslate>
- Hello {name}
- <com:TTranslateParameter Key="name">
- <com:TLabel>
- <com:TTranslate>Name</com:TTranslate>
- </com:TLabel>
- </com:TTranslateParameter>
-</com:TTranslate>
-
-<div>
-<com:TNumberFormat Value="10000" Type="currency"/>
-</div>
-<div><com:TDateFormat Value="2006-01-15" Culture="zh_CN"/></div>
-
-<div>
-<com:TChoiceFormat Value="0">
- [0] None |[1] One thing. |[2,Inf) Many things.
-</com:TChoiceFormat><br />
-
-<com:TChoiceFormat Value="1">
- [0] None |[1] One thing. |[2,Inf) Many things.
-</com:TChoiceFormat><br />
-
-<com:TChoiceFormat Value="5">
- [0] None |[1] One thing. |[2,Inf) Many things.
-</com:TChoiceFormat>
-</div>
-</com:TContent> \ No newline at end of file
diff --git a/tests/FunctionalTests/protected/pages/I18N/BasicI18N.php b/tests/FunctionalTests/protected/pages/I18N/BasicI18N.php
deleted file mode 100644
index 6920f439..00000000
--- a/tests/FunctionalTests/protected/pages/I18N/BasicI18N.php
+++ /dev/null
@@ -1,45 +0,0 @@
-<?php
-
-/**
- * ${classname}
- *
- * ${description}
- *
- * @author Wei Zhuo<weizhuo[at]gmail[dot]com>
- * @version $Revision: 1.66 $ $Date: ${DATE} ${TIME} $
- * @package ${package}
- */
-class BasicI18N extends TPage
-{
-}
-
-/**
- * ${classname}
- *
- * ${description}
- *
- * @author Wei Zhuo<weizhuo[at]gmail[dot]com>
- * @version $Revision: 1.66 $ $Date: ${DATE} ${TIME} $
- * @package ${package}
- */
-class BasicI18NTestCase extends SeleniumTestCase
-{
- 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