private void FindAllMissingReferences(string dirPath) { MissingFilesSearcher searcher = new MissingFilesSearcher(); searcher.NewMessage += new MissingFilesSearcher.StringEventHandler(searcher_NewMessage); searcher.Search(dirPath); }
protected override void ProcessRecord() { MissingFilesSearcher searcher = new MissingFilesSearcher(); searcher.NewMessage += new MissingFilesSearcher.StringEventHandler(searcher_NewMessage); searcher.Search(GetInitialDirectory()); }
public void is_searcher_listed_all_mising_files() { string[] missingFilesInProject = { "About.cshtml", "jquery.ui.autocomplete.css", "jquery.validate.js" }; MissingFilesSearcher searcher = new MissingFilesSearcher(); searcher.NewMessage += searcher_NewMessage; searcher.Search(SampleApplicationDirectory); AssertHelper.AreEqualByContent(missingFilesInProject, missingFilesListed); }