mirror of https://github.com/apache/archiva.git
remove a FIXME as it's fixed and covered by a unit test too RepositoryGroupAdminTest#addAndDeleteGroupWithRemowingManagedRepo
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1188327 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
012628c137
commit
013ee7f312
|
@ -263,8 +263,6 @@ public class DefaultManagedRepositoryAdmin
|
||||||
return repository;
|
return repository;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// FIXME cleanup repositoryGroups when deleting a ManagedRepo
|
|
||||||
public Boolean deleteManagedRepository( String repositoryId, AuditInformation auditInformation,
|
public Boolean deleteManagedRepository( String repositoryId, AuditInformation auditInformation,
|
||||||
boolean deleteContent )
|
boolean deleteContent )
|
||||||
throws RepositoryAdminException
|
throws RepositoryAdminException
|
||||||
|
|
|
@ -35,6 +35,10 @@ public class ManagedRepositoryAdminTest
|
||||||
{
|
{
|
||||||
public static final String STAGE_REPO_ID_END = DefaultManagedRepositoryAdmin.STAGE_REPO_ID_END;
|
public static final String STAGE_REPO_ID_END = DefaultManagedRepositoryAdmin.STAGE_REPO_ID_END;
|
||||||
|
|
||||||
|
|
||||||
|
String repoId = "test-new-one";
|
||||||
|
String repoLocation = APPSERVER_BASE_PATH + File.separator + repoId;
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void getAllManagedRepos()
|
public void getAllManagedRepos()
|
||||||
throws Exception
|
throws Exception
|
||||||
|
@ -69,10 +73,6 @@ public class ManagedRepositoryAdminTest
|
||||||
{
|
{
|
||||||
mockAuditListener.clearEvents();
|
mockAuditListener.clearEvents();
|
||||||
|
|
||||||
String repoId = "test-new-one";
|
|
||||||
|
|
||||||
String repoLocation = APPSERVER_BASE_PATH + File.separator + repoId;
|
|
||||||
|
|
||||||
File repoDir = clearRepoLocation( repoLocation );
|
File repoDir = clearRepoLocation( repoLocation );
|
||||||
|
|
||||||
List<ManagedRepository> repos = managedRepositoryAdmin.getManagedRepositories();
|
List<ManagedRepository> repos = managedRepositoryAdmin.getManagedRepositories();
|
||||||
|
@ -116,9 +116,6 @@ public class ManagedRepositoryAdminTest
|
||||||
public void updateDeleteManagedRepo()
|
public void updateDeleteManagedRepo()
|
||||||
throws Exception
|
throws Exception
|
||||||
{
|
{
|
||||||
String repoId = "test-new-one";
|
|
||||||
|
|
||||||
String repoLocation = APPSERVER_BASE_PATH + File.separator + "new-path";
|
|
||||||
|
|
||||||
File repoDir = clearRepoLocation( repoLocation );
|
File repoDir = clearRepoLocation( repoLocation );
|
||||||
|
|
||||||
|
@ -177,9 +174,6 @@ public class ManagedRepositoryAdminTest
|
||||||
throws Exception
|
throws Exception
|
||||||
{
|
{
|
||||||
|
|
||||||
String repoId = "test-new-one";
|
|
||||||
String repoLocation = APPSERVER_BASE_PATH + File.separator + repoId;
|
|
||||||
|
|
||||||
File repoDir = clearRepoLocation( repoLocation );
|
File repoDir = clearRepoLocation( repoLocation );
|
||||||
|
|
||||||
mockAuditListener.clearEvents();
|
mockAuditListener.clearEvents();
|
||||||
|
@ -234,9 +228,6 @@ public class ManagedRepositoryAdminTest
|
||||||
public void updateDeleteManagedRepoWithStagedRepo()
|
public void updateDeleteManagedRepoWithStagedRepo()
|
||||||
throws Exception
|
throws Exception
|
||||||
{
|
{
|
||||||
String repoId = "test-new-one";
|
|
||||||
|
|
||||||
String repoLocation = APPSERVER_BASE_PATH + File.separator + "new-path";
|
|
||||||
|
|
||||||
String stageRepoLocation = APPSERVER_BASE_PATH + File.separator + repoId;
|
String stageRepoLocation = APPSERVER_BASE_PATH + File.separator + repoId;
|
||||||
|
|
||||||
|
@ -312,6 +303,7 @@ public class ManagedRepositoryAdminTest
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//----------------------------------
|
//----------------------------------
|
||||||
// utility methods
|
// utility methods
|
||||||
//----------------------------------
|
//----------------------------------
|
||||||
|
|
Loading…
Reference in New Issue