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

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.myfaces.test.base.AbstractJsfTestCase
              extended by org.apache.myfaces.test.base.AbstractViewControllerTestCase
                  extended by org.apache.myfaces.test.AbstractTomahawkViewControllerTestCase
                      extended by org.apache.myfaces.component.html.ext.HtmlGraphicImageTest
All Implemented Interfaces:
junit.framework.Test

public class HtmlGraphicImageTest
extends AbstractTomahawkViewControllerTestCase


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
HtmlGraphicImageTest(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.
 
Methods inherited from class org.apache.myfaces.test.AbstractTomahawkViewControllerTestCase
assertIdExists
 
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

HtmlGraphicImageTest

public HtmlGraphicImageTest(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

testDefaultRenderer

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



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