Exemplo n.º 1
0
 protected virtual void FormatResultSet(NUnitCtr.MessageWriter writer, ResultSet resultSet)
 {
     var rows = resultSet.Rows.Cast<DataRow>().ToList();
     var textCreator = new ResultSetTextWriter();
     var output = textCreator.BuildContent(rows, rows.Count(), false);
     foreach (var line in output)
         writer.WriteLine(line);
 }
Exemplo n.º 2
0
 protected virtual void FormatResultSet(NUnitCtr.MessageWriter writer, ResultSetCompareResult.Sample sample, bool compare)
 {
     var textCreator = new ResultSetTextWriter();
     var output = textCreator.BuildContent(sample.Rows, sample.Count, compare);
     foreach (var line in output)
         writer.WriteLine(line);
 }