org.apache.myfaces.component.html.ext
Class HtmlDataTableTest

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.component.html.ext.HtmlDataTableTest
All Implemented Interfaces:
junit.framework.Test

public class HtmlDataTableTest
extends AbstractTomahawkViewControllerTestCase

Version:
$Revision: 1099917 $ $Date: 2011-05-05 13:57:45 -0500 (Thu, 05 May 2011) $
Author:
Mathias Br�kelmann (latest modification by $Author: lu4242 $)

Nested Class Summary
static class HtmlDataTableTest.TestData
           
 
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
HtmlDataTableTest(String name)
           
 
Method Summary
protected  void setUp()
          Setup the test environment, including the following: Set the Application Map. Set a response writer Add Tomahawk's renderers to the faces context.
protected  void tearDown()
          Tear down the test environment.
 void testDefaultRenderer()
          Verify component renders with the default renderer.
 void testFindComponent()
           
 void testGetClientIdFacesContext()
           
 
Methods inherited from class org.apache.myfaces.test.AbstractTomahawkViewControllerTestCase
assertIdExists
 
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

HtmlDataTableTest

public HtmlDataTableTest(String name)
Method Detail

setUp

protected void setUp()
              throws Exception
Description copied from class: AbstractTomahawkViewControllerTestCase
Setup the test environment, including the following:

Overrides:
setUp in class AbstractTomahawkViewControllerTestCase
Throws:
Exception

tearDown

protected void tearDown()
                 throws Exception
Description copied from class: AbstractTomahawkViewControllerTestCase
Tear down the test environment.

Overrides:
tearDown in class AbstractTomahawkViewControllerTestCase
Throws:
Exception

testGetClientIdFacesContext

public void testGetClientIdFacesContext()

testFindComponent

public void testFindComponent()

testDefaultRenderer

public void testDefaultRenderer()
Verify component renders with the default renderer.



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