|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.tiles.servlet.context.ServletTilesRequestContextTest
public class ServletTilesRequestContextTest
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 |
---|
public ServletTilesRequestContextTest()
Method Detail |
---|
protected void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
public void testGetHeader()
public void testGetHeaderValues()
public void testGetParam()
public void testGetParamValues()
public void testGetRequestScope()
public void testGetSessionScope()
public void testGetApplicationContext()
ServletTilesRequestContext.getApplicationContext()
.
public void testGetApplicationScope()
public void testGetInitParams()
public void testGetOutputStream() throws IOException
ServletTilesRequestContext.getOutputStream()
.
IOException
- If something goes wrong.public void testGetWriter() throws IOException
ServletTilesRequestContext.getWriter()
.
IOException
- If something goes wrong.public void testGetPrintWriter() throws IOException
ServletTilesRequestContext.getPrintWriter()
.
IOException
- If something goes wrong.public void testForceInclude() throws IOException
IOException
- If something goes wrong.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |