public FileHeaderInspectionTests() { var exemptPatterns = new ExemptPatterns(); exemptPatterns.Add(@"^\d\.\d\.\d{1,5}\.\d$"); exemptPatterns.Add(@"Runtime"); var spellChecker = new SpellChecker(exemptPatterns); _inspector = new NodeReviewer(new[] { new SingleLineCommentLanguageRule(spellChecker) }, Enumerable.Empty<ISymbolEvaluation>()); }
public void Setup() { var exemptPatterns = new ExemptPatterns(); exemptPatterns.Add(@"^\d\.\d\.\d{1,5}\.\d$"); exemptPatterns.Add(@"Runtime"); var spellChecker = new SpellChecker(exemptPatterns); _inspector = new NodeReviewer(new[] { new SingleLineCommentLanguageRule(spellChecker) }, Enumerable.Empty <ISymbolEvaluation>()); }