org.apache.myfaces.custom.tree2
Class HtmlTreeRendererTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.shale.test.base.AbstractJsfTestCase
              extended by org.apache.shale.test.base.AbstractViewControllerTestCase
                  extended by org.apache.myfaces.test.AbstractTomahawkViewControllerTestCase
                      extended by org.apache.myfaces.custom.tree2.AbstractTreeTestCase
                          extended by org.apache.myfaces.custom.tree2.HtmlTreeRendererTest
All Implemented Interfaces:
junit.framework.Test

public class HtmlTreeRendererTest
extends AbstractTreeTestCase

- .. Root (0) | - .. A (0:0) | | | + .. AA (0:0:0) | | | + .. AB (0:0:1) | | | + .. AC (0:0:2) | | .. aca (0:0:2:0) | | .. acb (0:0:2:1) | + .. B (0:1) | | | + .. BA (0:1:0) | | | + .. BB (0:1:1) | | .. C (0:2) | | .. d (0:3)


Field Summary
 
Fields inherited from class org.apache.shale.test.base.AbstractJsfTestCase
application, config, externalContext, facesContext, facesContextFactory, lifecycle, lifecycleFactory, renderKit, request, response, servletContext, session
 
Constructor Summary
HtmlTreeRendererTest(String name)
          Constructor
 
Method Summary
protected  void setUp()
          See abstract class
static junit.framework.Test suite()
           
 void testHideRootNodeClient()
          Tests the option of hiding the root node (with client side toggling option)
 void testHideRootNodeServer()
          Tests the option of hiding the root node (with server side toggling option)
 
Methods inherited from class org.apache.myfaces.test.AbstractTomahawkViewControllerTestCase
assertIdExists, tearDown
 
Methods inherited from class org.apache.shale.test.base.AbstractViewControllerTestCase
checkMessageCount, checkMessageCount
 
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

HtmlTreeRendererTest

public HtmlTreeRendererTest(String name)
Constructor

Parameters:
name - String
Method Detail

setUp

protected void setUp()
              throws Exception
See abstract class

Overrides:
setUp in class AbstractTreeTestCase
Throws:
Exception

testHideRootNodeServer

public void testHideRootNodeServer()
                            throws Exception
Tests the option of hiding the root node (with server side toggling option)

Throws:
Exception

testHideRootNodeClient

public void testHideRootNodeClient()
                            throws Exception
Tests the option of hiding the root node (with client side toggling option)

Throws:
Exception

suite

public static junit.framework.Test suite()


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.