Fix and re-enable AddFontFile_Directory_ThrowsFileNotFoundException test, rename...
authorFrederik Carlier <frederik.carlier@quamotion.mobi>
Wed, 26 Jun 2019 13:41:44 +0000 (15:41 +0200)
committerStephen Toub <stoub@microsoft.com>
Wed, 26 Jun 2019 13:41:44 +0000 (09:41 -0400)
commit17014879ee4c289278133315d1274ee8e88d39a4
tree5fadb6a69acc296c93e30596a85d663fb184927c
parentcf46ce735ff6416a84c98222456fa4e31ea07dfb
Fix and re-enable AddFontFile_Directory_ThrowsFileNotFoundException test, rename GetAdjustedPalette_InvalidTypes_ThrowsArgumentException (dotnet/corefx#38873)

* Fix and re-enable AddFontFile_Directory_ThrowsFileNotFoundException test

* Accept Desktop exception, too.

* Avoid two unit test with the same name

Commit migrated from https://github.com/dotnet/corefx/commit/d73a90663d15b7d80dcecb026b37d3b87267d116
src/libraries/System.Drawing.Common/tests/Imaging/ImageAttributesTests.cs
src/libraries/System.Drawing.Common/tests/Text/PrivateFontCollectionTests.cs