diff options
author | ctrlaltca <> | 2012-07-12 11:21:01 +0000 |
---|---|---|
committer | ctrlaltca <> | 2012-07-12 11:21:01 +0000 |
commit | 903ae8a581fac1e6917fc3e31d2ad8fb91df80c3 (patch) | |
tree | e08bf04f0823650a231227ac3499121270172a23 /tests/FunctionalTests/quickstart/Advanced | |
parent | 3e4e6e66aeb3f8fea4e1eb4237498ef9d2358f63 (diff) |
standardize the use of unix eol; use svn properties to enforce native eol
Diffstat (limited to 'tests/FunctionalTests/quickstart/Advanced')
-rw-r--r-- | tests/FunctionalTests/quickstart/Advanced/I18N.php | 106 |
1 files changed, 53 insertions, 53 deletions
diff --git a/tests/FunctionalTests/quickstart/Advanced/I18N.php b/tests/FunctionalTests/quickstart/Advanced/I18N.php index 010b7da5..fb8aa710 100644 --- a/tests/FunctionalTests/quickstart/Advanced/I18N.php +++ b/tests/FunctionalTests/quickstart/Advanced/I18N.php @@ -1,54 +1,54 @@ -<?php
-
-//New Test
-class I18NTestCase extends SeleniumTestCase
-{
- function test ()
- {
- $this->open("../../demos/quickstart/index.php?notheme=true&page=Advanced.Samples.I18N.Home&lang=en&notheme=true", "");
- $this->verifyTextPresent("Internationlization in PRADO", "");
- $this->verifyTextPresent("46.412,42 €", "");
- $this->verifyTextPresent("$12.40", "");
- $this->verifyTextPresent("€100.00", "");
- $this->verifyTextPresent("December 6, 2004", "");
- $this->open("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&lang=zh&notheme=true", "");
- $this->verifyTextPresent("PRADO 国际化", "");
- $this->verifyTextPresent("2004 十二月", "");
- $this->verifyTextPresent("US$ 12.40", "");
- $this->verifyTextPresent("46.412,42 €", "");
- $this->verifyTextPresent("€100.00 ", "");
- $this->open("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&lang=zh_TW&notheme=true", "");
- $this->verifyTextPresent("PRADO 國際化", "");
- $this->verifyTextPresent("2004年12月6日", "");
- $this->verifyTextPresent("US$12.40", "");
- $this->verifyTextPresent("46.412,42 €", "");
- $this->verifyTextPresent("€100.00", "");
- $this->open("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&lang=de&notheme=true", "");
- $this->verifyTextPresent("Internationalisierung in PRADO", "");
- $this->verifyTextPresent("6. Dezember 2004 ", "");
- $this->verifyTextPresent("$ 12,40", "");
- $this->verifyTextPresent("46.412,42 €", "");
- $this->verifyTextPresent("€100.00", "");
- $this->open("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&lang=es&notheme=true", "");
- $this->verifyTextPresent("Internationlization en PRADO", "");
- $this->verifyTextPresent("6 de diciembre de 2004", "");
- $this->verifyTextPresent("US$12.40", "");
- $this->verifyTextPresent("46.412,42 €", "");
- $this->verifyTextPresent("€100.00", "");
- $this->open("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&lang=fr&notheme=true", "");
- $this->verifyTextPresent("Internationalisation avec PRADO", "");
- $this->verifyTextPresent("6 décembre 2004", "");
- $this->verifyTextPresent("12,40 $", "");
- $this->verifyTextPresent("46.412,42 €", "");
- $this->verifyTextPresent("€100.00", "");
- $this->open("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&lang=pl&notheme=true", "");
- $this->verifyTextPresent("Internacjonalizacja w PRADO", "");
- $this->verifyTextPresent("6 grudnia 2004", "");
- $this->verifyTextPresent("US$ 12,40", "");
- $this->verifyTextPresent("46.412,42 €", "");
- $this->verifyTextPresent("€100.00", "");
-
- }
-}
-
+<?php + +//New Test +class I18NTestCase extends SeleniumTestCase +{ + function test () + { + $this->open("../../demos/quickstart/index.php?notheme=true&page=Advanced.Samples.I18N.Home&lang=en&notheme=true", ""); + $this->verifyTextPresent("Internationlization in PRADO", ""); + $this->verifyTextPresent("46.412,42 €", ""); + $this->verifyTextPresent("$12.40", ""); + $this->verifyTextPresent("€100.00", ""); + $this->verifyTextPresent("December 6, 2004", ""); + $this->open("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&lang=zh&notheme=true", ""); + $this->verifyTextPresent("PRADO 国际化", ""); + $this->verifyTextPresent("2004 十二月", ""); + $this->verifyTextPresent("US$ 12.40", ""); + $this->verifyTextPresent("46.412,42 €", ""); + $this->verifyTextPresent("€100.00 ", ""); + $this->open("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&lang=zh_TW&notheme=true", ""); + $this->verifyTextPresent("PRADO 國際化", ""); + $this->verifyTextPresent("2004年12月6日", ""); + $this->verifyTextPresent("US$12.40", ""); + $this->verifyTextPresent("46.412,42 €", ""); + $this->verifyTextPresent("€100.00", ""); + $this->open("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&lang=de&notheme=true", ""); + $this->verifyTextPresent("Internationalisierung in PRADO", ""); + $this->verifyTextPresent("6. Dezember 2004 ", ""); + $this->verifyTextPresent("$ 12,40", ""); + $this->verifyTextPresent("46.412,42 €", ""); + $this->verifyTextPresent("€100.00", ""); + $this->open("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&lang=es&notheme=true", ""); + $this->verifyTextPresent("Internationlization en PRADO", ""); + $this->verifyTextPresent("6 de diciembre de 2004", ""); + $this->verifyTextPresent("US$12.40", ""); + $this->verifyTextPresent("46.412,42 €", ""); + $this->verifyTextPresent("€100.00", ""); + $this->open("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&lang=fr&notheme=true", ""); + $this->verifyTextPresent("Internationalisation avec PRADO", ""); + $this->verifyTextPresent("6 décembre 2004", ""); + $this->verifyTextPresent("12,40 $", ""); + $this->verifyTextPresent("46.412,42 €", ""); + $this->verifyTextPresent("€100.00", ""); + $this->open("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home&lang=pl&notheme=true", ""); + $this->verifyTextPresent("Internacjonalizacja w PRADO", ""); + $this->verifyTextPresent("6 grudnia 2004", ""); + $this->verifyTextPresent("US$ 12,40", ""); + $this->verifyTextPresent("46.412,42 €", ""); + $this->verifyTextPresent("€100.00", ""); + + } +} + ?>
\ No newline at end of file |