You've already forked linux-packaging-mono
Imported Upstream version 5.0.0.42
Former-commit-id: fd56571888259555122d8a0f58c68838229cea2b
This commit is contained in:
parent
1190d13a04
commit
6bdd276d05
6
mcs/class/System.Web/Test/System.Web.UI.WebControls/WizardTest.cs
Normal file → Executable file
6
mcs/class/System.Web/Test/System.Web.UI.WebControls/WizardTest.cs
Normal file → Executable file
@ -1538,7 +1538,7 @@ namespace MonoTests.System.Web.UI.WebControls
|
||||
Console.WriteLine ("----------------------------");
|
||||
Console.WriteLine (renderedHtml);
|
||||
|
||||
Assert.AreEqual (origHtml, renderedHtml, "#A1");
|
||||
Assert.AreEqual (origHtml.Replace ("\r", ""), renderedHtml.Replace ("\r", ""), "#A1");
|
||||
}
|
||||
|
||||
[Test]
|
||||
@ -1566,13 +1566,13 @@ namespace MonoTests.System.Web.UI.WebControls
|
||||
string origHtml = "Header<table cellspacing=\"5\" cellpadding=\"5\">\r\n\t<tr>\r\n\t\t<td align=\"right\"><input type=\"submit\" name=\"MyWizard$StepNavigationTemplateContainerID$StepPreviousButton\" value=\"Previous\" id=\"MyWizard_StepNavigationTemplateContainerID_StepPreviousButton\" /></td><td align=\"right\"><input type=\"submit\" name=\"MyWizard$StepNavigationTemplateContainerID$StepNextButton\" value=\"Next\" id=\"MyWizard_StepNavigationTemplateContainerID_StepNextButton\" /></td>\n\t</tr>\n</table>Step";
|
||||
string renderedHtml = HtmlDiff.GetControlFromPageHtml (result);
|
||||
|
||||
Assert.AreEqual (origHtml, renderedHtml, "#A1");
|
||||
Assert.AreEqual (origHtml.Replace ("\r", ""), renderedHtml.Replace ("\r", ""), "#A1");
|
||||
|
||||
t.UserData = "RenderHeader_InSpan";
|
||||
result = t.Run ();
|
||||
origHtml = "Header<table cellspacing=\"5\" cellpadding=\"5\">\r\n\t<tr>\r\n\t\t<td align=\"right\"><input type=\"submit\" name=\"MyWizard$StepNavigationTemplateContainerID$StepPreviousButton\" value=\"Previous\" id=\"MyWizard_StepNavigationTemplateContainerID_StepPreviousButton\" /></td><td align=\"right\"><input type=\"submit\" name=\"MyWizard$StepNavigationTemplateContainerID$StepNextButton\" value=\"Next\" id=\"MyWizard_StepNavigationTemplateContainerID_StepNextButton\" /></td>\n\t</tr>\n</table>Step";
|
||||
renderedHtml = HtmlDiff.GetControlFromPageHtml (result);
|
||||
Assert.AreEqual (origHtml, renderedHtml, "#A2");
|
||||
Assert.AreEqual (origHtml.Replace ("\r", ""), renderedHtml.Replace ("\r", ""), "#A2");
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
Reference in New Issue
Block a user