[richfaces-svn-commits] JBoss Rich Faces SVN: r11864 - trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Thu Dec 18 06:21:47 EST 2008


Author: andrei_exadel
Date: 2008-12-18 06:21:47 -0500 (Thu, 18 Dec 2008)
New Revision: 11864

Modified:
   trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java
Log:
 	 RF-5345

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	2008-12-18 09:11:31 UTC (rev 11863)
+++ trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/CalendarTest.java	2008-12-18 11:21:47 UTC (rev 11864)
@@ -417,6 +417,23 @@
     	}
     }
     
+    @Test // Test is the same as for internationalization
+    public void testLocaleAttribute(Template template) {
+    	renderPage(template, RESET_METHOD);
+    	initIds(getParentId());
+    	
+     	setPopup(true);
+    	String changeLocaleButtonId = getParentId() + CONTROLS_FORM_ID + "testLocale";
+    	clickCommandAndWait(changeLocaleButtonId);
+    	
+    	showPopup();
+    	showTimeSelectionWindow();
+    	
+    	testInternatialization("_ru");
+    	testWeekDays();
+    	
+    }
+    
     @Test
     public void testImmediate(Template template) {
     	renderPage(IMMEDIATE_TEST_URL, template, RESET_METHOD);




More information about the richfaces-svn-commits mailing list