net.groboclown.util.http.v1.tests
Class TestNetscapeCookieParser
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
|
+--net.groboclown.junit.v1.MultiThreadedTestCase
|
+--net.groboclown.util.http.v1.tests.BaseTestHttp
|
+--net.groboclown.util.http.v1.tests.TestNetscapeCookieParser
- All Implemented Interfaces:
- junit.framework.Test
- public class TestNetscapeCookieParser
- extends BaseTestHttp
Fields inherited from class junit.framework.TestCase |
fName |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, name, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
THIS_CLASS
private static final Class THIS_CLASS
COOKIE_HEADER_1
protected static final String COOKIE_HEADER_1
COOKIE_HEADER_2
protected static final String COOKIE_HEADER_2
TestNetscapeCookieParser
public TestNetscapeCookieParser(String name)
suite
public static junit.framework.Test suite()
main
public static void main(String[] args)
setUp
protected void setUp()
throws Exception
- Overrides:
setUp
in class BaseTestHttp
tearDown
protected void tearDown()
throws Exception
- Overrides:
tearDown
in class BaseTestHttp
testInstantiate
public void testInstantiate()
throws IOException
testNull
public void testNull()
testEmpty
public void testEmpty()
inner_testSimpleCookie_1
protected void inner_testSimpleCookie_1(IHttpClientState cookie)
inner_testSimpleCookie_2
protected void inner_testSimpleCookie_2(IHttpClientState cookie)
testSingleCookie
public void testSingleCookie()
testMultipleCookies
public void testMultipleCookies()
testUnusualCookie_Quote
public void testUnusualCookie_Quote()
testUnusualCookie_QuoteAndSemi
public void testUnusualCookie_QuoteAndSemi()
testExpiresCookie
public void testExpiresCookie()
assertLength
protected void assertLength(String message,
int length,
Object[] list)
- The given list must be both non-null and have a length matching
the given length, and that each entry in the list is non-null.
assertEmpty
protected void assertEmpty(String message,
Object[] list)
Written under the LGPL