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&lang=en&notheme=true");
$this->assertContains("Internationlization in PRADO", $this->source());
$this->assertContains("46.412,42 €", $this->source());
$this->assertContains("$12.40", $this->source());
$this->assertContains("€100.00", $this->source());
$this->assertContains("December 6, 2004", $this->source());
$this->url("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&lang=zh&notheme=true");
$this->assertContains("PRADO 国际化", $this->source());
$this->assertContains("2004 十二月", $this->source());
$this->assertContains("US$ 12.40", $this->source());
$this->assertContains("46.412,42 €", $this->source());
$this->assertContains("€100.00 ", $this->source());
$this->url("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&lang=zh_TW&notheme=true");
$this->assertContains("PRADO 國際化", $this->source());
$this->assertContains("2004年12月6日", $this->source());
$this->assertContains("US$12.40", $this->source());
$this->assertContains("46.412,42 €", $this->source());
$this->assertContains("€100.00", $this->source());
$this->url("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&lang=de&notheme=true");
$this->assertContains("Internationalisierung in PRADO", $this->source());
$this->assertContains("6. Dezember 2004 ", $this->source());
$this->assertContains("$ 12,40", $this->source());
$this->assertContains("46.412,42 €", $this->source());
$this->assertContains("€100.00", $this->source());
$this->url("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&lang=es&notheme=true");
$this->assertContains("Internationlization en PRADO", $this->source());
$this->assertContains("6 de diciembre de 2004", $this->source());
$this->assertContains("US$12.40", $this->source());
$this->assertContains("46.412,42 €", $this->source());
$this->assertContains("€100.00", $this->source());
$this->url("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&lang=fr&notheme=true");
$this->assertContains("Internationalisation avec PRADO", $this->source());
$this->assertContains("6 décembre 2004", $this->source());
$this->assertContains("12,40 $", $this->source());
$this->assertContains("46.412,42 €", $this->source());
$this->assertContains("€100.00", $this->source());
$this->url("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&lang=pl&notheme=true");
$this->assertContains("Internacjonalizacja w PRADO", $this->source());
$this->assertContains("6 grudnia 2004", $this->source());
$this->assertContains("US$ 12,40", $this->source());
$this->assertContains("46.412,42 €", $this->source());
$this->assertContains("€100.00", $this->source());
}
}
|