use of org.apache.archiva.repository.ManagedRepositoryContent in project archiva by apache.
the class RepositoryRequestTest method testToNativePathMetadataDefaultToDefault.
@Test
public void testToNativePathMetadataDefaultToDefault() throws Exception {
ManagedRepositoryContent repository = createManagedRepo("default");
// Test (metadata) default to default
assertEquals("org/apache/derby/derby/10.2.2.0/maven-metadata.xml.sha1", repoRequest.toNativePath("org/apache/derby/derby/10.2.2.0/maven-metadata.xml.sha1", repository));
}
Aggregations