org.apache.continuum.purge.executor
Class DaysOldDirectoryPurgeExecutorTest

Package class diagram package DaysOldDirectoryPurgeExecutorTest
java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.spring.PlexusInSpringTestCase
              extended by org.apache.continuum.purge.AbstractPurgeTest
                  extended by org.apache.continuum.purge.executor.AbstractPurgeExecutorTest
                      extended by org.apache.continuum.purge.executor.DaysOldDirectoryPurgeExecutorTest
All Implemented Interfaces:
junit.framework.Test

public class DaysOldDirectoryPurgeExecutorTest
extends AbstractPurgeExecutorTest

Author:
Maria Catherine Tan

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
DaysOldDirectoryPurgeExecutorTest()
           
 
Method Summary
protected  void setUp()
           
 void testBuildOutputPurgingByLastModified()
           
 void testBuildOutputPurgingByOrderOfDeletion()
           
 void testReleasesDirPurgingByLastModified()
           
 void testReleasesDirPurgingByOrderOfDeletion()
           
 
Methods inherited from class org.apache.continuum.purge.executor.AbstractPurgeExecutorTest
assertDeleted, assertExists, assertIsEmpty, assertMetadataDeleted, getCleanAllBuildOutputDirPurgeTask, getCleanAllDefaultRepoPurgeTask, getCleanAllReleasesDirPurgeTask, getDaysOldBuildOutputDirPurgeTask, getDaysOldReleasesDirPurgeTask, getDaysOldRepoPurgeTask, getReleasedSnapshotsRepoPurgeTask, getRetentionCountBuildOutputDirPurgeTask, getRetentionCountReleasesDirPurgeTask, getRetentionCountRepoPurgeTask, populateBuildOutputDirectory, populateDefaultRepository, populateDefaultRepositoryForReleasedSnapshots, populateDefaultRepositoryForRetentionCount, populateReleasesDirectory, setLastModified, tearDown
 
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

DaysOldDirectoryPurgeExecutorTest

public DaysOldDirectoryPurgeExecutorTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class AbstractPurgeExecutorTest
Throws:
Exception

testReleasesDirPurgingByLastModified

public void testReleasesDirPurgingByLastModified()
                                          throws Exception
Throws:
Exception

testReleasesDirPurgingByOrderOfDeletion

public void testReleasesDirPurgingByOrderOfDeletion()
                                             throws Exception
Throws:
Exception

testBuildOutputPurgingByLastModified

public void testBuildOutputPurgingByLastModified()
                                          throws Exception
Throws:
Exception

testBuildOutputPurgingByOrderOfDeletion

public void testBuildOutputPurgingByOrderOfDeletion()
                                             throws Exception
Throws:
Exception


Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.