javax.faces.webapp
Class AttributeTagTestCase

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

public class AttributeTagTestCase
extends TagTestCaseBase

Unit tests for AttributeTag.


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

AttributeTagTestCase

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

testLiteralLiteral

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

testLiteralExpression

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

testExpressionLiteral

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

testExpressionExpression

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

testPreExisting

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

add

protected void add(AttributeTag tag)


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