This project has retired. For details please refer to its Attic page.
ServletTilesRequestContextTest (Tiles 2 2.1.4 Test API)

org.apache.tiles.servlet.context
Class ServletTilesRequestContextTest

Package class diagram package ServletTilesRequestContextTest
java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.tiles.servlet.context.ServletTilesRequestContextTest
All Implemented Interfaces:
junit.framework.Test

public class ServletTilesRequestContextTest
extends junit.framework.TestCase

Version:
$Rev: 736275 $ $Date: 2009-01-21 10:58:20 +0100 (mer, 21 gen 2009) $

Constructor Summary
ServletTilesRequestContextTest()
           
 
Method Summary
protected  void setUp()
          
 void testForceInclude()
          Tests the forced inclusion in the request.
 void testGetApplicationContext()
          Tests ServletTilesRequestContext.getApplicationContext().
 void testGetApplicationScope()
          Tests getting application scope attributes.
 void testGetHeader()
          Tests getting the header.
 void testGetHeaderValues()
          Tests getting the header value.
 void testGetInitParams()
          Tests getting init parameters.
 void testGetOutputStream()
          Tests ServletTilesRequestContext.getOutputStream().
 void testGetParam()
          Tests getting the parameters.
 void testGetParamValues()
          Tests getting the parameter values.
 void testGetPrintWriter()
          Tests ServletTilesRequestContext.getPrintWriter().
 void testGetRequestScope()
          Tests getting request scope attributes.
 void testGetSessionScope()
          Tests getting session scope attributes.
 void testGetWriter()
          Tests ServletTilesRequestContext.getWriter().
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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

ServletTilesRequestContextTest

public ServletTilesRequestContextTest()
Method Detail

setUp

protected void setUp()
              throws Exception

Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

testGetHeader

public void testGetHeader()
Tests getting the header.


testGetHeaderValues

public void testGetHeaderValues()
Tests getting the header value.


testGetParam

public void testGetParam()
Tests getting the parameters.


testGetParamValues

public void testGetParamValues()
Tests getting the parameter values.


testGetRequestScope

public void testGetRequestScope()
Tests getting request scope attributes.


testGetSessionScope

public void testGetSessionScope()
Tests getting session scope attributes.


testGetApplicationContext

public void testGetApplicationContext()
Tests ServletTilesRequestContext.getApplicationContext().


testGetApplicationScope

public void testGetApplicationScope()
Tests getting application scope attributes.


testGetInitParams

public void testGetInitParams()
Tests getting init parameters.


testGetOutputStream

public void testGetOutputStream()
                         throws IOException
Tests ServletTilesRequestContext.getOutputStream().

Throws:
IOException - If something goes wrong.

testGetWriter

public void testGetWriter()
                   throws IOException
Tests ServletTilesRequestContext.getWriter().

Throws:
IOException - If something goes wrong.

testGetPrintWriter

public void testGetPrintWriter()
                        throws IOException
Tests ServletTilesRequestContext.getPrintWriter().

Throws:
IOException - If something goes wrong.

testForceInclude

public void testForceInclude()
                      throws IOException
Tests the forced inclusion in the request.

Throws:
IOException - If something goes wrong.


Copyright © 2001-2009 Apache Software Foundation. All Rights Reserved.