Package org.fcrepo.migration
Class ExportedArchiveFoxmlMigratorTest
- java.lang.Object
-
- org.fcrepo.migration.Example1TestSuite
-
- org.fcrepo.migration.ExportedArchiveFoxmlMigratorTest
-
public class ExportedArchiveFoxmlMigratorTest extends Example1TestSuite
A series of tests that cover all the features used in processing FOXML exported using the context=archive option.- Author:
- mdurbin
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.fcrepo.migration.Example1TestSuite
Example1TestSuite.DummyHandler, Example1TestSuite.DummyIDResolver, Example1TestSuite.DummyURLFetcher, Example1TestSuite.SimpleObjectSource
-
-
Constructor Summary
Constructors Constructor Description ExportedArchiveFoxmlMigratorTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Example1TestSuite.DummyURLFetchergetFetcher()protected Example1TestSuite.DummyHandlergetResult()voidprocessFoxml()voidtestTempFileRemoval()-
Methods inherited from class org.fcrepo.migration.Example1TestSuite
testAuditDatastreamParsing, testDatastreamParsing, testDCDatastreamParsing, testDS1VersionedDatastreamParsing, testDS2BinaryParsing, testDS3RedirectParsing, testDS4ExternalParsing, testObjectInfoParsing, testPropertiesParsing
-
-
-
-
Constructor Detail
-
ExportedArchiveFoxmlMigratorTest
public ExportedArchiveFoxmlMigratorTest()
-
-
Method Detail
-
processFoxml
public void processFoxml() throws XMLStreamException, IOException
- Throws:
XMLStreamExceptionIOException
-
getResult
protected Example1TestSuite.DummyHandler getResult()
- Specified by:
getResultin classExample1TestSuite
-
getFetcher
protected Example1TestSuite.DummyURLFetcher getFetcher()
- Specified by:
getFetcherin classExample1TestSuite
-
testTempFileRemoval
public void testTempFileRemoval() throws IOException
- Throws:
IOException
-
-