|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
net.sourceforge.jwebunit.junit.WebTestCase
net.sourceforge.jwebunit.tests.JWebUnitAPITestCase
net.sourceforge.jwebunit.tests.WebCookieTest
public class WebCookieTest
Test the Cookies methods provided by WebTestCase.
| Field Summary |
|---|
| Fields inherited from class net.sourceforge.jwebunit.tests.JWebUnitAPITestCase |
|---|
HOST_PATH, JETTY_PORT, JETTY_URL, NOARGS |
| Fields inherited from class net.sourceforge.jwebunit.junit.WebTestCase |
|---|
customTester, tester |
| Constructor Summary | |
|---|---|
WebCookieTest()
|
|
| Method Summary | |
|---|---|
void |
setUp()
|
static junit.framework.Test |
suite()
|
void |
testAddAnotherCookie()
|
void |
testAddCookie()
|
void |
testAssertCookieMatch()
|
void |
testAssertCookiePresent()
|
void |
testAssertCookieValue()
|
void |
testCookieWithoutExplicitSet()
Test that the cookie still exists across multiple requests, even if the cookie is not explicitly set each time. |
| Methods inherited from class net.sourceforge.jwebunit.tests.JWebUnitAPITestCase |
|---|
assertException, assertFail, assertFail, assertPass, assertPass, assertPassFail, assertPassFail |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runTest, setName, 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, failNotEquals, failNotSame, failSame, format |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WebCookieTest()
| Method Detail |
|---|
public static junit.framework.Test suite()
public void setUp()
throws java.lang.Exception
setUp in class JWebUnitAPITestCasejava.lang.Exceptionpublic void testAddCookie()
public void testAddAnotherCookie()
public void testAssertCookiePresent()
throws java.lang.Throwable
java.lang.Throwable
public void testAssertCookieValue()
throws java.lang.Throwable
java.lang.Throwable
public void testAssertCookieMatch()
throws java.lang.Throwable
java.lang.Throwablepublic void testCookieWithoutExplicitSet()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||