|
|||||||||
| Home >> All >> com >> tripi >> asp >> [ test overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.tripi.asp.test
Class ObjectsTest.ResponseTest

java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
com.tripi.asp.test.ObjectsTest.ResponseTest
- All Implemented Interfaces:
- junit.framework.Test
- Enclosing class:
- ObjectsTest
- public static class ObjectsTest.ResponseTest
- extends junit.framework.TestCase
This class contains the response object tests
| Field Summary |
| Fields inherited from class junit.framework.TestCase |
|
| Constructor Summary | |
ObjectsTest.ResponseTest(java.lang.String name)
|
|
| Method Summary | |
void |
testAddHeader1()
Add a header to the output. |
void |
testBinaryWrite1()
Test binary write statement |
void |
testBuffer1()
Buffering on |
void |
testBuffer2()
Buffering off |
void |
testBuffer3()
Buffering default |
void |
testCacheControl1()
Cache control, placebo |
void |
testCacheControl2()
Cache control, explicitly set to public. |
void |
testCacheControl3()
Cache control, explicitly set to private. |
void |
testCharset1()
charset, setting |
void |
testClear1()
Clear the output buffer |
void |
testContentType1()
Content-Type, setting |
void |
testCookies1()
Simple cookies test |
void |
testCookies2()
Multiple cookies test |
void |
testCookies3()
Single cookie, multiple values, test |
void |
testCookies4()
Single cookie, embedded weird characters. |
void |
testCookies5()
Single cookie, setting the path |
void |
testCookies6()
Single cookie, setting the expires date |
void |
testCookies7()
Single cookie, setting security on |
void |
testCookies8()
Test HasKeys, no keys |
void |
testCookies9()
Test HasKeys, has keys |
void |
testEnd1()
end processing |
void |
testExpires1()
Expires, ten minutes |
void |
testExpires2()
Expires, zero minutes |
void |
testExpiresAbsolute1()
Expires absolute, future date |
void |
testExpiresAbsolute2()
Expires absolute, past date |
void |
testFlush1()
Flush the output buffer, this doesn't test it very well. |
void |
testRedirect1()
Redirects the browser. |
void |
testWrite1()
Writes output to the client. |
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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 |
ObjectsTest.ResponseTest
public ObjectsTest.ResponseTest(java.lang.String name) throws com.tripi.asp.AspException
| Method Detail |
testCookies1
public void testCookies1()
throws com.tripi.asp.AspException,
java.net.MalformedURLException,
java.io.IOException
- Simple cookies test
testCookies2
public void testCookies2()
throws com.tripi.asp.AspException,
java.net.MalformedURLException,
java.io.IOException
- Multiple cookies test
testCookies3
public void testCookies3()
throws com.tripi.asp.AspException,
java.net.MalformedURLException,
java.io.IOException
- Single cookie, multiple values, test
testCookies4
public void testCookies4()
throws com.tripi.asp.AspException,
java.net.MalformedURLException,
java.io.IOException
- Single cookie, embedded weird characters.
testCookies5
public void testCookies5()
throws com.tripi.asp.AspException,
java.net.MalformedURLException,
java.io.IOException
- Single cookie, setting the path
testCookies6
public void testCookies6()
throws com.tripi.asp.AspException,
java.net.MalformedURLException,
java.io.IOException
- Single cookie, setting the expires date
testCookies7
public void testCookies7()
throws com.tripi.asp.AspException,
java.net.MalformedURLException,
java.io.IOException
- Single cookie, setting security on
testCookies8
public void testCookies8()
throws com.tripi.asp.AspException,
java.net.MalformedURLException,
java.io.IOException
- Test HasKeys, no keys
testCookies9
public void testCookies9()
throws com.tripi.asp.AspException,
java.net.MalformedURLException,
java.io.IOException
- Test HasKeys, has keys
testBuffer1
public void testBuffer1()
throws com.tripi.asp.AspException,
java.net.MalformedURLException,
java.io.IOException
- Buffering on
testBuffer2
public void testBuffer2()
throws com.tripi.asp.AspException,
java.net.MalformedURLException,
java.io.IOException
- Buffering off
testBuffer3
public void testBuffer3()
throws com.tripi.asp.AspException,
java.net.MalformedURLException,
java.io.IOException
- Buffering default
testCacheControl1
public void testCacheControl1()
throws com.tripi.asp.AspException,
java.net.MalformedURLException,
java.io.IOException
- Cache control, placebo
testCacheControl2
public void testCacheControl2()
throws com.tripi.asp.AspException,
java.net.MalformedURLException,
java.io.IOException
- Cache control, explicitly set to public.
testCacheControl3
public void testCacheControl3()
throws com.tripi.asp.AspException,
java.net.MalformedURLException,
java.io.IOException
- Cache control, explicitly set to private.
testCharset1
public void testCharset1()
throws com.tripi.asp.AspException,
java.net.MalformedURLException,
java.io.IOException
- charset, setting
testContentType1
public void testContentType1()
throws com.tripi.asp.AspException,
java.net.MalformedURLException,
java.io.IOException
- Content-Type, setting
testExpires1
public void testExpires1()
throws com.tripi.asp.AspException,
java.net.MalformedURLException,
java.io.IOException
- Expires, ten minutes
testExpires2
public void testExpires2()
throws com.tripi.asp.AspException,
java.net.MalformedURLException,
java.io.IOException
- Expires, zero minutes
testExpiresAbsolute1
public void testExpiresAbsolute1()
throws com.tripi.asp.AspException,
java.net.MalformedURLException,
java.io.IOException
- Expires absolute, future date
testExpiresAbsolute2
public void testExpiresAbsolute2()
throws com.tripi.asp.AspException,
java.net.MalformedURLException,
java.io.IOException
- Expires absolute, past date
testAddHeader1
public void testAddHeader1()
throws com.tripi.asp.AspException,
java.net.MalformedURLException,
java.io.IOException
- Add a header to the output.
testBinaryWrite1
public void testBinaryWrite1()
throws com.tripi.asp.AspException,
java.net.MalformedURLException,
java.io.IOException
- Test binary write statement
testClear1
public void testClear1()
throws com.tripi.asp.AspException,
java.net.MalformedURLException,
java.io.IOException
- Clear the output buffer
testEnd1
public void testEnd1()
throws com.tripi.asp.AspException,
java.net.MalformedURLException,
java.io.IOException
- end processing
testFlush1
public void testFlush1()
throws com.tripi.asp.AspException,
java.net.MalformedURLException,
java.io.IOException
- Flush the output buffer, this doesn't test it very well.
testRedirect1
public void testRedirect1()
throws com.tripi.asp.AspException,
java.net.MalformedURLException,
java.io.IOException
- Redirects the browser.
testWrite1
public void testWrite1()
throws com.tripi.asp.AspException,
java.net.MalformedURLException,
java.io.IOException
- Writes output to the client.
|
|||||||||
| Home >> All >> com >> tripi >> asp >> [ test overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC