|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectJUnitFacesTestCase
javax.faces.webapp.TagTestCaseBase
javax.faces.webapp.UIComponentTagTestCase
public class UIComponentTagTestCase
Base unit tests for all UIComponentTag classes.
Field Summary | |
---|---|
protected java.util.Map |
tags
|
Fields inherited from class javax.faces.webapp.TagTestCaseBase |
---|
pageContext, root, servlet |
Constructor Summary | |
---|---|
UIComponentTagTestCase(java.lang.String name)
Construct a new instance of this test case. |
Method Summary | |
---|---|
protected void |
add(Tag parent,
Tag child)
|
protected void |
configure(java.lang.String id1,
java.lang.String id2,
boolean rendered,
boolean children)
|
protected void |
release()
|
protected void |
release(Tag tag)
|
protected void |
render()
|
protected void |
render(Tag tag)
|
protected void |
reset()
|
void |
setUp()
Since the JSP tag no longer creates the response writer, we must do it ourselves. |
static Test |
suite()
Return the tests included in this test suite. |
void |
tearDown()
Tear down instance variables required by this test case. |
void |
testMultipleTagWithId()
|
void |
testMultipleTagWithoutId1()
|
void |
testMultipleTagWithoutId2()
|
void |
testMultipleTagWithoutId3()
|
void |
testPristine()
|
void |
testRenderedFalse()
|
void |
testRendersChildren()
|
void |
testSingleTagWithId()
|
void |
testSingleTagWithoutId()
|
void |
testUniqueId()
|
void |
testValueBindings()
|
protected java.lang.String |
text()
|
protected java.lang.String |
tree()
|
protected void |
tree(UIComponent component,
java.lang.StringBuffer sb)
|
protected void |
verifyB2()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Map tags
Constructor Detail |
---|
public UIComponentTagTestCase(java.lang.String name)
name
- Name of the test caseMethod Detail |
---|
public static Test suite()
public void setUp() throws java.lang.Exception
Since the JSP tag no longer creates the response writer, we must do it ourselves.
setUp
in class TagTestCaseBase
java.lang.Exception
public void tearDown() throws java.lang.Exception
tearDown
in class TagTestCaseBase
java.lang.Exception
public void testMultipleTagWithId() throws java.lang.Exception
java.lang.Exception
public void testMultipleTagWithoutId1() throws java.lang.Exception
java.lang.Exception
public void testMultipleTagWithoutId2() throws java.lang.Exception
java.lang.Exception
public void testMultipleTagWithoutId3() throws java.lang.Exception
java.lang.Exception
public void testPristine()
public void testRenderedFalse() throws java.lang.Exception
java.lang.Exception
public void testRendersChildren() throws java.lang.Exception
java.lang.Exception
public void testSingleTagWithId() throws java.lang.Exception
java.lang.Exception
public void testSingleTagWithoutId() throws java.lang.Exception
java.lang.Exception
public void testUniqueId() throws java.lang.Exception
java.lang.Exception
public void testValueBindings() throws java.lang.Exception
java.lang.Exception
protected void add(Tag parent, Tag child)
protected void configure(java.lang.String id1, java.lang.String id2, boolean rendered, boolean children)
protected void release()
protected void release(Tag tag)
protected void render() throws JspException
JspException
protected void render(Tag tag) throws JspException
JspException
protected void reset() throws java.io.IOException
java.io.IOException
protected java.lang.String tree()
protected void tree(UIComponent component, java.lang.StringBuffer sb)
protected java.lang.String text()
protected void verifyB2()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |