rename an old test case that is abstract, remove unused one

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@233571 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-08-19 23:05:46 +00:00
parent 932caa362a
commit e888e3c1af
5 changed files with 13 additions and 44 deletions

View File

@ -32,10 +32,10 @@ import java.util.List;
/**
* @author <a href="mailto:jason@maven.org">Jason van Zyl </a>
* @version $Id: ArtifactComponentTestCase.java,v 1.5 2004/10/23 13:33:59
* @version $Id: AbstractArtifactComponentTestCase.java,v 1.5 2004/10/23 13:33:59
* jvanzyl Exp $
*/
public abstract class ArtifactComponentTestCase
public abstract class AbstractArtifactComponentTestCase
extends PlexusTestCase
{
protected abstract String component();

View File

@ -1,33 +0,0 @@
package org.apache.maven.artifact;
/*
* Copyright 2001-2005 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* @author <a href="mailto:jason@maven.org">Jason van Zyl </a>
* @version $Id: ArtifactComponentTestCase.java,v 1.5 2004/10/23 13:33:59
* jvanzyl Exp $
*/
public abstract class NewLayoutArtifactComponentTestCase
extends ArtifactComponentTestCase
{
protected String getRepositoryLayout()
{
return "default";
}
}

View File

@ -16,8 +16,8 @@ package org.apache.maven.artifact.deployer;
* limitations under the License.
*/
import org.apache.maven.artifact.AbstractArtifactComponentTestCase;
import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.ArtifactComponentTestCase;
import java.io.File;
@ -26,7 +26,7 @@ import java.io.File;
* @version $Id$
*/
public class ArtifactDeployerTest
extends ArtifactComponentTestCase
extends AbstractArtifactComponentTestCase
{
private ArtifactDeployer artifactDeployer;

View File

@ -16,8 +16,8 @@ package org.apache.maven.artifact.installer;
* limitations under the License.
*/
import org.apache.maven.artifact.AbstractArtifactComponentTestCase;
import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.ArtifactComponentTestCase;
import java.io.File;
@ -26,7 +26,7 @@ import java.io.File;
* @version $Id$
*/
public class ArtifactInstallerTest
extends ArtifactComponentTestCase
extends AbstractArtifactComponentTestCase
{
private ArtifactInstaller artifactInstaller;

View File

@ -16,11 +16,11 @@ package org.apache.maven.artifact.resolver;
* limitations under the License.
*/
import org.apache.maven.artifact.AbstractArtifactComponentTestCase;
import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.ArtifactComponentTestCase;
import org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException;
import org.apache.maven.artifact.metadata.ArtifactMetadataSource;
import org.apache.maven.artifact.metadata.ResolutionGroup;
import org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException;
import org.apache.maven.artifact.repository.ArtifactRepository;
import java.util.ArrayList;
@ -40,7 +40,7 @@ import java.util.Set;
* @version $Id$
*/
public class ArtifactResolverTest
extends ArtifactComponentTestCase
extends AbstractArtifactComponentTestCase
{
private ArtifactResolver artifactResolver;
@ -98,7 +98,8 @@ public class ArtifactResolverTest
ArtifactMetadataSource mds = new ArtifactMetadataSource()
{
public ResolutionGroup retrieve( Artifact artifact, ArtifactRepository localRepository, List remoteRepositories )
public ResolutionGroup retrieve( Artifact artifact, ArtifactRepository localRepository,
List remoteRepositories )
throws ArtifactMetadataRetrievalException
{
Set dependencies = new HashSet();
@ -145,7 +146,8 @@ public class ArtifactResolverTest
ArtifactMetadataSource mds = new ArtifactMetadataSource()
{
public ResolutionGroup retrieve( Artifact artifact, ArtifactRepository localRepository, List remoteRepositories )
public ResolutionGroup retrieve( Artifact artifact, ArtifactRepository localRepository,
List remoteRepositories )
throws ArtifactMetadataRetrievalException
{
Set dependencies = new HashSet();