javax.faces.webapp
Class ValidatorTagTestCase

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

public class ValidatorTagTestCase
extends TagTestCaseBase

Unit tests for ValidatorTag.


Field Summary
protected  UIComponentTag ctag
           
protected  UIComponentTag rtag
           
 
Fields inherited from class javax.faces.webapp.TagTestCaseBase
pageContext, root, servlet
 
Constructor Summary
ValidatorTagTestCase(java.lang.String name)
          Construct a new instance of this test case.
 
Method Summary
protected  void add(ValidatorTag 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

ValidatorTagTestCase

public ValidatorTagTestCase(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(ValidatorTag tag)


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