net.groboclown.util.http.v1.tests
Class TestCookie
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.TestCookie
- All Implemented Interfaces:
- junit.framework.Test
- public class TestCookie
- 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
BAD_NAMES
private static final String[] BAD_NAMES
TestCookie
public TestCookie(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()
testGetSet
public void testGetSet()
testExpires
public void testExpires()
throws InterruptedException
testDefaultToString
public void testDefaultToString()
testToStringClientV0
public void testToStringClientV0()
testToStringClientV1
public void testToStringClientV1()
testToStringServerV0
public void testToStringServerV0()
testToStringServerV1
public void testToStringServerV1()
testSendSecurityCheck
public void testSendSecurityCheck()
throws Exception
testReceiveSecurityCheck
public void testReceiveSecurityCheck()
throws Exception
badInstantiate
protected void badInstantiate(String name)
assertSendSecure
protected void assertSendSecure(Cookie c,
String urlS,
boolean isOk)
throws IOException
assertReceiveSecure
protected void assertReceiveSecure(Cookie c,
String url,
boolean isOk)
throws IOException
Written under the LGPL