Class ServletTilesRequestContextTest

  • All Implemented Interfaces:
    junit.framework.Test

    public class ServletTilesRequestContextTest
    extends junit.framework.TestCase
    Version:
    $Rev$ $Date$
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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

        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
    • 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.