mirror of https://github.com/apache/archiva.git
Core Consummers module: add @Override for unit test + attempt to fix CleanupReleaseSnapshotRepositoryPurgeTest
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1369920 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4ac722c2e8
commit
3d4b925a5e
|
@ -60,6 +60,7 @@ public abstract class AbstractArtifactConsumerTest
|
|||
|
||||
|
||||
@Before
|
||||
@Override
|
||||
public void setUp()
|
||||
throws Exception
|
||||
{
|
||||
|
@ -74,6 +75,7 @@ public abstract class AbstractArtifactConsumerTest
|
|||
}
|
||||
|
||||
@After
|
||||
@Override
|
||||
public void tearDown()
|
||||
throws Exception
|
||||
{
|
||||
|
|
|
@ -36,6 +36,7 @@ public class ArtifactMissingChecksumsConsumerTest
|
|||
private ManagedRepository repoConfig;
|
||||
|
||||
@Before
|
||||
@Override
|
||||
public void setUp()
|
||||
throws Exception
|
||||
{
|
||||
|
|
|
@ -26,6 +26,7 @@ public class MetadataUpdateConsumerTest
|
|||
extends AbstractArtifactConsumerTest
|
||||
{
|
||||
@Before
|
||||
@Override
|
||||
public void setUp()
|
||||
throws Exception
|
||||
{
|
||||
|
|
|
@ -100,6 +100,7 @@ public abstract class AbstractRepositoryPurgeTest
|
|||
|
||||
|
||||
@Before
|
||||
@Override
|
||||
public void setUp()
|
||||
throws Exception
|
||||
{
|
||||
|
@ -120,6 +121,7 @@ public abstract class AbstractRepositoryPurgeTest
|
|||
}
|
||||
|
||||
@After
|
||||
@Override
|
||||
public void tearDown()
|
||||
throws Exception
|
||||
{
|
||||
|
|
|
@ -62,6 +62,7 @@ public class CleanupReleasedSnapshotsRepositoryPurgeTest
|
|||
MetadataTools metadataTools;
|
||||
|
||||
@Before
|
||||
@Override
|
||||
public void setUp()
|
||||
throws Exception
|
||||
{
|
||||
|
@ -222,6 +223,9 @@ public class CleanupReleasedSnapshotsRepositoryPurgeTest
|
|||
assertExists( releasesProjectRoot + "/1.0/released-artifact-in-diff-repo-1.0.pom" );
|
||||
assertExists( releasesProjectRoot + "/1.0/released-artifact-in-diff-repo-1.0.pom.md5" );
|
||||
assertExists( releasesProjectRoot + "/1.0/released-artifact-in-diff-repo-1.0.pom.sha1" );
|
||||
|
||||
// remove RELEASES_TEST_REPO_ID so this test will be more independant
|
||||
applicationContext.getBean( ManagedRepositoryAdmin.class ).deleteManagedRepository( RELEASES_TEST_REPO_ID, null, false );
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
|
@ -49,6 +49,7 @@ public class DaysOldRepositoryPurgeTest
|
|||
}
|
||||
|
||||
@After
|
||||
@Override
|
||||
public void tearDown()
|
||||
throws Exception
|
||||
{
|
||||
|
|
|
@ -46,6 +46,7 @@ public class RepositoryPurgeConsumerTest
|
|||
extends AbstractRepositoryPurgeTest
|
||||
{
|
||||
@Before
|
||||
@Override
|
||||
public void setUp()
|
||||
throws Exception
|
||||
{
|
||||
|
@ -56,6 +57,7 @@ public class RepositoryPurgeConsumerTest
|
|||
}
|
||||
|
||||
@After
|
||||
@Override
|
||||
public void tearDown()
|
||||
throws Exception
|
||||
{
|
||||
|
|
|
@ -35,6 +35,7 @@ public class RetentionCountRepositoryPurgeTest
|
|||
extends AbstractRepositoryPurgeTest
|
||||
{
|
||||
@Before
|
||||
@Override
|
||||
public void setUp()
|
||||
throws Exception
|
||||
{
|
||||
|
@ -47,6 +48,7 @@ public class RetentionCountRepositoryPurgeTest
|
|||
}
|
||||
|
||||
@After
|
||||
@Override
|
||||
public void tearDown()
|
||||
throws Exception
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue