Author: konstantin.mishin
Date: 2008-11-03 06:52:49 -0500 (Mon, 03 Nov 2008)
New Revision: 11000
Modified:
trunk/test-applications/seleniumTest/richfaces/src/main/resources/org/ajax4jsf/message/resources_en_US.properties
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ListShuttleTest.java
Log:
RF-4720
Modified:
trunk/test-applications/seleniumTest/richfaces/src/main/resources/org/ajax4jsf/message/resources_en_US.properties
===================================================================
---
trunk/test-applications/seleniumTest/richfaces/src/main/resources/org/ajax4jsf/message/resources_en_US.properties 2008-11-02
19:21:38 UTC (rev 10999)
+++
trunk/test-applications/seleniumTest/richfaces/src/main/resources/org/ajax4jsf/message/resources_en_US.properties 2008-11-03
11:52:49 UTC (rev 11000)
@@ -1,2 +1,3 @@
test=It is sample message from resourceBundle
-error=Error was occured.
\ No newline at end of file
+error=Error was occured.
+RICH_LIST_SHUTTLE_COPY_ALL_LABEL=Copy All Items
\ No newline at end of file
Modified:
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ListShuttleTest.java
===================================================================
---
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ListShuttleTest.java 2008-11-02
19:21:38 UTC (rev 10999)
+++
trunk/test-applications/seleniumTest/richfaces/src/test/java/org/richfaces/testng/ListShuttleTest.java 2008-11-03
11:52:49 UTC (rev 11000)
@@ -118,6 +118,15 @@
}
/**
+ * check internationalization
+ */
+ @Test
+ public void testInternationalization(Template template) {
+ init(template);
+ Assert.assertEquals(selenium.getText(copyAllId), "Copy All Items");
+ }
+
+ /**
* validator defined by component attribute and nested tags work
*/
@Test
@@ -392,7 +401,7 @@
@Test
public void testShowButtonsLabel(Template template) {
init(template);
- Assert.assertEquals(getTextById(copyAllId), "Copy all", "The text
on the button must be visible.");
+ Assert.assertEquals(getTextById(copyAllId), "Copy All Items", "The
text on the button must be visible.");
Assert.assertEquals(getTextById(copyId), "Copy", "The text on the
button must be visible.");
Assert.assertEquals(getTextById(removeId), "Remove", "The text on
the button must be visible.");
Assert.assertEquals(getTextById(removeAllId), "Remove All", "The
text on the button must be visible.");