You've already forked linux-packaging-mono
Imported Upstream version 6.4.0.137
Former-commit-id: 943baa9f16a098c33e129777827f3a9d20da00d6
This commit is contained in:
parent
e9207cf623
commit
ef583813eb
@ -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");
|
||||
|
Reference in New Issue
Block a user