|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.myfaces.test.base.AbstractJsfTestCase
org.apache.myfaces.test.base.AbstractViewControllerTestCase
org.apache.myfaces.test.AbstractTomahawkViewControllerTestCase
org.apache.myfaces.custom.tree2.AbstractTreeTestCase
org.apache.myfaces.custom.tree2.UITreeDataTest
public class UITreeDataTest
Test case for UITreeData.
| Field Summary |
|---|
| Fields inherited from class org.apache.myfaces.test.base.AbstractJsfTestCase |
|---|
application, config, externalContext, facesContext, facesContextFactory, lifecycle, lifecycleFactory, renderKit, request, response, servletContext, session |
| Constructor Summary | |
|---|---|
UITreeDataTest(String name)
Constructor |
|
| Method Summary | |
|---|---|
protected void |
setUp()
See abstract class |
static junit.framework.Test |
suite()
|
void |
testCollapseAll()
Tests the ability to collapse all nodes at once. |
void |
testEmptyFacet()
Its possible that a facet will be empty on the decode if it contained only EL text. |
void |
testExpandAll()
Tests the ability to expand all nodes at once. |
void |
testNodeSelected()
Tests the selection of a specific node using both server side and client side toggle options. |
void |
testProgramaticSelection()
Tests programatic selection of a node. |
| Methods inherited from class org.apache.myfaces.test.AbstractTomahawkViewControllerTestCase |
|---|
assertIdExists, tearDown |
| Methods inherited from class org.apache.myfaces.test.base.AbstractViewControllerTestCase |
|---|
checkMessageCount, checkMessageCount |
| Methods inherited from class org.apache.myfaces.test.base.AbstractJsfTestCase |
|---|
setFactories, setUpApplication, setUpExternalContext, setUpFacesContext, setUpJSFObjects, setUpLifecycle, setUpRenderKit, setUpServletObjects, setUpView |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
| Methods inherited from class junit.framework.Assert |
|---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UITreeDataTest(String name)
name - String| Method Detail |
|---|
protected void setUp()
throws Exception
setUp in class AbstractTreeTestCaseException
public void testNodeSelected()
throws Exception
Exception
public void testProgramaticSelection()
throws Exception
Exception
public void testExpandAll()
throws Exception
Exception
public void testCollapseAll()
throws Exception
Exception
public void testEmptyFacet()
throws Exception
Exceptionpublic static junit.framework.Test suite()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||