Author: akushunin
Date: 2007-07-25 09:11:53 -0400 (Wed, 25 Jul 2007)
New Revision: 1841
Modified:
trunk/sandbox/ui/calendar/src/test/java/org/richfaces/component/CalendarComponentTest.java
Log:
Test Updated
Modified:
trunk/sandbox/ui/calendar/src/test/java/org/richfaces/component/CalendarComponentTest.java
===================================================================
---
trunk/sandbox/ui/calendar/src/test/java/org/richfaces/component/CalendarComponentTest.java 2007-07-25
13:02:23 UTC (rev 1840)
+++
trunk/sandbox/ui/calendar/src/test/java/org/richfaces/component/CalendarComponentTest.java 2007-07-25
13:11:53 UTC (rev 1841)
@@ -36,6 +36,7 @@
static {
javaScripts.add("org.ajax4jsf.javascript.PrototypeScript");
javaScripts.add("org.ajax4jsf.javascript.AjaxScript");
+ javaScripts.add("org/richfaces/renderkit/html/scripts/events.js");
javaScripts.add("org/richfaces/renderkit/html/scripts/utils.js");
javaScripts.add("org/richfaces/renderkit/html/scripts/json/json-dom.js");
javaScripts.add("org/richfaces/renderkit/html/scripts/calendar.js");
@@ -146,7 +147,7 @@
htmlCalendar.getAttributeValue("class");
HtmlElement htmlCalendarInput =
page.getHtmlElementById(calendar.getClientId(facesContext)+"Input");
- HtmlElement htmlCalendarButton =
page.getHtmlElementById(calendar.getClientId(facesContext)+"Button");
+ HtmlElement htmlCalendarButton =
page.getHtmlElementById(calendar.getClientId(facesContext)+"PopupButton");
assertNotNull(htmlCalendarInput);
assertNotNull(htmlCalendarButton);
assertTrue(htmlCalendarInput.getAttributeValue("class").contains("org.richfaces.component.html.HtmlCalendar"));
Show replies by date