private bool CanDecorateFrom(string tagName)
        {
            var tagNames = new string[] { tagName };

            return(tagFilterMatcher.MatchPrefix(TagsRepository.RETRY_TAG, tagNames) ||
                   tagFilterMatcher.MatchPrefix(TagsRepository.RETRY_EXCEPT_TAG, tagNames));
        }
Пример #2
0
        private bool CanDecorateFrom(string tagName)
        {
            var tagNames = new[] { tagName };

            return(_tagFilterMatcher.MatchPrefix(TagsRepository.RetryTag, tagNames) ||
                   _tagFilterMatcher.MatchPrefix(TagsRepository.RetryExceptTag, tagNames));
        }
Пример #3
0
        public static bool MatchPrefix(this ITagFilterMatcher tagFilterMatcher, string tagFilter, Feature feature)
        {
            if (feature.Tags == null)
            {
                return(false);
            }

            return(tagFilterMatcher.MatchPrefix(tagFilter, feature.Tags.Select(t => t.Name)));
        }
Пример #4
0
 public static bool MatchPrefix(this ITagFilterMatcher tagFilterMatcher, string tagFilter, SpecFlowDocument document)
 {
     return(tagFilterMatcher.MatchPrefix(tagFilter, document.SpecFlowFeature.Tags.Select(t => t.GetNameWithoutAt())));
 }
 public bool CanGenerate(Feature feature)
 {
     return(tagFilterMatcher.MatchPrefix(registeredName, feature));
 }
 public bool CanGenerate(SpecFlowDocument document)
 {
     return(tagFilterMatcher.MatchPrefix(registeredName, document));
 }