summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/quickstart/Advanced/I18N.php
blob: 51df950350130d14673ce9b5ddd8e641284d2eaa (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
46
47
48
49
50
51
52
<?php

//New Test
class QuickstartI18NTestCase extends PradoGenericSelenium2Test
{
	function test ()
	{
		$this->url("../../demos/quickstart/index.php?notheme=true&page=Advanced.Samples.I18N.Home&amp;lang=en&amp;notheme=true");
		$this->assertTextPresent("Internationlization in PRADO", "");
		$this->assertTextPresent("46.412,42 €", "");
		$this->assertTextPresent("$12.40", "");
		$this->assertTextPresent("€100.00", "");
		$this->assertTextPresent("December 6, 2004", "");
		$this->url("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&amp;lang=zh&amp;notheme=true");
		$this->assertTextPresent("PRADO 国际化", "");
		$this->assertTextPresent("2004 十二月", "");
		$this->assertTextPresent("US$ 12.40", "");
		$this->assertTextPresent("46.412,42 €", "");
		$this->assertTextPresent("€100.00 ", "");
		$this->url("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&amp;lang=zh_TW&amp;notheme=true");
		$this->assertTextPresent("PRADO 國際化", "");
		$this->assertTextPresent("2004年12月6日", "");
		$this->assertTextPresent("US$12.40", "");
		$this->assertTextPresent("46.412,42 €", "");
		$this->assertTextPresent("€100.00", "");
		$this->url("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&amp;lang=de&amp;notheme=true");
		$this->assertTextPresent("Internationalisierung in PRADO", "");
		$this->assertTextPresent("6. Dezember 2004 ", "");
		$this->assertTextPresent("$ 12,40", "");
		$this->assertTextPresent("46.412,42 €", "");
		$this->assertTextPresent("€100.00", "");
		$this->url("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&amp;lang=es&amp;notheme=true");
		$this->assertTextPresent("Internationlization en PRADO", "");
		$this->assertTextPresent("6 de diciembre de 2004", "");
		$this->assertTextPresent("US$12.40", "");
		$this->assertTextPresent("46.412,42 €", "");
		$this->assertTextPresent("€100.00", "");
		$this->url("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&amp;lang=fr&amp;notheme=true");
		$this->assertTextPresent("Internationalisation avec PRADO", "");
		$this->assertTextPresent("6 décembre 2004", "");
		$this->assertTextPresent("12,40 $", "");
		$this->assertTextPresent("46.412,42 €", "");
		$this->assertTextPresent("€100.00", "");
		$this->url("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&amp;lang=pl&amp;notheme=true");
		$this->assertTextPresent("Internacjonalizacja w PRADO", "");
		$this->assertTextPresent("6 grudnia 2004", "");
		$this->assertTextPresent("US$ 12,40", "");
		$this->assertTextPresent("46.412,42 €", "");
		$this->assertTextPresent("€100.00", "");

	}
}