Class ConditionalResourceTest
- java.lang.Object
-
- net.shibboleth.ext.spring.resource.ConditionalResourceTest
-
public class ConditionalResourceTest extends Object
Test forConditionalResource.
-
-
Field Summary
Fields Modifier and Type Field Description private org.apache.http.client.HttpClientclientprivate StringexistsURLprivate StringnonExistsURL
-
Constructor Summary
Constructors Constructor Description ConditionalResourceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcontextHandlerFailAfterTest()voidcontextHandlerFailBeforeTest()voidexistsTest()voidsetupClient()voidtestBeanExists()voidtestBeanMissing()voidtestCompare()voidtestImport()
-
-
-
Method Detail
-
setupClient
@BeforeClass public void setupClient() throws Exception
- Throws:
Exception
-
existsTest
public void existsTest() throws IOException, ComponentInitializationException
-
contextHandlerFailBeforeTest
public void contextHandlerFailBeforeTest() throws IOException, ComponentInitializationException
-
contextHandlerFailAfterTest
public void contextHandlerFailAfterTest() throws IOException, ComponentInitializationException
-
testCompare
public void testCompare() throws IOException, ComponentInitializationException
-
testBeanExists
public void testBeanExists()
-
testBeanMissing
public void testBeanMissing()
-
testImport
public void testImport()
-
-