diff options
author | Martin Stockhammer <martin_s@apache.org> | 2021-06-01 22:46:51 +0200 |
---|---|---|
committer | Martin Stockhammer <martin_s@apache.org> | 2021-06-01 22:46:51 +0200 |
commit | 0ce53483a85b6b7a3a14417434edf56934b474ba (patch) | |
tree | 148acd378bdb456482396cb46c315024840fd807 /archiva-modules/archiva-scheduler/archiva-scheduler-repository | |
parent | ca18ec34d706efa6fdc6ecde6277ba6004e8eb4e (diff) | |
download | archiva-0ce53483a85b6b7a3a14417434edf56934b474ba.tar.gz archiva-0ce53483a85b6b7a3a14417434edf56934b474ba.zip |
Centralizing repository group handling. First part.
Diffstat (limited to 'archiva-modules/archiva-scheduler/archiva-scheduler-repository')
-rw-r--r-- | archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/java/org/apache/archiva/scheduler/repository/AbstractArchivaRepositoryScanningTaskExecutorTest.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/java/org/apache/archiva/scheduler/repository/AbstractArchivaRepositoryScanningTaskExecutorTest.java b/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/java/org/apache/archiva/scheduler/repository/AbstractArchivaRepositoryScanningTaskExecutorTest.java index 1a6d39070..443078efb 100644 --- a/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/java/org/apache/archiva/scheduler/repository/AbstractArchivaRepositoryScanningTaskExecutorTest.java +++ b/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/test/java/org/apache/archiva/scheduler/repository/AbstractArchivaRepositoryScanningTaskExecutorTest.java @@ -29,6 +29,7 @@ import org.apache.archiva.mock.MockRepositorySessionFactory; import org.apache.archiva.components.taskqueue.execution.TaskExecutor; import org.apache.archiva.repository.ManagedRepository; import org.apache.archiva.repository.RepositoryRegistry; +import org.apache.archiva.repository.base.RepositoryGroupHandler; import org.apache.archiva.scheduler.repository.model.RepositoryTask; import org.apache.archiva.test.utils.ArchivaSpringJUnit4ClassRunner; import org.junit.After; @@ -66,6 +67,9 @@ public abstract class AbstractArchivaRepositoryScanningTaskExecutorTest RepositoryRegistry repositoryRegistry; @Inject + RepositoryGroupHandler groupHandler; + + @Inject @Named( value = "taskExecutor#test-repository-scanning" ) protected TaskExecutor<RepositoryTask> taskExecutor; |