Class RunnableResourceTest
- java.lang.Object
-
- net.shibboleth.ext.spring.resource.RunnableResourceTest
-
public class RunnableResourceTest extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classRunnableResourceTest.CustomObject
-
Field Summary
Fields Modifier and Type Field Description private StringfileNameprivate RunnableResourceTest.CustomObjectobject
-
Constructor Summary
Constructors Constructor Description RunnableResourceTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteFile()private bytegetValue(Resource resource)voidreset()voidsetupClient()voidtestCustomObject()voidtestResource()voidtestRunnable()voidtestSpringLoad()
-
-
-
Field Detail
-
fileName
private String fileName
-
object
private RunnableResourceTest.CustomObject object
-
-
Method Detail
-
setupClient
@BeforeClass public void setupClient() throws Exception
- Throws:
Exception
-
deleteFile
@AfterClass public void deleteFile()
-
getValue
private byte getValue(Resource resource) throws IOException
- Throws:
IOException
-
reset
@BeforeMethod public void reset()
-
testCustomObject
public void testCustomObject() throws IOException- Throws:
IOException
-
testRunnable
public void testRunnable() throws ScriptException, ComponentInitializationException
-
testResource
public void testResource() throws ScriptException, ComponentInitializationException, IOException, InterruptedException
-
testSpringLoad
public void testSpringLoad()
-
-