Search in sources :

Example 6 with StatsService

use of com.searchcode.app.service.StatsService in project searchcode-server by boyter.

the class IndexDocumentsJobTest method testExecute.

public void testExecute() throws JobExecutionException {
    JobExecutionContext jobExecutionContext = mock(JobExecutionContext.class);
    IndexService indexService = mock(IndexService.class);
    StatsService statsService = mock(StatsService.class);
    LoggerWrapper loggerWrapper = mock(LoggerWrapper.class);
// IndexDocumentsJob indexDocumentsJob = new IndexDocumentsJob(indexService, statsService, loggerWrapper);
// 
// indexDocumentsJob.execute(jobExecutionContext);
}
Also used : IndexService(com.searchcode.app.service.index.IndexService) StatsService(com.searchcode.app.service.StatsService) LoggerWrapper(com.searchcode.app.util.LoggerWrapper) JobExecutionContext(org.quartz.JobExecutionContext)

Aggregations

StatsService (com.searchcode.app.service.StatsService)6 Data (com.searchcode.app.dao.Data)3 IndexGitRepoJob (com.searchcode.app.jobs.repository.IndexGitRepoJob)1 IndexService (com.searchcode.app.service.index.IndexService)1 LoggerWrapper (com.searchcode.app.util.LoggerWrapper)1 IOException (java.io.IOException)1 ConcurrentLinkedQueue (java.util.concurrent.ConcurrentLinkedQueue)1 JobExecutionContext (org.quartz.JobExecutionContext)1