private IList <string> mapSlimRow(IList <string> resultRow, IRowWrapper <string> currentRow) { IList <string> rowAsList = ((SlimRow)currentRow).asList(); for (int c = 0; c < rowAsList.Count; c++) { // HACK: it seems that even if the content is unchanged, // Slim renders red cell string v = rowAsList[c]; if (v.Equals(resultRow[c])) { rowAsList[c] = ""; } } return(rowAsList); }
/// <summary> /// Process the row in input. Abstracts the test runner via the wrapper /// interfaces. /// </summary> /// <param name="currentRow"> the current row </param> public virtual void processRow(IRowWrapper <string> currentRow) { _restFixture.processRow(currentRow); }
/// <summary> /// delegates to <seealso cref="CommonRestFixture{T}#processRow(RowWrapper)"/> /// </summary> /// <param name="currentRow"> /// the row to process. </param> public virtual void processRow(IRowWrapper <Parse> currentRow) { restFixture.processRow(currentRow); }