protected TagFilteredFeatureGeneratorProvider(ITagFilterMatcher tagFilterMatcher, string registeredName) { if (tagFilterMatcher == null) throw new ArgumentNullException("tagFilterMatcher"); if (registeredName == null) throw new ArgumentNullException("registeredName"); this.tagFilterMatcher = tagFilterMatcher; this.registeredName = registeredName; }
public RetryUnitTestFeatureGenerator(IUnitTestGeneratorProvider testGeneratorProvider, CodeDomHelper codeDomHelper, GeneratorConfiguration generatorConfiguration, IDecoratorRegistry decoratorRegistry, ITagFilterMatcher tagFilterMatcher) { this.testGeneratorProvider = testGeneratorProvider; this.codeDomHelper = codeDomHelper; this.generatorConfiguration = generatorConfiguration; this.decoratorRegistry = decoratorRegistry; this.tagFilterMatcher = tagFilterMatcher; }
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))); }
public static bool Match(this ITagFilterMatcher tagFilterMatcher, string tagFilter, string tagName) { if (tagName == null) { return(false); } return(tagFilterMatcher.Match(tagFilter, new string[] { tagName })); }
public static bool GetTagValue(this ITagFilterMatcher tagFilterMatcher, string tagFilter, Feature feature, out string value) { if (feature.Tags == null) { value = null; return(false); } return(tagFilterMatcher.GetTagValue(tagFilter, feature.Tags.Select(t => t.Name), out value)); }
public RetryUnitTestFeatureGenerator(IUnitTestGeneratorProvider testGeneratorProvider, CodeDomHelper codeDomHelper, SpecFlowConfiguration specFlowConfiguration, IDecoratorRegistry decoratorRegistry, ITagFilterMatcher tagFilterMatcher) { _testGeneratorProvider = testGeneratorProvider; _codeDomHelper = codeDomHelper; _specFlowConfiguration = specFlowConfiguration; _decoratorRegistry = decoratorRegistry; _tagFilterMatcher = tagFilterMatcher; }
protected TagFilteredFeatureGeneratorProvider(ITagFilterMatcher tagFilterMatcher, string registeredName) { if (tagFilterMatcher == null) { throw new ArgumentNullException("tagFilterMatcher"); } if (registeredName == null) { throw new ArgumentNullException("registeredName"); } this.tagFilterMatcher = tagFilterMatcher; this.registeredName = registeredName; }
public IgnoreDecorator(ITagFilterMatcher tagFilterMatcher) { this.tagFilterMatcher = tagFilterMatcher; }
public static bool GetTagValue(this ITagFilterMatcher tagFilterMatcher, string tagFilter, SpecFlowDocument document, out string value) { return(tagFilterMatcher.GetTagValue(tagFilter, document.SpecFlowFeature.Tags.Select(t => t.GetNameWithoutAt()), out value)); }
public NonParallelizableDecorator(ITagFilterMatcher tagFilterMatcher, SpecFlowConfiguration generatorConfiguration) { this.tagFilterMatcher = tagFilterMatcher; nonParallelizableTags = generatorConfiguration.AddNonParallelizableMarkerForTags; }
public ParallelizeDecorator(ITagFilterMatcher tagFilterMatcher, SpecFlowConfiguration generatorConfiguration) { this.tagFilterMatcher = tagFilterMatcher; this.generateParallelCodeForFeatures = generatorConfiguration.MarkFeaturesParallelizable; this.ignoreParallelCodeGenerationTags = generatorConfiguration.SkipParallelizableMarkerForTags; }
public RemoveRetryTagFromCategoriesDecarator(ITagFilterMatcher tagFilterMatcher) { this.tagFilterMatcher = tagFilterMatcher; }
public TestTagFilteredFeatureGeneratorProvider(ITagFilterMatcher tagFilterMatcher, string registeredName) : base(tagFilterMatcher, registeredName) { }
public MyMethodTagDecorator(ITagFilterMatcher tagFilterMatcher) { _tagFilterMatcher = tagFilterMatcher; }
public ExternalDataFeaturePatcher(SpecFlowProjectConfiguration configuration, ITagFilterMatcher tagFilterMatcher, ITestDataProvider testDataProvider) { _tagFilterMatcher = tagFilterMatcher; _testDataProvider = testDataProvider; }
public static bool MatchPrefix(this ITagFilterMatcher tagFilterMatcher, string tagFilter, SpecFlowDocument document) { return(tagFilterMatcher.MatchPrefix(tagFilter, document.SpecFlowFeature.Tags.Select(t => t.GetNameWithoutAt()))); }