summaryrefslogtreecommitdiffstats
path: root/archiva-modules
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2015-02-13 09:52:49 +1100
committerOlivier Lamy <olamy@apache.org>2015-02-13 09:52:49 +1100
commitaac7bb95c06b3d237c823cdaeb351bc6c7ffc104 (patch)
treebecbb761c9b8bf6c3e21ca4ee2f0cd30365571e2 /archiva-modules
parentd12480258874fc79025a9abb34bdf149b5aa605a (diff)
downloadarchiva-aac7bb95c06b3d237c823cdaeb351bc6c7ffc104.tar.gz
archiva-aac7bb95c06b3d237c823cdaeb351bc6c7ffc104.zip
cleanup legacy api test
Diffstat (limited to 'archiva-modules')
-rw-r--r--archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/java/org/apache/archiva/rest/services/ArchivaAdministrationServiceTest.java17
1 files changed, 0 insertions, 17 deletions
diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/java/org/apache/archiva/rest/services/ArchivaAdministrationServiceTest.java b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/java/org/apache/archiva/rest/services/ArchivaAdministrationServiceTest.java
index 63c5d74cb..e3377f21a 100644
--- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/java/org/apache/archiva/rest/services/ArchivaAdministrationServiceTest.java
+++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/java/org/apache/archiva/rest/services/ArchivaAdministrationServiceTest.java
@@ -44,23 +44,6 @@ public class ArchivaAdministrationServiceTest
}
@Test
- public void addAndDeleteLegacyPath()
- throws Exception
- {
- //Path jaxen/jars/jaxen-1.0-FCS-full.jar
- //Artifact jaxen:jaxen:1.0-FCS:full:jar
- int initialSize = getArchivaAdministrationService().getLegacyArtifactPaths().size();
- LegacyArtifactPath legacyArtifactPath = new LegacyArtifactPath();
- legacyArtifactPath.setArtifact( "wine:bordeaux:2006:GREAT:jar" );
- legacyArtifactPath.setPath( "wine/jars/bordeaux-2006-GREAT.jar" );
- getArchivaAdministrationService().addLegacyArtifactPath( legacyArtifactPath );
- assertEquals( initialSize + 1, getArchivaAdministrationService().getLegacyArtifactPaths().size() );
-
- getArchivaAdministrationService().deleteLegacyArtifactPath( "wine/jars/bordeaux-2006-GREAT.jar" );
- assertEquals( initialSize, getArchivaAdministrationService().getLegacyArtifactPaths().size() );
- }
-
- @Test
public void addAndDeleteFileType()
throws Exception
{