Class FileBackedHTTPResourceTest
- java.lang.Object
-
- net.shibboleth.ext.spring.resource.FileBackedHTTPResourceTest
-
public class FileBackedHTTPResourceTest extends Object
Test for FileBackedHTTPResource.
-
-
Field Summary
Fields Modifier and Type Field Description private org.apache.http.client.HttpClientclientprivate StringexistsFileprivate StringexistsURLprivate StringnonExistsURL
-
Constructor Summary
Constructors Constructor Description FileBackedHTTPResourceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteFile()voidexistsTest()GenericApplicationContextgetContext(String location)voidsetupClient()voidtestCompare()voidtestParsingNew()
-
-
-
Field Detail
-
existsURL
private final String existsURL
- See Also:
- Constant Field Values
-
nonExistsURL
private final String nonExistsURL
- See Also:
- Constant Field Values
-
existsFile
private String existsFile
-
client
private org.apache.http.client.HttpClient client
-
-
Method Detail
-
setupClient
@BeforeClass public void setupClient() throws Exception
- Throws:
Exception
-
deleteFile
@AfterClass public void deleteFile()
-
existsTest
public void existsTest() throws IOException- Throws:
IOException
-
testCompare
public void testCompare() throws IOException- Throws:
IOException
-
getContext
public GenericApplicationContext getContext(String location)
-
testParsingNew
public void testParsingNew() throws IOException- Throws:
IOException
-
-