These tables document tests that were available in the ANT build framework and how they have migrated in the Maven2 restructuring. It is being used primarily as a book-keeping aid to make sure no tests fall through the cracks during the transition of build framework.
The basedir for the ANT build is at the top of the baseline, whereas the basedir of the Maven2 build is at the top of each subproject (e.g. /server, /common, ...). There are some places in the source code that hard-code relative paths to resources (yes, yes. It's on the list). Since relative paths can not be reconciled between builds with different basedirs, some of the following test have been demostrated to work with path modifications, but have temporarily been excluded from the Maven2 build until we are no longer are maintaining ANT builds.
This table tracks all of the test classes that were run with the following command
ant junit
Note: this command is an alias for
ant junit -Dtest=fedora.test.AllOfflineTests
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="c7a332bf-49f4-4465-b70f-55fe224d7e02"><ac:plain-text-body><![CDATA[ |
Test Classes |
M2 unit or integration [on / off] |
]]></ac:plain-text-body></ac:structured-macro> |
|
---|---|---|---|---|
client |
|
|||
fedora.client.utility.validate.process.TestPidfileIterator |
unit |
|||
fedora.client.utility.validate.process.TestValidatorProcessParameters |
unit |
|||
fedora.client.utility.validate.TestObjectValidator |
unit |
|||
fedora.client.utility.validate.types.TestDsCompositeModelDoc |
unit |
|||
common |
|
|||
fedora.common.TestPID |
unit |
|||
server |
|
|||
fedora.server.journal.helpers.TestParameterHelper |
unit |
|||
fedora.server.journal.helpers.TestPasswordCipher |
unit |
|||
fedora.server.journal.readerwriter.multicast.rmi.TestRmiTransport |
unit |
|||
fedora.server.journal.readerwriter.multicast.TestJournalEntrySizeEstimator |
unit |
|||
fedora.server.journal.readerwriter.multicast.TestMulticastJournalWriterInitializations |
unit |
|||
fedora.server.journal.readerwriter.multifile.TestLockingFollowingJournalReader |
unit |
|||
fedora.server.journal.TestJournalRoundTrip |
unit |
|||
fedora.server.journal.xmlhelpers.TestContextXmlWriterAndReader |
unit |
|||
fedora.server.messaging.JMSManagerTest |
unit |
|||
fedora.server.proxy.ProxyFactoryTest |
unit |
|||
fedora.server.search.TestFieldSearchSQLImpl |
unit |
|||
fedora.server.security.TestPolicyParser |
unit |
|||
fedora.server.storage.lowlevel.akubra.AkubraLowlevelStorageTest |
unit |
|||
fedora.server.storage.lowlevel.akubra.HashPathIdMapperTest |
unit |
|||
fedora.server.storage.translation.TestAtomDODeserializer |
unit |
|||
fedora.server.storage.translation.TestAtomDOSerializer |
unit |
|||
fedora.server.storage.translation.TestDOTranslatorImpl |
unit |
|||
fedora.server.storage.translation.TestFOXML1_0DODeserializer |
unit |
|||
fedora.server.storage.translation.TestFOXML1_0DOSerializer |
unit |
|||
fedora.server.storage.translation.TestFOXML1_1DODeserializer |
unit |
|||
fedora.server.storage.translation.TestFOXML1_1DOSerializer |
unit |
|||
fedora.server.storage.translation.TestMETSFedoraExt1_0DODeserializer |
unit |
|||
fedora.server.storage.translation.TestMETSFedoraExt1_0DOSerializer |
unit |
|||
fedora.server.storage.translation.TestMETSFedoraExt1_1DODeserializer |
unit |
|||
fedora.server.storage.translation.TestMETSFedoraExt1_1DOSerializer |
unit |
|||
fedora.server.utilities.DCFieldsTest |
unit |
|||
fedora.server.utilities.TestDateUtility |
unit |
|||
fedora.server.validation.DOValidatorXMLSchemaTest |
unit |
|||
fedora.server.validation.RelsExtValidatorTest |
unit |
|||
fedora.server.validation.ValidationUtilityTest |
unit |
|||
fedora.utilities.install.container.TestFedoraWebXML |
unit |
|||
fedora.utilities.install.container.TestTomcatServerXML |
unit |
|||
fedora.utilities.NamespaceContextImplTest |
unit |
|||
fedora.utilities.TestBase64 |
unit |
|||
fedora.utilities.TestFileUtils |
unit |
|||
fedora.utilities.TestZip |
unit |
|||
fedora.server.resourceIndex.ResourceIndexAddDelDSIntegrationTest |
integration |
|||
fedora.server.resourceIndex.ResourceIndexAddDelMiscIntegrationTest |
integration |
|||
fedora.server.resourceIndex.ResourceIndexDatePrecisionIntegrationTest |
integration |
|||
fedora.server.resourceIndex.ResourceIndexModDSIntegrationTest |
integration |
|||
fedora.server.resourceIndex.ResourceIndexModMiscIntegrationTest |
integration |
|||
fedora.server.search.FieldSearchSQLImplIntegrationTest |
integration |
|||
fedora.server.utilities.DerbyDDLConverterIntegrationTest |
integration |
|||
integrationtest |
|
configA |
configB |
configQ |
fedora.client.utility.ingest.TestIngest |
integration |
|||
fedora.server.config.TestServerConfiguration |
integration |
|||
fedora.server.messaging.AtomAPIMMessageTest |
integration |
|||
fedora.server.messaging.NotificationInvocationHandlerTest |
integration (hangs intermittently) |
|||
fedora.server.storage.translation.DOTranslationUtilityTest |
integration |
This table tracks all of the test classes that were run with the following commands
ant junit -Dtest=fedora.test.AllSystemTestsConfigA
ant junit -Dtest=fedora.test.AllSystemTestsConfigB
ant junit -Dtest=fedora.test.AllSystemTestsConfigQ
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="d1b31766-f1db-4dfb-b0fc-f773a1bf53d0"><ac:plain-text-body><![CDATA[ |
integrationtest |
M2 unit or integration [on / off] |
configA |
configB |
configQ |
]]></ac:plain-text-body></ac:structured-macro> |
---|---|---|---|---|---|---|
fedora.test.api.TestAPIA |
integration |
|||||
fedora.test.api.TestAPIAConfigA |
integration |
|
||||
fedora.test.api.TestAPIALite |
integration |
|||||
fedora.test.api.TestAPIALiteConfigA |
integration |
|
||||
fedora.test.api.TestAPIM |
integration |
|||||
fedora.test.api.TestAPIMLite |
integration |
|||||
fedora.test.api.TestAuthentication |
integration |
|
|
|||
fedora.test.api.TestHTTPStatusCodes |
integration |
|
||||
fedora.test.api.TestHTTPStatusCodesConfigA |
integration |
|
|
|||
fedora.test.api.TestHTTPStatusCodesConfigB |
integration |
|
|
|||
fedora.test.api.TestHTTPStatusCodesConfigQ |
integration |
|
|
|||
fedora.test.api.TestManagedDatastreams |
integration |
|||||
fedora.test.api.TestManagementNotifications |
integration |
|
|
|||
fedora.test.api.TestManyDisseminations |
integration |
|
||||
fedora.test.api.TestRelationships |
integration |
|
|
|||
fedora.test.api.TestRESTAPI |
integration |
|
|
|||
fedora.test.api.TestRISearch |
integration |
|
|
|||
fedora.test.api.TestXACMLPolicies |
integration |
|
|
|||
fedora.test.integration.cma.ConflictingDeploymentTests |
integration |
|||||
fedora.test.integration.cma.ContentModelDSInputTest |
integration |
|||||
fedora.test.integration.cma.SharedDeploymentTests |
integration |
|||||
fedora.test.integration.cma.SimpleDeploymentTests |
integration has bug, see file |
|
|
|
||
fedora.test.integration.TestCommandLineFormats |
integration |
|||||
fedora.test.integration.TestCommandLineUtilities |
integration |
|||||
fedora.test.integration.TestLargeDatastreams |
integration |
|
|
|
||
fedora.test.integration.TestOAIService |
integration |
For one reason or another, there are some test classes that have not been aggregated into any of the ANT/Junit test suites. Since Maven2 does not rely on the use of "suites", it has picked up these test classes that were not being run before with ANT.
Test Classes |
M2 unit or integration or off |
---|---|
server |
|
fedora.server.journal.readerwriter.multicast.rmi.TestRmiJournalReceiver |
unit |
fedora.server.journal.readerwriter.multicast.rmi.TestRmiTransportWriter |
unit |
fedora.server.journal.readerwriter.multicast.TestLocalDirectoryTransport |
unit |
fedora.server.journal.readerwriter.multicast.TestMulticastJournalWriterOperation |
unit |
fedora.server.messaging.JNDITest |
unit |
fedora.server.security.servletfilters.xmluserfile.TestFedoraUsers |
unit |
fedora.server.utilities.Log4jConfigListenerTest |
unit |
Then there are two test classes that are not being executed in an ANT/Junit test suite nor in the Maven2 test phase. That is simply because they do not pass.
Test Classes |
M2 unit or integration or off |
---|---|
client |
|
fedora.client.messaging.TestMessagingClient |
|
fedora.server.resourceIndex.ResourceIndexRebuilderTest |