archiva-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1295678 - /archiva/trunk/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/java/org/apache/archiva/scheduler/repository/
Date Thu, 01 Mar 2012 17:09:05 GMT
Author: olamy
Date: Thu Mar  1 17:09:04 2012
New Revision: 1295678

URL: http://svn.apache.org/viewvc?rev=1295678&view=rev
Log:
apply some code formatting

Modified:
    archiva/trunk/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/java/org/apache/archiva/scheduler/repository/ArchivaRepositoryScanningTaskExecutorAbstractTest.java
    archiva/trunk/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/java/org/apache/archiva/scheduler/repository/ArchivaRepositoryScanningTaskExecutorPhase1Test.java
    archiva/trunk/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/java/org/apache/archiva/scheduler/repository/ArchivaRepositoryScanningTaskExecutorPhase2Test.java

Modified: archiva/trunk/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/java/org/apache/archiva/scheduler/repository/ArchivaRepositoryScanningTaskExecutorAbstractTest.java
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/java/org/apache/archiva/scheduler/repository/ArchivaRepositoryScanningTaskExecutorAbstractTest.java?rev=1295678&r1=1295677&r2=1295678&view=diff
==============================================================================
--- archiva/trunk/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/java/org/apache/archiva/scheduler/repository/ArchivaRepositoryScanningTaskExecutorAbstractTest.java
(original)
+++ archiva/trunk/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/java/org/apache/archiva/scheduler/repository/ArchivaRepositoryScanningTaskExecutorAbstractTest.java
Thu Mar  1 17:09:04 2012
@@ -20,11 +20,11 @@ package org.apache.archiva.scheduler.rep
  */
 
 import junit.framework.TestCase;
+import org.apache.archiva.configuration.ArchivaConfiguration;
+import org.apache.archiva.configuration.ManagedRepositoryConfiguration;
 import org.apache.archiva.metadata.repository.MetadataRepository;
 import org.apache.archiva.metadata.repository.TestRepositorySessionFactory;
 import org.apache.archiva.metadata.repository.stats.RepositoryStatisticsManager;
-import org.apache.archiva.configuration.ArchivaConfiguration;
-import org.apache.archiva.configuration.ManagedRepositoryConfiguration;
 import org.codehaus.plexus.taskqueue.execution.TaskExecutor;
 import org.codehaus.plexus.util.FileUtils;
 import org.junit.After;
@@ -55,11 +55,12 @@ public abstract class ArchivaRepositoryS
     @Named( value = "taskExecutor#test-repository-scanning" )
     protected TaskExecutor taskExecutor;
 
-    @Inject @Named(value = "archivaConfiguration#test-repository-scanning")
+    @Inject
+    @Named( value = "archivaConfiguration#test-repository-scanning" )
     protected ArchivaConfiguration archivaConfig;
 
     @Inject
-    @Named(value = "repositoryStatisticsManager#test")
+    @Named( value = "repositoryStatisticsManager#test" )
     protected RepositoryStatisticsManager repositoryStatisticsManager;
 
     @Inject
@@ -131,5 +132,5 @@ public abstract class ArchivaRepositoryS
 
         super.tearDown();
     }
-     
+
 }

Modified: archiva/trunk/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/java/org/apache/archiva/scheduler/repository/ArchivaRepositoryScanningTaskExecutorPhase1Test.java
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/java/org/apache/archiva/scheduler/repository/ArchivaRepositoryScanningTaskExecutorPhase1Test.java?rev=1295678&r1=1295677&r2=1295678&view=diff
==============================================================================
--- archiva/trunk/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/java/org/apache/archiva/scheduler/repository/ArchivaRepositoryScanningTaskExecutorPhase1Test.java
(original)
+++ archiva/trunk/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/java/org/apache/archiva/scheduler/repository/ArchivaRepositoryScanningTaskExecutorPhase1Test.java
Thu Mar  1 17:09:04 2012
@@ -29,14 +29,14 @@ import java.util.Collection;
 
 /**
  * ArchivaRepositoryScanningTaskExecutorPhase1Test
- * 
+ *
  * @version $Id: ArchivaRepositoryScanningTaskExecutorPhase1Test.java 1214303 2011-12-14
15:37:51Z olamy $
  */
 @RunWith( SpringJUnit4ClassRunner.class )
 @ContextConfiguration( locations = { "classpath*:/META-INF/spring-context.xml", "classpath:/spring-context.xml"
} )
 public class ArchivaRepositoryScanningTaskExecutorPhase1Test
     extends ArchivaRepositoryScanningTaskExecutorAbstractTest
-{   
+{
     // Split of ArchivaRepositoryScanningTaskExecutorTest should be executed first 
     // to avoid testConsumer in unknown state if member of Phase2 all ready executed
     @Test
@@ -46,14 +46,14 @@ public class ArchivaRepositoryScanningTa
         RepositoryTask repoTask = new RepositoryTask();
 
         repoTask.setRepositoryId( TEST_REPO_ID );
-        
+
         taskExecutor.executeTask( repoTask );
 
         Collection<ArtifactReference> unprocessedResultList = testConsumer.getConsumed();
 
         assertNotNull( unprocessedResultList );
         assertEquals( "Incorrect number of unprocessed artifacts detected.", 8, unprocessedResultList.size()
);
-        
+
     }
-        
+
 }

Modified: archiva/trunk/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/java/org/apache/archiva/scheduler/repository/ArchivaRepositoryScanningTaskExecutorPhase2Test.java
URL: http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/java/org/apache/archiva/scheduler/repository/ArchivaRepositoryScanningTaskExecutorPhase2Test.java?rev=1295678&r1=1295677&r2=1295678&view=diff
==============================================================================
--- archiva/trunk/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/java/org/apache/archiva/scheduler/repository/ArchivaRepositoryScanningTaskExecutorPhase2Test.java
(original)
+++ archiva/trunk/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/java/org/apache/archiva/scheduler/repository/ArchivaRepositoryScanningTaskExecutorPhase2Test.java
Thu Mar  1 17:09:04 2012
@@ -77,7 +77,7 @@ public class ArchivaRepositoryScanningTa
 
         File newArtifactGroup = new File( repoDir, "org/apache/archiva" );
         assertFalse( "newArtifactGroup should not exist.", newArtifactGroup.exists() );
-        
+
         FileUtils.copyDirectoryStructure( new File( "target/test-classes/test-repo/org/apache/archiva"
),
                                           newArtifactGroup );
 
@@ -122,7 +122,7 @@ public class ArchivaRepositoryScanningTa
 
         File newArtifactGroup = new File( repoDir, "org/apache/archiva" );
         assertFalse( "newArtifactGroup should not exist.", newArtifactGroup.exists() );
-        
+
         FileUtils.copyDirectoryStructure( new File( "target/test-classes/test-repo/org/apache/archiva"
),
                                           newArtifactGroup );
 
@@ -169,7 +169,7 @@ public class ArchivaRepositoryScanningTa
 
         File newArtifactGroup = new File( repoDir, "org/apache/archiva" );
         assertFalse( "newArtifactGroup should not exist.", newArtifactGroup.exists() );
-        
+
         FileUtils.copyDirectoryStructure( new File( "target/test-classes/test-repo/org/apache/archiva"
),
                                           newArtifactGroup );
 



Mime
View raw message