Imported Upstream version 4.0.0~alpha1

Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
This commit is contained in:
Jo Shields
2015-04-07 09:35:12 +01:00
parent 283343f570
commit 3c1f479b9d
22469 changed files with 2931443 additions and 869343 deletions

View File

@ -74,7 +74,6 @@ namespace MonoTests.System.ComponentModel.Design
Assert.AreEqual (string.Empty, ex.Message, "#C4");
}
#if NET_2_0
[Test] // ctor (string, Exception)
public void Constructor3 ()
{
@ -104,7 +103,6 @@ namespace MonoTests.System.ComponentModel.Design
Assert.IsNotNull (ex.Message, "#D3");
Assert.AreEqual (string.Empty, ex.Message, "#D4");
}
#endif
[Test] // ctor (string, int)
public void Constructor4 ()
@ -139,11 +137,7 @@ namespace MonoTests.System.ComponentModel.Design
public void Canceled ()
{
CheckoutException ex = CheckoutException.Canceled;
#if NET_2_0
Assert.AreEqual (-2147467260, ex.ErrorCode, "#1");
#else
Assert.AreEqual (-2147467259, ex.ErrorCode, "#1");
#endif
Assert.IsNull (ex.InnerException, "#2");
Assert.IsNotNull (ex.Message, "#3");
Assert.IsTrue (ex.Message.IndexOf (ex.GetType ().FullName) == -1, "#4");
@ -151,4 +145,4 @@ namespace MonoTests.System.ComponentModel.Design
}
}
#endif
#endif