Author: abelevich
Date: 2009-03-06 11:31:59 -0500 (Fri, 06 Mar 2009)
New Revision: 12869
Modified:
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java
Log:
fix Internatialization
Modified:
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java
===================================================================
---
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java 2009-03-06
16:30:42 UTC (rev 12868)
+++
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java 2009-03-06
16:31:59 UTC (rev 12869)
@@ -96,6 +96,7 @@
WEEK_DAYS_RU.add("\u0412\u0441");
}
+
static final DateFormatSymbols symbolsUS = new DateFormatSymbols(Locale.US);
static final DateFormatSymbols symbolsRU = new DateFormatSymbols(new
Locale("ru"));
@@ -721,19 +722,15 @@
public void testInternationalization(Template template) {
renderPage(template, RESET_METHOD);
initIds(getParentId());
+ setPopup(true);
+ String changeLocaleButtonId = getParentId() + CONTROLS_FORM_ID +
"testLocale";
+ clickCommandAndWait(changeLocaleButtonId);
- // Failed due to bug
https://jira.jboss.org/jira/browse/RF-5330
-
Assert.fail("https://jira.jboss.org/jira/browse/RF-5330");
+ showPopup();
+ showTimeSelectionWindow();
-// setPopup(true);
-// String changeLocaleButtonId = getParentId() + CONTROLS_FORM_ID +
"testLocale";
-// clickCommandAndWait(changeLocaleButtonId);
-//
-// showPopup();
-// showTimeSelectionWindow();
-//
-// testInternatialization("_ru");
-// testWeekDays();
+ testInternatialization("_ru");
+ testWeekDays();
}