public class CacheEnforcementVisitorTest extends DomWalkerTestBase
| Modifier and Type | Field and Description |
|---|---|
protected Document |
doc |
GADGET_URI| Constructor and Description |
|---|
CacheEnforcementVisitorTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
testCreateNewHttpRequest() |
void |
testEmbedImgBypassedAndFetchNotTriggered() |
void |
testImgBypassedAndFetchNotTriggered() |
void |
testImgNotInCacheReservedAndFetchTriggered() |
void |
testImgWithCacheControlNoCacheReservedAndFetchNotTriggered() |
void |
testImgWithCacheControlNoStoreReservedAndFetchNotTriggered() |
void |
testImgWithCacheControlPrivateReservedAndFetchNotTriggered() |
void |
testImgWithErrorResponseReservedAndFetchNotTriggered() |
void |
testImgWithPragmaNoCacheReservedAndFetchNotTriggered() |
void |
testImgWithSetCookieButNotStrictNoCacheReservedAndFetchNotTriggered() |
void |
testStaleImgWithNegativeTtlReservedAndFetchTriggered() |
void |
testStaleImgWithZeroMaxAgeReservedAndFetchNotTriggered() |
protected Document doc
public void setUp()
setUp in class DomWalkerTestBasepublic void testStaleImgWithNegativeTtlReservedAndFetchTriggered()
throws Exception
Exceptionpublic void testStaleImgWithZeroMaxAgeReservedAndFetchNotTriggered()
throws Exception
Exceptionpublic void testImgWithErrorResponseReservedAndFetchNotTriggered()
throws Exception
Exceptionpublic void testImgBypassedAndFetchNotTriggered()
throws Exception
Exceptionpublic void testEmbedImgBypassedAndFetchNotTriggered()
throws Exception
Exceptionpublic void testImgNotInCacheReservedAndFetchTriggered()
throws Exception
Exceptionpublic void testImgWithCacheControlPrivateReservedAndFetchNotTriggered()
throws Exception
Exceptionpublic void testImgWithCacheControlNoCacheReservedAndFetchNotTriggered()
throws Exception
Exceptionpublic void testImgWithCacheControlNoStoreReservedAndFetchNotTriggered()
throws Exception
Exceptionpublic void testImgWithPragmaNoCacheReservedAndFetchNotTriggered()
throws Exception
ExceptionCopyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.