archiva-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1491194 - /archiva/trunk/archiva-modules/metadata/metadata-repository-api/src/test/java/org/apache/archiva/metadata/repository/AbstractMetadataRepositoryTest.java
Date Sun, 09 Jun 2013 12:21:34 GMT
Author: olamy
Date: Sun Jun  9 12:21:34 2013
New Revision: 1491194

URL: http://svn.apache.org/r1491194
Log:
to ease debugging

Modified:
    archiva/trunk/archiva-modules/metadata/metadata-repository-api/src/test/java/org/apache/archiva/metadata/repository/AbstractMetadataRepositoryTest.java

Modified: archiva/trunk/archiva-modules/metadata/metadata-repository-api/src/test/java/org/apache/archiva/metadata/repository/AbstractMetadataRepositoryTest.java
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/metadata/metadata-repository-api/src/test/java/org/apache/archiva/metadata/repository/AbstractMetadataRepositoryTest.java?rev=1491194&r1=1491193&r2=1491194&view=diff
==============================================================================
--- archiva/trunk/archiva-modules/metadata/metadata-repository-api/src/test/java/org/apache/archiva/metadata/repository/AbstractMetadataRepositoryTest.java
(original)
+++ archiva/trunk/archiva-modules/metadata/metadata-repository-api/src/test/java/org/apache/archiva/metadata/repository/AbstractMetadataRepositoryTest.java
Sun Jun  9 12:21:34 2013
@@ -611,8 +611,9 @@ public abstract class AbstractMetadataRe
     {
         repository.addMetadataFacet( TEST_REPO_ID, new TestMetadataFacet( null ) );
 
-        assertEquals( new TestMetadataFacet( TEST_METADATA_VALUE ),
-                      repository.getMetadataFacet( TEST_REPO_ID, TEST_FACET_ID, TEST_NAME
) );
+        MetadataFacet metadataFacet = repository.getMetadataFacet( TEST_REPO_ID, TEST_FACET_ID,
TEST_NAME );
+
+        assertEquals( new TestMetadataFacet( TEST_METADATA_VALUE ), metadataFacet );
     }
 
     @Test
@@ -1009,7 +1010,7 @@ public abstract class AbstractMetadataRe
     {
         repository.updateNamespace( TEST_REPO_ID, "org.apache.maven.shared" );
 
-        Collection<String> namespaces =  repository.getRootNamespaces( TEST_REPO_ID
);
+        Collection<String> namespaces = repository.getRootNamespaces( TEST_REPO_ID
);
 
         //assertEquals( Arrays.asList( "org" ), repository.getRootNamespaces( TEST_REPO_ID
) );
         Assertions.assertThat( namespaces ).isNotNull().isNotEmpty().hasSize( 1 ).contains(
"org" );



Mime
View raw message