public class FilesystemLoadSaveManagerTest extends XMLObjectBaseTestCase
| Modifier and Type | Field and Description |
|---|---|
private File |
baseDir |
private Logger |
log |
private org.opensaml.core.xml.persist.FilesystemLoadSaveManager<SimpleXMLObject> |
manager |
builderFactory, marshallerFactory, parserPool, simpleXMLObjectQName, unmarshallerFactory| Constructor and Description |
|---|
FilesystemLoadSaveManagerTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
buildTargetFileFromKey() |
protected <T extends org.opensaml.core.xml.XMLObject> |
buildXMLObject(QName name,
boolean withObjectSource) |
void |
ctorBaseDirPathExistsButNotADirectory() |
void |
ctorCreateDirectory() |
void |
ctorEmptyPathString() |
void |
ctorNullFile() |
void |
ctorPathTrimming() |
void |
ctorRelativeDir() |
void |
emptyDir() |
void |
iterator() |
private void |
resetBaseDir() |
void |
saveLoadUpdateRemove(Boolean buildWithObjectSourceByteArray) |
Object[][] |
saveLoadUpdateRemoveParams() |
void |
setUp() |
void |
targetExistsButIsNotAFile() |
void |
targetKeyIsEmpty() |
void |
targetKeyIsNull() |
void |
tearDown() |
private void |
testState(Set<String> expectedKeys) |
assertXMLEquals, assertXMLEquals, buildXMLObject, fetchDuration, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElementinitOpenSAMLprivate Logger log
private File baseDir
private org.opensaml.core.xml.persist.FilesystemLoadSaveManager<SimpleXMLObject> manager
public void setUp()
throws IOException
IOExceptionpublic void tearDown()
throws IOException
IOExceptionpublic void emptyDir()
throws IOException
IOExceptionpublic Object[][] saveLoadUpdateRemoveParams()
public void saveLoadUpdateRemove(Boolean buildWithObjectSourceByteArray) throws IOException
IOExceptionpublic void buildTargetFileFromKey()
throws IOException
IOExceptionpublic void targetExistsButIsNotAFile()
throws IOException
IOExceptionpublic void targetKeyIsNull()
throws IOException
IOExceptionpublic void targetKeyIsEmpty()
throws IOException
IOExceptionpublic void ctorCreateDirectory()
throws IOException
IOExceptionpublic void ctorPathTrimming()
throws IOException
IOExceptionpublic void ctorEmptyPathString()
public void ctorNullFile()
public void ctorRelativeDir()
public void ctorBaseDirPathExistsButNotADirectory()
throws IOException
IOExceptionpublic void iterator()
throws IOException
IOExceptionprivate void testState(Set<String> expectedKeys) throws IOException
IOExceptionprivate void resetBaseDir()
throws IOException
IOExceptionprotected <T extends org.opensaml.core.xml.XMLObject> T buildXMLObject(QName name, boolean withObjectSource)
Copyright © 1999–2016 Shibboleth Consortium. All rights reserved.