Apache JMeter
2.0.1.20050615

org.apache.jmeter.protocol.http.control
Class CookieManager.Test

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.apache.jmeter.protocol.http.control.CookieManager.Test
All Implemented Interfaces:
junit.framework.Test
Enclosing class:
CookieManager

public static class CookieManager.Test
extends junit.framework.TestCase


Constructor Summary
CookieManager.Test(String name)
           
 
Method Summary
 void setUp()
           
 void testDomainHandling()
          Test that the cookie domain field is actually handled as browsers do (i.e.: host X matches domain .X):
 void testRemoveCookie()
           
 void testSendCookie()
           
 void testSendCookie2()
           
 void testSimilarHostNames()
          Test that we won't be tricked by similar host names (this was a past bug, although it never got reported in the bug database):
 
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
 

Constructor Detail

CookieManager.Test

public CookieManager.Test(String name)
Method Detail

setUp

public void setUp()

testRemoveCookie

public void testRemoveCookie()
                      throws Exception
Throws:
Exception

testSendCookie

public void testSendCookie()
                    throws Exception
Throws:
Exception

testSendCookie2

public void testSendCookie2()
                     throws Exception
Throws:
Exception

testDomainHandling

public void testDomainHandling()
                        throws Exception
Test that the cookie domain field is actually handled as browsers do (i.e.: host X matches domain .X):

Throws:
Exception

testSimilarHostNames

public void testSimilarHostNames()
                          throws Exception
Test that we won't be tricked by similar host names (this was a past bug, although it never got reported in the bug database):

Throws:
Exception

Apache JMeter
2.0.1.20050615

Copyright © 1998-2005 Apache Software Foundation. All Rights Reserved.