Author: abelevich
Date: 2008-09-29 04:25:35 -0400 (Mon, 29 Sep 2008)
New Revision: 10590
Modified:
trunk/ui/inplaceSelect/src/test/java/org/richfaces/component/InplaceSelectComponentTest.java
Log:
fix test
Modified:
trunk/ui/inplaceSelect/src/test/java/org/richfaces/component/InplaceSelectComponentTest.java
===================================================================
---
trunk/ui/inplaceSelect/src/test/java/org/richfaces/component/InplaceSelectComponentTest.java 2008-09-29
08:25:19 UTC (rev 10589)
+++
trunk/ui/inplaceSelect/src/test/java/org/richfaces/component/InplaceSelectComponentTest.java 2008-09-29
08:25:35 UTC (rev 10590)
@@ -34,6 +34,7 @@
javaScripts.add("scripts/combolist.js");
javaScripts.add("scripts/inplaceinput.js");
javaScripts.add("scripts/inplaceselectlist.js");
+ javaScripts.add("scripts/inplaceselectstyles.js");
javaScripts.add("scripts/inplaceselect.js");
javaScripts.add("org/richfaces/renderkit/html/scripts/utils.js");
}
@@ -111,8 +112,7 @@
String scriptBodyString = item.getFirstChild().toString();
assertTrue(scriptBodyString.contains("Richfaces.InplaceSelectList"));
assertTrue(scriptBodyString.contains("Richfaces.InplaceSelect"));
- assertTrue(scriptBodyString.contains("Richfaces.InplaceSelect.CLASSES"));
-
+ assertTrue(scriptBodyString.contains("inplaceSelectUserStyles"));
}
if (StringUtils.isNotBlank(srcAttr)) {
boolean found = false;
Show replies by date