[corlib] Add test for deleting non-existing file
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Wed, 5 Jul 2017 15:54:47 +0000 (17:54 +0200)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Fri, 7 Jul 2017 14:17:56 +0000 (16:17 +0200)
commit167d1a6c195dec75dfaa647410b702e5d0ca0b8f
treedf0728552fec175846d77a2acb640462c7da3d63
parent4de15018317be1b7642e654acca788e750dedd29
[corlib] Add test for deleting non-existing file

It shouldn't throw in that case.

Helps cover https://bugzilla.xamarin.com/show_bug.cgi?id=57629
(note that we don't explicitly test on a readonly FS as that is hard
to do in a unit test, but running this test on Android should suffice).
mcs/class/corlib/Test/System.IO/DriveInfoTest.cs
mcs/class/corlib/Test/System.IO/FileTest.cs
mcs/class/test-helpers/NunitHelpers.cs