remove deprecated stuff

This commit is contained in:
Sebastian Sdorra
2014-01-03 10:34:34 +01:00
parent 39ad99f5e9
commit aec7773239
82 changed files with 168 additions and 10455 deletions

View File

@@ -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();

View File

@@ -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);
}

View File

@@ -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 ---------------------------------------------------------------