org.apache.webdav.lib.tests
Class TestCookie

org.apache.webdav.lib.tests.TestCookie

public class TestCookie

Test cases for Cookie

Version:
$Revision: 1.2 $
Author:
BC Holmes

Constructor Summary
TestCookie(java.lang.String name)
           
 
Method Summary
protected  void checkResultsOfParse(Cookie[] cookies, int length, int offset)
           
static junit.framework.Test suite()
           
 void testParse1()
          Test basic parse (with various spacings
 void testParse2()
          Test no spaces
 void testParse3()
          Test parse with quoted text
 void testSecurityError()
          Test security error
 

Constructor Detail

TestCookie

public TestCookie(java.lang.String name)
Method Detail

suite

public static junit.framework.Test suite()

testParse1

public void testParse1()
                throws java.lang.Exception
Test basic parse (with various spacings

checkResultsOfParse

protected void checkResultsOfParse(Cookie[] cookies,
                                   int length,
                                   int offset)
                            throws java.lang.Exception

testParse2

public void testParse2()
                throws java.lang.Exception
Test no spaces

testParse3

public void testParse3()
                throws java.lang.Exception
Test parse with quoted text

testSecurityError

public void testSecurityError()
                       throws java.lang.Exception
Test security error