예제 #1
0
 void ITestStream.Do(DoGrammarStructure structure, IStep step)
 {
     _paragraphResults.ForExceptionText(text =>
     {
         _document.Add(new ExceptionTag(text));
     });
 }
예제 #2
0
        private void writeResultsRow(IStep step, ITestContext context)
        {
            AddBodyRow(row =>
            {
                StepResults results = context.ResultsFor(step);
                results.Collapse();

                _writer.DisplayCells.Each(cell =>
                {
                    var tag = new CellTag(cell, step);
                    tag.TagName("td");
                    row.Append(tag);

                    tag.WriteResults(results, context);
                });

                row.FirstChild().AddClass("left-cell");

                results.ForExceptionText(writeExceptionText);
            });
        }