Author: nbelaevski
Date: 2008-05-21 08:46:21 -0400 (Wed, 21 May 2008)
New Revision: 8671
Modified:
trunk/ui/contextMenu/src/test/java/org/richfaces/component/ContextMenuComponentTest.java
Log:
http://jira.jboss.com/jira/browse/RF-3483
Modified:
trunk/ui/contextMenu/src/test/java/org/richfaces/component/ContextMenuComponentTest.java
===================================================================
---
trunk/ui/contextMenu/src/test/java/org/richfaces/component/ContextMenuComponentTest.java 2008-05-21
11:11:55 UTC (rev 8670)
+++
trunk/ui/contextMenu/src/test/java/org/richfaces/component/ContextMenuComponentTest.java 2008-05-21
12:46:21 UTC (rev 8671)
@@ -65,6 +65,8 @@
javaScripts.add("org/richfaces/renderkit/html/scripts/json/json-dom.js");
javaScripts.add("org/richfaces/renderkit/html/scripts/context-menu.js");
javaScripts.add("org/richfaces/renderkit/html/scripts/menu.js");
+ javaScripts.add("org/richfaces/renderkit/html/scripts/available.js");
+ javaScripts.add("org/richfaces/renderkit/html/scripts/jquery/jquery.js");
}
/**
@@ -180,7 +182,7 @@
assertNotNull(scriptText);
scriptText = scriptText.replaceAll("\\s", "");
- assertTrue(scriptText.startsWith("newRichfaces.ContextMenu"));
+
assertTrue(scriptText.startsWith("varcontextMenu=newRichfaces.ContextMenu"));
assertTrue(scriptText.contains(PARAM_SEQUENCE));
assertNull(script.getNextSibling());