Exemplo n.º 1
0
 protected ScenarioDefinition(Tag[] tags, Location location, string keyword, string name, string description, Step[] steps)
 {
     Tags = tags;
     Location = location;
     Keyword = keyword;
     Name = name;
     Description = description;
     Steps = steps;
 }
Exemplo n.º 2
0
 public Feature(Tag[] tags, Location location, string language, string keyword, string name, string description, ScenarioDefinition[] children)
 {
     Tags = tags;
     Location = location;
     Language = language;
     Keyword = keyword;
     Name = name;
     Description = description;
     Children = children;
 }
Exemplo n.º 3
0
 public Examples(Tag[] tags, Location location, string keyword, string name, string description, TableRow header, TableRow[] body)
 {
     Tags = tags;
     Location = location;
     Keyword = keyword;
     Name = name;
     Description = description;
     TableHeader = header;
     TableBody = body;
 }
Exemplo n.º 4
0
 public Feature(Tag[] tags, Location location, string language, string keyword, string name, string description, Background background, ScenarioDefinition[] scenarioDefinitions, Comment[] comments)
 {
     Tags = tags;
     Location = location;
     Language = language;
     Keyword = keyword;
     Name = name;
     Description = description;
     Background = background;
     ScenarioDefinitions = scenarioDefinitions;
     Comments = comments;
 }
Exemplo n.º 5
0
        public SpecFlowFeature(Tag[] tags, Location location, string language, string keyword, string name, string description, ScenarioDefinition[] children)
            : base(tags, location, language, keyword, name, description, children)
        {
            if (Children != null)
            {
                ScenarioDefinitions = Children.Where(child => !(child is Background)).ToList();

                var background = Children.SingleOrDefault(child => child is Background);

                if (background != null)
                {
                    Background = (Background)background;
                }
            }
        }
Exemplo n.º 6
0
 public string MapToString(G.Tag tag)
 {
     return(tag?.Name);
 }
Exemplo n.º 7
0
 public string MapToString(G.Tag tag)
 {
     return(this.mapper.Map <string>(tag));
 }
Exemplo n.º 8
0
 public ScenarioOutline(Tag[] tags, Location location, string keyword, string name, string description, Step[] steps, Examples[] examples)
     : base(location, keyword, name, description, steps)
 {
     Tags = tags;
     Examples = examples;
 }
Exemplo n.º 9
0
 public Scenario(Tag[] tags, Location location, string keyword, string name, string description, Step[] steps)
     : base(location, keyword, name, description, steps)
 {
     Tags = tags;
 }
Exemplo n.º 10
0
 public SpecFlowFeature(Tag[] tags, Location location, string language, string keyword, string name, string description, Background background, ScenarioDefinition[] scenarioDefinitions, Comment[] comments, string sourceFilePath) : base(tags, location, language, keyword, name, description, background, scenarioDefinitions, comments)
 {
     this.SourceFilePath = sourceFilePath;
 }