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

Quick Search    Search Deep

servletunit.tests
Class TestCookies  view TestCookies download TestCookies.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byservletunit.tests.TestCookies
All Implemented Interfaces:
junit.framework.Test

public class TestCookies
extends junit.framework.TestCase


Field Summary
(package private)  servletunit.HttpServletRequestSimulator request
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
TestCookies(java.lang.String testName)
           
 
Method Summary
 void setUp()
          Sets up the fixture, for example, open a network connection.
 void testAddCookie()
           
 void testCheckForWrongCookie()
           
 void testNoCookies()
           
 void testSetCookies()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

request

servletunit.HttpServletRequestSimulator request
Constructor Detail

TestCookies

public TestCookies(java.lang.String testName)
Method Detail

setUp

public void setUp()
Description copied from class: junit.framework.TestCase
Sets up the fixture, for example, open a network connection. This method is called before a test is executed.


testNoCookies

public void testNoCookies()

testAddCookie

public void testAddCookie()

testSetCookies

public void testSetCookies()

testCheckForWrongCookie

public void testCheckForWrongCookie()