Search in sources :

Example 1 with RssFeedGenerator

use of org.apache.archiva.rss.RssFeedGenerator in project archiva by apache.

the class NewVersionsOfArtifactRssFeedProcessorTest method setUp.

@Before
@Override
public void setUp() throws Exception {
    super.setUp();
    newVersionsProcessor = new NewVersionsOfArtifactRssFeedProcessor();
    newVersionsProcessor.setGenerator(new RssFeedGenerator());
    metadataRepositoryControl = createControl();
    metadataRepository = metadataRepositoryControl.createMock(MetadataRepository.class);
}
Also used : MetadataRepository(org.apache.archiva.metadata.repository.MetadataRepository) RssFeedGenerator(org.apache.archiva.rss.RssFeedGenerator) Before(org.junit.Before)

Example 2 with RssFeedGenerator

use of org.apache.archiva.rss.RssFeedGenerator in project archiva by apache.

the class NewArtifactsRssFeedProcessorTest method setUp.

@Before
@Override
public void setUp() throws Exception {
    super.setUp();
    newArtifactsProcessor = new NewArtifactsRssFeedProcessor();
    newArtifactsProcessor.setGenerator(new RssFeedGenerator());
    metadataRepository = new MetadataRepositoryMock();
}
Also used : RssFeedGenerator(org.apache.archiva.rss.RssFeedGenerator) Before(org.junit.Before)

Aggregations

RssFeedGenerator (org.apache.archiva.rss.RssFeedGenerator)2 Before (org.junit.Before)2 MetadataRepository (org.apache.archiva.metadata.repository.MetadataRepository)1