public void RunJobRetrievalJobWithTFWikiRetriever() { var iConfig = Utilities.GetIConfigurationRoot(); var requestData = Utilities.GetRequestData(null); var logger = Utilities.GetLogger(iConfig, _output); var wikiAccessLogic = new WikiAccessLogic(); var sqlDataAccess = new SqlDataAccess(iConfig); var retriever = new TFWikiJobRetriever(iConfig, logger, wikiAccessLogic, sqlDataAccess); var job = new JobRetrievalJob(iConfig, logger, retriever, wikiAccessLogic, requestData); job.Execute(); }
public void RunJobRetrievalJobWithTextFileRetriever() { var iConfig = Utilities.GetIConfigurationRoot(); var requestData = Utilities.GetRequestData(null); var wikiAccessLogic = new WikiAccessLogic(); var textFileManager = new TextFileManager(); var retriever = new TextFileJobRetriever(iConfig, "WikiJobTest.txt", textFileManager); var logger = Utilities.GetLogger(iConfig, _output); var job = new JobRetrievalJob(iConfig, logger, retriever, wikiAccessLogic, requestData); job.Execute(); }