Package org.fcrepo.migration
Class Example1TestSuite
- java.lang.Object
-
- org.fcrepo.migration.Example1TestSuite
-
- Direct Known Subclasses:
ExportedArchiveFoxmlMigratorTest,FoxmlStorageMigratorTest,LegacyFoxmlStorageMigratorTest
public abstract class Example1TestSuite extends Object
An abstract base class that defines some dummy classes useful for testing a Migrator instance and a suite of tests appropriate for a single example object. Subclasses may expose this example object in different ways.- Author:
- mdurbin
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExample1TestSuite.DummyHandlerstatic classExample1TestSuite.DummyIDResolverstatic classExample1TestSuite.DummyURLFetcherstatic classExample1TestSuite.SimpleObjectSource
-
Constructor Summary
Constructors Constructor Description Example1TestSuite()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract Example1TestSuite.DummyURLFetchergetFetcher()protected abstract Example1TestSuite.DummyHandlergetResult()voidtestAuditDatastreamParsing()voidtestDatastreamParsing()voidtestDCDatastreamParsing()voidtestDS1VersionedDatastreamParsing()voidtestDS2BinaryParsing()voidtestDS3RedirectParsing()voidtestDS4ExternalParsing()voidtestObjectInfoParsing()voidtestPropertiesParsing()
-
-
-
Constructor Detail
-
Example1TestSuite
public Example1TestSuite()
-
-
Method Detail
-
getResult
protected abstract Example1TestSuite.DummyHandler getResult()
-
getFetcher
protected abstract Example1TestSuite.DummyURLFetcher getFetcher()
-
testObjectInfoParsing
public void testObjectInfoParsing()
-
testPropertiesParsing
public void testPropertiesParsing()
-
testDatastreamParsing
public void testDatastreamParsing() throws XMLStreamException, IOException
- Throws:
XMLStreamExceptionIOException
-
testAuditDatastreamParsing
public void testAuditDatastreamParsing()
-
testDCDatastreamParsing
public void testDCDatastreamParsing() throws IOException
- Throws:
IOException
-
testDS1VersionedDatastreamParsing
public void testDS1VersionedDatastreamParsing() throws IOException
- Throws:
IOException
-
testDS2BinaryParsing
public void testDS2BinaryParsing() throws IOException
- Throws:
IOException
-
testDS3RedirectParsing
public void testDS3RedirectParsing() throws IOException
- Throws:
IOException
-
testDS4ExternalParsing
public void testDS4ExternalParsing() throws IOException
- Throws:
IOException
-
-