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

@ -913,6 +913,7 @@ namespace MonoTests.System.IO
}
[Test]
[Category("AndroidSdksNotWorking")]
public void Move ()
{
string bar = tmpFolder + Path.DirectorySeparatorChar + "bar";
@ -923,7 +924,7 @@ namespace MonoTests.System.IO
}
Assert.IsTrue (File.Exists (bar), "#1");
Assert.DoesNotThrow (() => File.Move (bar, baz), "#5");
File.Move (bar, baz);
Assert.IsFalse (File.Exists (bar), "#2");
Assert.IsTrue (File.Exists (baz), "#3");
@ -939,7 +940,7 @@ namespace MonoTests.System.IO
Directory.CreateDirectory (dir);
Directory.CreateDirectory (dir2);
File.Create (dir_foo).Close ();
Assert.DoesNotThrow (() => File.Move (dir_foo, dir2_foo), "#6");
File.Move (dir_foo, dir2_foo);
Assert.IsTrue (File.Exists (dir2_foo), "#4");
Directory.Delete (dir, true);
@ -2507,6 +2508,7 @@ namespace MonoTests.System.IO
[Test]
[Category("NotWasm")]
[Category("AndroidSdksNotWorking")]
public void ReplaceTest ()
{
string tmp = Path.Combine (tmpFolder, "ReplaceTest");