|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.codehaus.plexus.spring.PlexusInSpringTestCase org.apache.continuum.purge.AbstractPurgeTest org.apache.continuum.purge.executor.AbstractPurgeExecutorTest org.apache.continuum.purge.executor.RetentionCountRepositoryPurgeExecutorTest
public class RetentionCountRepositoryPurgeExecutorTest
Tests were taken from Archiva and just added a check if the metadata was deleted.
Field Summary |
---|
Fields inherited from class org.apache.continuum.purge.executor.AbstractPurgeExecutorTest |
---|
purgeBuildOutputDirTask, purgeDefaultRepoTask, purgeExecutor, purgeReleasesDirTask |
Fields inherited from class org.apache.continuum.purge.AbstractPurgeTest |
---|
defaultBuildOutputDirPurge, defaultReleasesDirPurge, defaultRepoPurge, defaultRepository, directoryPurgeConfigurationDao, localRepositoryDao, repositoryPurgeConfigurationDao, TEST_BUILDOUTPUT_DIRECTORY_TYPE, TEST_DAYS_OLDER, TEST_RELEASES_DIRECTORY_TYPE, TEST_RETENTION_COUNT |
Fields inherited from class org.codehaus.plexus.spring.PlexusInSpringTestCase |
---|
applicationContext |
Constructor Summary | |
---|---|
RetentionCountRepositoryPurgeExecutorTest()
|
Method Summary | |
---|---|
protected void |
setUp()
|
void |
testOrderOfDeletion()
|
void |
testRetentionCountPurging()
|
Methods inherited from class org.apache.continuum.purge.AbstractPurgeTest |
---|
getBuildOutputDirectoryLocation, getDefaultRepositoryLocation, getReleasesDirectoryLocation, init |
Methods inherited from class org.codehaus.plexus.spring.PlexusInSpringTestCase |
---|
getApplicationContext, getBasedir, getConfigLocations, getContainer, getPlexusConfigLocation, getResourceAsStream, getSpringConfigLocation, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RetentionCountRepositoryPurgeExecutorTest()
Method Detail |
---|
protected void setUp() throws Exception
setUp
in class AbstractPurgeExecutorTest
Exception
public void testRetentionCountPurging() throws Exception
Exception
public void testOrderOfDeletion() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |