From 37eaa080d2c888366b89ef829993b0fdb30c1a65 Mon Sep 17 00:00:00 2001 From: Igor Velikorossov Date: Wed, 3 Jun 2020 17:43:42 +1000 Subject: [PATCH] fixup! Fix IPictureTests tests --- .../UnitTests/Interop/Ole32/IPictureTests.cs | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/src/System.Windows.Forms.Primitives/tests/UnitTests/Interop/Ole32/IPictureTests.cs b/src/System.Windows.Forms.Primitives/tests/UnitTests/Interop/Ole32/IPictureTests.cs index 885d571535d..ff52cfe16e3 100644 --- a/src/System.Windows.Forms.Primitives/tests/UnitTests/Interop/Ole32/IPictureTests.cs +++ b/src/System.Windows.Forms.Primitives/tests/UnitTests/Interop/Ole32/IPictureTests.cs @@ -10,7 +10,6 @@ namespace System.Windows.Forms.Primitives.Tests.Interop.Ole32 { - [Collection("Sequential")] public class IPictureTests { @@ -76,25 +75,5 @@ public void GetPictureFromIPictureDisp() Assert.NotNull(image); Assert.Equal(bitmap.Size, image.Size); } - - //internal class MockAxHost : AxHost - //{ - // private MockAxHost() : base(string.Empty) { } - - // internal new static IPicture GetIPictureFromCursor(Cursor cursor) - // => (IPicture)AxHost.GetIPictureFromCursor(cursor); - - // internal new static IPicture GetIPictureFromPicture(Image image) - // => (IPicture)AxHost.GetIPictureFromPicture(image); - - // internal new static IPictureDisp GetIPictureDispFromPicture(Image image) - // => (IPictureDisp)AxHost.GetIPictureDispFromPicture(image); - - // internal static Image GetPictureFromIPicture(IPicture picture) - // => GetPictureFromIPicture((object)picture); - - // internal static Image GetPictureFromIPictureDisp(IPictureDisp picture) - // => GetPictureFromIPictureDisp((object)picture); - //} } }