Package org.apache.tiles.servlet.context
Class ServletTilesRequestContextTest
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- org.apache.tiles.servlet.context.ServletTilesRequestContextTest
-
- All Implemented Interfaces:
junit.framework.Test
public class ServletTilesRequestContextTest extends junit.framework.TestCase- Version:
- $Rev$ $Date$
-
-
Constructor Summary
Constructors Constructor Description ServletTilesRequestContextTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidsetUp()voidtestForceInclude()Tests the forced inclusion in the request.voidtestGetApplicationContext()TestsServletTilesRequestContext.getApplicationContext().voidtestGetApplicationScope()Tests getting application scope attributes.voidtestGetHeader()Tests getting the header.voidtestGetHeaderValues()Tests getting the header value.voidtestGetInitParams()Tests getting init parameters.voidtestGetOutputStream()TestsServletTilesRequestContext.getOutputStream().voidtestGetParam()Tests getting the parameters.voidtestGetParamValues()Tests getting the parameter values.voidtestGetPrintWriter()TestsServletTilesRequestContext.getPrintWriter().voidtestGetRequestScope()Tests getting request scope attributes.voidtestGetSessionScope()Tests getting session scope attributes.voidtestGetWriter()TestsServletTilesRequestContext.getWriter().-
Methods inherited from class junit.framework.TestCase
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, tearDown, toString
-
-
-
-
Method Detail
-
setUp
protected void setUp() throws Exception- Overrides:
setUpin classjunit.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()
TestsServletTilesRequestContext.getApplicationContext().
-
testGetApplicationScope
public void testGetApplicationScope()
Tests getting application scope attributes.
-
testGetInitParams
public void testGetInitParams()
Tests getting init parameters.
-
testGetOutputStream
public void testGetOutputStream() throws IOExceptionTestsServletTilesRequestContext.getOutputStream().- Throws:
IOException- If something goes wrong.
-
testGetWriter
public void testGetWriter() throws IOExceptionTestsServletTilesRequestContext.getWriter().- Throws:
IOException- If something goes wrong.
-
testGetPrintWriter
public void testGetPrintWriter() throws IOExceptionTestsServletTilesRequestContext.getPrintWriter().- Throws:
IOException- If something goes wrong.
-
testForceInclude
public void testForceInclude() throws IOExceptionTests the forced inclusion in the request.- Throws:
IOException- If something goes wrong.
-
-