mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-17 18:51:10 +01:00
remove deprecated stuff
This commit is contained in:
@@ -77,6 +77,7 @@ import java.util.Collection;
|
||||
*
|
||||
* @author Sebastian Sdorra
|
||||
*/
|
||||
@Ignore
|
||||
@RunWith(Parameterized.class)
|
||||
public class AnonymousAccessITCase
|
||||
{
|
||||
@@ -312,15 +313,17 @@ public class AnonymousAccessITCase
|
||||
File directory = temporaryFolder.newFolder();
|
||||
RepositoryClient client = null;
|
||||
|
||||
// TODO create repository url
|
||||
|
||||
if ((username != null) && (password != null))
|
||||
{
|
||||
client = RepositoryClientFactory.createClient(repositoryType, directory,
|
||||
repository.getUrl(), username, password);
|
||||
null, username, password);
|
||||
}
|
||||
else
|
||||
{
|
||||
client = RepositoryClientFactory.createClient(repositoryType, directory,
|
||||
repository.getUrl());
|
||||
null);
|
||||
}
|
||||
|
||||
client.init();
|
||||
|
||||
@@ -77,6 +77,7 @@ import java.util.Random;
|
||||
*
|
||||
* @author Sebastian Sdorra
|
||||
*/
|
||||
@Ignore
|
||||
@RunWith(Parameterized.class)
|
||||
public class ChangesetViewerITCase extends AbstractAdminITCaseBase
|
||||
{
|
||||
@@ -264,8 +265,9 @@ public class ChangesetViewerITCase extends AbstractAdminITCaseBase
|
||||
private RepositoryClient createRepositoryClient()
|
||||
throws RepositoryClientException
|
||||
{
|
||||
// TODO create repository url
|
||||
return RepositoryClientFactory.createClient(repositoryType, localDirectory,
|
||||
repository.getUrl(), IntegrationTestUtil.ADMIN_USERNAME,
|
||||
null, IntegrationTestUtil.ADMIN_USERNAME,
|
||||
IntegrationTestUtil.ADMIN_PASSWORD);
|
||||
}
|
||||
|
||||
|
||||
@@ -68,11 +68,13 @@ import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import org.junit.Ignore;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Sebastian Sdorra
|
||||
*/
|
||||
@Ignore
|
||||
public class RepositoryITCaseBase
|
||||
{
|
||||
|
||||
@@ -140,9 +142,10 @@ public class RepositoryITCaseBase
|
||||
|
||||
try
|
||||
{
|
||||
// TODO create repository url
|
||||
RepositoryClient rc =
|
||||
RepositoryClientFactory.createClient(repository.getType(), directory,
|
||||
repository.getUrl(), username, password);
|
||||
null, username, password);
|
||||
|
||||
rc.init();
|
||||
addTestFiles(rc);
|
||||
@@ -342,8 +345,9 @@ public class RepositoryITCaseBase
|
||||
protected RepositoryClient createRepositoryClient(User user, File directory)
|
||||
throws RepositoryClientException
|
||||
{
|
||||
// TODO create repository url
|
||||
return RepositoryClientFactory.createClient(repository.getType(),
|
||||
directory, repository.getUrl(), user.getName(), password);
|
||||
directory, null, user.getName(), password);
|
||||
}
|
||||
|
||||
//~--- fields ---------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user