}\r
\r
[Test] //BNC#323452\r
+ // Throws exception with Status == Timeout. The same code behaves as the test expects when run from a regular app.
+ // Might be an issue with the test suite. To investigate.
+ [Category("AndroidNotWorking")]
public void TestFailedConnection ()\r
{\r
try {\r
//#if NET_2_0 e.Message == "Unable to connect to the remote server"\r
//#if NET_1_1 e.Message == "The underlying connection was closed: Unable to connect to the remote server."\r
\r
- Assert.AreEqual (((WebException)e).Status, WebExceptionStatus.ConnectFailure);\r
+ Assert.AreEqual (WebExceptionStatus.ConnectFailure, ((WebException)e).Status);\r
\r
//#if !NET_1_1 (this is not true in .NET 1.x)\r
Assert.IsNotNull (e.InnerException);\r