org.apache.myfaces.custom.date
Class HtmlDateRendererTest

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.custom.date.HtmlDateRendererTest
All Implemented Interfaces:
junit.framework.Test

public class HtmlDateRendererTest
extends AbstractTomahawkViewControllerTestCase


Nested Class Summary
static class HtmlDateRendererTest.DateTestConverter
           
 
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
HtmlDateRendererTest(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.
static junit.framework.Test suite()
           
protected  void tearDown()
          Tear down the test environment.
 void testDecodeConverterDate()
           
 void testDecodeConverterFlorp()
           
 void testDecodeConverterFull()
           
 void testDecodeConverterTime()
           
 void testDecodeConverterWithSubmittedValue()
           
 void testDecodeDate()
           
 void testDecodeDisabled()
           
 void testDecodeFlorp()
           
 void testDecodeFull()
           
 void testDecodeTime()
           
 void testDecodeWithSubmittedValue()
           
 void testEncodeEnd()
           
 void testGetConvertedValue()
           
 void testHtmlPropertyPassTru()
           
 
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

HtmlDateRendererTest

public HtmlDateRendererTest(String name)
Method Detail

suite

public static junit.framework.Test suite()

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

testDecodeDate

public void testDecodeDate()
                    throws Exception
Throws:
Exception

testDecodeWithSubmittedValue

public void testDecodeWithSubmittedValue()
                                  throws Exception
Throws:
Exception

testDecodeTime

public void testDecodeTime()
                    throws Exception
Throws:
Exception

testDecodeFull

public void testDecodeFull()
                    throws Exception
Throws:
Exception

testDecodeFlorp

public void testDecodeFlorp()
                     throws Exception
Throws:
Exception

testDecodeDisabled

public void testDecodeDisabled()
                        throws Exception
Throws:
Exception

testDecodeConverterDate

public void testDecodeConverterDate()
                             throws Exception
Throws:
Exception

testDecodeConverterWithSubmittedValue

public void testDecodeConverterWithSubmittedValue()
                                           throws Exception
Throws:
Exception

testDecodeConverterTime

public void testDecodeConverterTime()
                             throws Exception
Throws:
Exception

testDecodeConverterFull

public void testDecodeConverterFull()
                             throws Exception
Throws:
Exception

testDecodeConverterFlorp

public void testDecodeConverterFlorp()
                              throws Exception
Throws:
Exception

testEncodeEnd

public void testEncodeEnd()
                   throws Exception
Throws:
Exception

testGetConvertedValue

public void testGetConvertedValue()
                           throws Exception
Throws:
Exception

testHtmlPropertyPassTru

public void testHtmlPropertyPassTru()
                             throws Exception
Throws:
Exception


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