Author: maksimkaszynski
Date: 2008-03-12 05:52:30 -0400 (Wed, 12 Mar 2008)
New Revision: 6740
Modified:
trunk/ui/panel/src/main/config/component/panel.xml
trunk/ui/panel/src/test/java/org/richfaces/taglib/PanelTagTest.java
Log:
added more sophisticated tests
Modified: trunk/ui/panel/src/main/config/component/panel.xml
===================================================================
--- trunk/ui/panel/src/main/config/component/panel.xml 2008-03-12 09:52:09 UTC (rev 6739)
+++ trunk/ui/panel/src/main/config/component/panel.xml 2008-03-12 09:52:30 UTC (rev 6740)
@@ -27,7 +27,7 @@
</superclass>
<test>
<classname>org.richfaces.taglib.HtmlPanelTagTest</classname>
- <superclassname>org.ajax4jsf.tests.AbstractAjax4JsfTestCase</superclassname>
+ <superclassname>org.ajax4jsf.tests.AbstractJspTestCase</superclassname>
</test>
</tag>
Modified: trunk/ui/panel/src/test/java/org/richfaces/taglib/PanelTagTest.java
===================================================================
--- trunk/ui/panel/src/test/java/org/richfaces/taglib/PanelTagTest.java 2008-03-12
09:52:09 UTC (rev 6739)
+++ trunk/ui/panel/src/test/java/org/richfaces/taglib/PanelTagTest.java 2008-03-12
09:52:30 UTC (rev 6740)
@@ -7,7 +7,7 @@
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.tagext.Tag;
-import org.ajax4jsf.tests.AbstractAjax4JsfTestCase;
+import org.ajax4jsf.tests.AbstractJspTestCase;
import org.apache.shale.test.el.MockValueExpression;
import org.richfaces.component.html.HtmlPanel;
@@ -15,7 +15,7 @@
* @author asmirnov
*
*/
-public class PanelTagTest extends AbstractAjax4JsfTestCase {
+public class PanelTagTest extends AbstractJspTestCase {
PanelTag panelTag;
@@ -33,6 +33,7 @@
public void setUp() throws Exception {
super.setUp();
panelTag = new PanelTag();
+ panelTag.setPageContext(pageContext);
panelTag.setParent(new UIComponentTag(){
public String getComponentType() {
Show replies by date