Author: nbelaevski
Date: 2008-05-23 09:42:08 -0400 (Fri, 23 May 2008)
New Revision: 8729
Modified:
trunk/ui/suggestionbox/src/test/java/org/richfaces/component/SuggestionBoxComponentTest.java
Log:
http://jira.jboss.com/jira/browse/RF-3483
Modified:
trunk/ui/suggestionbox/src/test/java/org/richfaces/component/SuggestionBoxComponentTest.java
===================================================================
---
trunk/ui/suggestionbox/src/test/java/org/richfaces/component/SuggestionBoxComponentTest.java 2008-05-23
13:33:32 UTC (rev 8728)
+++
trunk/ui/suggestionbox/src/test/java/org/richfaces/component/SuggestionBoxComponentTest.java 2008-05-23
13:42:08 UTC (rev 8729)
@@ -21,20 +21,22 @@
package org.richfaces.component;
-import com.gargoylesoftware.htmlunit.html.HtmlElement;
-import com.gargoylesoftware.htmlunit.html.HtmlPage;
-import com.gargoylesoftware.htmlunit.html.HtmlScript;
-import org.ajax4jsf.tests.AbstractAjax4JsfTestCase;
-import org.apache.commons.lang.StringUtils;
-
-import javax.faces.component.UIForm;
-import javax.faces.component.UIInput;
-import javax.faces.component.html.HtmlForm;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
+import javax.faces.component.UIForm;
+import javax.faces.component.UIInput;
+import javax.faces.component.html.HtmlForm;
+
+import org.ajax4jsf.tests.AbstractAjax4JsfTestCase;
+import org.apache.commons.lang.StringUtils;
+
+import com.gargoylesoftware.htmlunit.html.HtmlElement;
+import com.gargoylesoftware.htmlunit.html.HtmlPage;
+import com.gargoylesoftware.htmlunit.html.HtmlScript;
+
/**
* Unit test for SuggestionBox component.
*/
@@ -46,8 +48,8 @@
javaScripts.add("prototype.js");
javaScripts.add("org.ajax4jsf.javascript.SmartPositionScript");
javaScripts.add("org/richfaces/renderkit/html/scripts/browser_info.js");
-
javaScripts.add("org/richfaces/renderkit/html/scripts/scriptaculo.js");
-
javaScripts.add("org/richfaces/renderkit/html/scripts/suggestionbox.js");
+ javaScripts.add("scripts/scriptaculo.js");
+ javaScripts.add("scripts/suggestionbox.js");
javaScripts.add("org/richfaces/renderkit/html/scripts/available.js");
}
@@ -160,7 +162,7 @@
}
}
- assertTrue(found);
+ assertTrue(srcAttr, found);
}
}
}