summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/protected/pages/I18N/BasicI18N.php
blob: 6920f439e3e462487804070101e9286399101dd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?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.", "");
	}
}

?>