Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.commons.chain.web.servlet
Class ServletSetLocaleCommandTestCase  view ServletSetLocaleCommandTestCase download ServletSetLocaleCommandTestCase.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.apache.commons.chain.web.servlet.ServletSetLocaleCommandTestCase
All Implemented Interfaces:
junit.framework.Test

public class ServletSetLocaleCommandTestCase
extends junit.framework.TestCase


Field Summary
protected  ServletGetLocaleCommand command
           
protected  org.apache.commons.chain.Context context
           
protected  java.util.Locale locale
           
protected  javax.servlet.http.HttpServletRequest request
           
protected  javax.servlet.http.HttpServletResponse response
           
protected  javax.servlet.ServletContext scontext
           
protected  javax.servlet.http.HttpSession session
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
ServletSetLocaleCommandTestCase(java.lang.String name)
          Construct a new instance of this test case.
 
Method Summary
protected  void check(org.apache.commons.chain.Context context, ServletGetLocaleCommand command)
           
 void setUp()
          Set up instance variables required by this test case.
static junit.framework.Test suite()
          Return the tests included in this test suite.
 void tearDown()
          Tear down instance variables required by this test case.
 void testConfigured()
           
 void testDefaut()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

locale

protected java.util.Locale locale

scontext

protected javax.servlet.ServletContext scontext

request

protected javax.servlet.http.HttpServletRequest request

response

protected javax.servlet.http.HttpServletResponse response

session

protected javax.servlet.http.HttpSession session

context

protected org.apache.commons.chain.Context context

command

protected ServletGetLocaleCommand command
Constructor Detail

ServletSetLocaleCommandTestCase

public ServletSetLocaleCommandTestCase(java.lang.String name)
Construct a new instance of this test case.

Method Detail

setUp

public void setUp()
Set up instance variables required by this test case.


suite

public static junit.framework.Test suite()
Return the tests included in this test suite.


tearDown

public void tearDown()
Tear down instance variables required by this test case.


testConfigured

public void testConfigured()
                    throws java.lang.Exception

testDefaut

public void testDefaut()
                throws java.lang.Exception

check

protected void check(org.apache.commons.chain.Context context,
                     ServletGetLocaleCommand command)
              throws java.lang.Exception