Imported Upstream version 4.3.2.467

Former-commit-id: 9c2cb47f45fa221e661ab616387c9cda183f283d
This commit is contained in:
Xamarin Public Jenkins
2016-02-22 11:00:01 -05:00
parent f302175246
commit f3e3aab35a
4097 changed files with 122406 additions and 82300 deletions

View File

@ -200,11 +200,9 @@ namespace MonoTests.System.Web.UI.HtmlControls {
// Indirect test for HttpRequest.QueryStringRaw, see
// https://bugzilla.novell.com/show_bug.cgi?id=376352
#if NET_4_0
Assert.AreEqual (" method=\"post\" action=\"?q=1&q2=2\"", attrs, "A1");
form.RenderingCompatibility = new Version (3, 5);
attrs = form.RenderAttributes ();
#endif
Assert.AreEqual (" name=\"aspnetForm\" method=\"post\" action=\"?q=1&q2=2\"", attrs, "A2");
}
#endif
@ -218,11 +216,9 @@ namespace MonoTests.System.Web.UI.HtmlControls {
form.Page = p;
form.Action = "someactionfile.aspx";
string attrs = form.RenderAttributes ();
#if NET_4_0
Assert.AreEqual (" method=\"post\" action=\"someactionfile.aspx\"", attrs, "A1");
form.RenderingCompatibility = new Version (3, 5);
attrs = form.RenderAttributes ();
#endif
Assert.AreEqual (" name=\"aspnetForm\" method=\"post\" action=\"someactionfile.aspx\"", attrs, "A2");
}