org.apache.continuum.purge.executor
Class CleanAllPurgeExecutorTest

Package class diagram package CleanAllPurgeExecutorTest
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.CleanAllPurgeExecutorTest
All Implemented Interfaces:
junit.framework.Test

public class CleanAllPurgeExecutorTest
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
CleanAllPurgeExecutorTest()
           
 
Method Summary
protected  void setUp()
           
 void testCleanAllBuildOutputPurging()
           
 void testCleanAllReleasesPurging()
           
 void testCleanAllRepositoryPurging()
           
 
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

CleanAllPurgeExecutorTest

public CleanAllPurgeExecutorTest()
Method Detail

setUp

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

testCleanAllRepositoryPurging

public void testCleanAllRepositoryPurging()
                                   throws Exception
Throws:
Exception

testCleanAllReleasesPurging

public void testCleanAllReleasesPurging()
                                 throws Exception
Throws:
Exception

testCleanAllBuildOutputPurging

public void testCleanAllBuildOutputPurging()
                                    throws Exception
Throws:
Exception


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