...
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.
ANT
...
Tests
...
ant junit
Note: this command is an alias for
ant junit -Dtest=fedora.test.AllOfflineTests
Temporarily Disabled
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.
Unit Tests
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
Test Classes | M2 unit or integration | Comment | [on | |
---|---|---|---|---|
client | 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.config.TestServerConfiguration | ||
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.AtomAPIMMessageTest | fedora.server.messaging.JMSManagerTest | unitfedora.server.messaging.NotificationInvocationHandlerTest | ||
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.DOTranslationUtilityTest | fedora.server.storage.translation.TestAtomDODeserializer |
| ||
fedora.server.storage.translation.TestAtomDOSerializer |
| |||
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 |
| |||
fedora.server.validation.RelsExtValidatorTest | unit | |||
fedora.server.validation.ValidationUtilityTest | unit | |||
fedora.utilities.install.container.TestFedoraWebXML |
| |||
fedora.utilities.install.container.TestTomcatServerXML | unit | |||
fedora.utilities.NamespaceContextImplTest | unit | |||
fedora.utilities.TestBase64 | unit | |||
fedora.utilities.TestFileUtils | unit | |||
fedora.utilities.TestZip | unit | integrationtest |
| |
fedora.server.resourceIndex.ResourceIndexAddDelDSIntegrationTest |
| |||
fedora.server.resourceIndex.ResourceIndexAddDelMiscIntegrationTest |
| |||
fedora.server.resourceIndex.ResourceIndexDatePrecisionIntegrationTest |
| |||
fedora.server.resourceIndex.ResourceIndexModDSIntegrationTest |
| |||
fedora.server.resourceIndex.ResourceIndexModMiscIntegrationTest |
| |||
fedora.server.search.FieldSearchSQLImplIntegrationTest |
| |||
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 |
System Tests
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
integrationtest | M2 unit or integration [on | configA | configB | configQ |
---|---|---|---|---|
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 |
|
|
|
fedora.test.integration.TestCommandLineFormats | integration | |||
fedora.test.integration.TestCommandLineUtilities | integration | |||
fedora.test.integration.TestLargeDatastreams | integration |
|
|
|
fedora.test.integration.TestOAIService | integration |
Not Executed with ANT
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 |
Not Executed, Not Functioning
Then there is one are two test class classes that is are not being executed in a an ANT/Junit test suite nor in the Maven2 test phase. That is simply because it does they do not pass.
Test Classes | M2 unit or integration or off | Comment | |
---|---|---|---|
client |
|
| |
fedora.client.messaging.TestMessagingClient | n/a | ||
fedora.server.resourceIndex.ResourceIndexRebuilderTest |
|