public void FormView_render() { PokerFormViewRow row = new PokerFormViewRow(2, DataControlRowType.Header, DataControlRowState.Selected); row.ID = "TestingRow"; row.BackColor = Color.Red; string originalHtml = @"<tr id=""TestingRow"" style=""background-color:Red;""></tr>"; HtmlDiff.AssertAreEqual(row.Render(), originalHtml, "FormViewRowRender"); }
public void FormView_render() { PokerFormViewRow row = new PokerFormViewRow(2, DataControlRowType.Header, DataControlRowState.Selected); row.ID = "TestingRow"; row.BackColor = Color.Red; string originalHtml = "<tr id=\"TestingRow\" style=\"background-color:Red;\">\r\n\r\n</tr>"; string renderedHtml = row.Render(); HtmlDiff.AssertAreEqual(originalHtml, renderedHtml, "FormViewRowRender"); }
public void FormView_render () { PokerFormViewRow row = new PokerFormViewRow (2, DataControlRowType.Header, DataControlRowState.Selected); row.ID = "TestingRow"; row.BackColor = Color.Red; string originalHtml = @"<tr id=""TestingRow"" style=""background-color:Red;""></tr>"; HtmlDiff.AssertAreEqual (row.Render (), originalHtml, "FormViewRowRender"); }
public void FormView_render () { PokerFormViewRow row = new PokerFormViewRow (2, DataControlRowType.Header, DataControlRowState.Selected); row.ID = "TestingRow"; row.BackColor = Color.Red; string originalHtml = "<tr id=\"TestingRow\" style=\"background-color:Red;\">\r\n\r\n</tr>"; string renderedHtml = row.Render (); HtmlDiff.AssertAreEqual (originalHtml, renderedHtml, "FormViewRowRender"); }