public class FileConnectorIT extends Object
| Constructor and Description |
|---|
FileConnectorIT() |
| Modifier and Type | Method and Description |
|---|---|
void |
testBreakFederation()
I should be able to create two subdirectories of a non-existent parent directory.
|
void |
testCopyFromProjection()
I should be able to copy objects from a federated filesystem to the repository.
|
void |
testCopyToProjection()
I should be able to copy objects from the repository to a federated filesystem.
|
void |
testFederatedDatastream()
I should be able to link to content on a federated filesystem.
|
void |
testGetProjectedNode()
Given a directory at: test-FileSystem1/ /ds1 /ds2 /TestSubdir/ and a projection of test-objects as
fedora:/files, then I should be able to retrieve an object from fedora:/files/FileSystem1 that lists a child
object at fedora:/files/FileSystem1/TestSubdir and lists datastreams ds and ds2
|
void |
testGetRepositoryGraph() |
void |
testLastModifiedUpdatedAfterUpdates()
When I make changes to a resource in a federated filesystem, the parent folder's Last-Modified header should be
updated.
|
void |
testUploadToProjection()
I should be able to upload a file to a read/write federated filesystem.
|
public FileConnectorIT()
public void testFederatedDatastream() throws IOException
IOException - thrown during this functionpublic void testGetProjectedNode() throws IOException
IOException - thrown during this functionpublic void testLastModifiedUpdatedAfterUpdates() throws IOException
IOException - thrown during this functionpublic void testCopyFromProjection()
public void testCopyToProjection() throws IOException
IOException - exception thrown during this functionpublic void testGetRepositoryGraph() throws IOException
IOExceptionpublic void testBreakFederation() throws IOException
IOException - thrown during this functionpublic void testUploadToProjection() throws IOException
IOException - thrown during this functionCopyright © 2013-2016 DuraSpace, Inc.. All Rights Reserved.