Esempio n. 1
0
        private void FindAllMissingReferences(string dirPath)
        {
            MissingFilesSearcher searcher = new MissingFilesSearcher();

            searcher.NewMessage += new MissingFilesSearcher.StringEventHandler(searcher_NewMessage);
            searcher.Search(dirPath);
        }
Esempio n. 2
0
        protected override void ProcessRecord()
        {
            MissingFilesSearcher searcher = new MissingFilesSearcher();

            searcher.NewMessage += new MissingFilesSearcher.StringEventHandler(searcher_NewMessage);
            searcher.Search(GetInitialDirectory());
        }
Esempio n. 3
0
        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);
        }