javax.faces.webapp
Class ConverterTagTestCase

java.lang.Object
  extended by JUnitFacesTestCase
      extended by javax.faces.webapp.TagTestCaseBase
          extended by javax.faces.webapp.ConverterTagTestCase

public class ConverterTagTestCase
extends TagTestCaseBase

Unit tests for ConverterTag.


Field Summary
protected  UIComponentTag ctag
           
protected  UIComponentTag rtag
           
 
Fields inherited from class javax.faces.webapp.TagTestCaseBase
pageContext, root, servlet
 
Constructor Summary
ConverterTagTestCase(java.lang.String name)
          Construct a new instance of this test case.
 
Method Summary
protected  void add(ConverterTag tag)
           
 void setUp()
          Set up our root and component tags.
static Test suite()
          Return the tests included in this test suite.
 void tearDown()
          Clear our root and component tags.
 void testExpression()
           
 void testLiteral()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ctag

protected UIComponentTag ctag

rtag

protected UIComponentTag rtag
Constructor Detail

ConverterTagTestCase

public ConverterTagTestCase(java.lang.String name)
Construct a new instance of this test case.

Parameters:
name - Name of the test case
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Set up our root and component tags.

Overrides:
setUp in class TagTestCaseBase
Throws:
java.lang.Exception

suite

public static Test suite()
Return the tests included in this test suite.


tearDown

public void tearDown()
              throws java.lang.Exception
Clear our root and component tags.

Overrides:
tearDown in class TagTestCaseBase
Throws:
java.lang.Exception

testLiteral

public void testLiteral()
                 throws java.lang.Exception
Throws:
java.lang.Exception

testExpression

public void testExpression()
                    throws java.lang.Exception
Throws:
java.lang.Exception

add

protected void add(ConverterTag tag)


Copyright 2002-2011 Oracle America Inc, Inc. All Rights Reserved.