net.sourceforge.ajaxtags.tags
Class AjaxAreaTagTest

java.lang.Object
  extended by net.sourceforge.ajaxtags.tags.AbstractTagTest<AjaxAreaTag>
      extended by net.sourceforge.ajaxtags.tags.AjaxAreaTagTest

public class AjaxAreaTagTest
extends AbstractTagTest<AjaxAreaTag>

Test for AjaxAreaTag.

Author:
Victor Homyakov

Field Summary
 
Fields inherited from class net.sourceforge.ajaxtags.tags.AbstractTagTest
context, tag
 
Constructor Summary
AjaxAreaTagTest()
           
 
Method Summary
 void setUp()
          Set up.
 void testIsAjaxRequest()
          Test method for AjaxAreaTag.isAjaxRequest().
 void testProcessContent()
          Test method for AjaxAreaTag.processContent(String).
 void testTag()
          Test method for tag content generation in response to usual HTTP request.
 void testTagAjax()
          Test method for tag content generation in response to AJAX request.
 
Methods inherited from class net.sourceforge.ajaxtags.tags.AbstractTagTest
assertAfterBody, assertContent, assertContent, assertEndTag, assertStartTagEvalBody, assertStartTagSkipBody, getContent, reformat, setUp, tearDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AjaxAreaTagTest

public AjaxAreaTagTest()
Method Detail

setUp

public void setUp()
           throws Exception
Set up.

Throws:
Exception - if setUp fails

testTag

public void testTag()
             throws javax.servlet.jsp.JspException,
                    IOException,
                    TransformerException,
                    SAXException
Test method for tag content generation in response to usual HTTP request.

Throws:
javax.servlet.jsp.JspException - on errors
IOException - on BodyContent errors
SAXException - if any parse errors occur
TransformerException - if it is not possible to transform document to string

testTagAjax

public void testTagAjax()
                 throws javax.servlet.jsp.JspException,
                        IOException,
                        TransformerException,
                        SAXException
Test method for tag content generation in response to AJAX request.

Throws:
javax.servlet.jsp.JspException - on errors
IOException - on BodyContent errors
SAXException - if any parse errors occur
TransformerException - if it is not possible to transform document to string

testIsAjaxRequest

public void testIsAjaxRequest()
Test method for AjaxAreaTag.isAjaxRequest().


testProcessContent

public void testProcessContent()
                        throws javax.servlet.jsp.JspException,
                               TransformerException,
                               SAXException
Test method for AjaxAreaTag.processContent(String).

Throws:
javax.servlet.jsp.JspException - on errors
SAXException - if any parse errors occur
TransformerException - if it is not possible to transform document to string


Copyright © 2005-2010 The Ajaxtags Team. All Rights Reserved.