Imported Upstream version 6.4.0.137

Former-commit-id: 943baa9f16a098c33e129777827f3a9d20da00d6
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2019-07-26 19:53:28 +00:00
parent e9207cf623
commit ef583813eb
2712 changed files with 74169 additions and 40587 deletions

View File

@ -279,7 +279,7 @@ namespace MonoTests.System.Net {
Assert.AreSame (proxy, WebRequest.DefaultWebProxy, "#A2");
HttpWebRequest req = (HttpWebRequest) WebRequest.CreateDefault (
new Uri ("http://www.mono-project.com"));
new Uri ("http://www.example.com"));
Assert.IsNotNull (req.Proxy, "#B1");
Assert.AreSame (proxy, req.Proxy, "#B2");
@ -289,7 +289,7 @@ namespace MonoTests.System.Net {
Assert.AreSame (proxy, req.Proxy, "#C3");
req = (HttpWebRequest) WebRequest.CreateDefault (
new Uri ("http://www.mono-project.com"));
new Uri ("http://www.example.com"));
Assert.IsNull (req.Proxy, "#D");
}
@ -297,7 +297,7 @@ namespace MonoTests.System.Net {
public void RegisterPrefix_Creator_Null ()
{
try {
WebRequest.RegisterPrefix ("http://www.mono-project.com", (IWebRequestCreate) null);
WebRequest.RegisterPrefix ("http://www.example.com", (IWebRequestCreate) null);
Assert.Fail ("#1");
} catch (ArgumentNullException ex) {
Assert.AreEqual (typeof (ArgumentNullException), ex.GetType (), "#2");