Class HTTPResourceTest
java.lang.Object
net.shibboleth.shared.spring.httpclient.resource.HTTPResourceTest
Test for HTTPResource.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidprivate voidvoidprivate GenericApplicationContextgetContext(String fileName, File theDir) voidvoidvoidvoidvoidvoidvoidvoid
-
Field Details
-
documentPath
- See Also:
-
existsURL
- See Also:
-
nonExistsURL
-
client
private org.apache.hc.client5.http.classic.HttpClient client
-
-
Constructor Details
-
HTTPResourceTest
public HTTPResourceTest()
-
-
Method Details
-
setupClient
- Throws:
Exception
-
existsTest
- Throws:
IOException
-
contextHandlerNoopTest
- Throws:
IOException
-
contextHandlerFailBeforeTest
- Throws:
IOException
-
contextHandlerFailAfterTest
- Throws:
IOException
-
testCompare
- Throws:
IOException
-
testRelated
- Throws:
IOException
-
testCachedNoCache
- Throws:
IOExceptionInterruptedException
-
testCachedCache
- Throws:
Exception
-
getContext
-
springLoadMemCache
- Throws:
IOException
-
emptyDir
-
springLoadFileCache
- Throws:
IOException
-
testCloseResponse
public void testCloseResponse()
-