Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add IClassFixture<ThreadExceptionFixture> to all tests #2684

Merged
merged 1 commit into from
Jan 13, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

namespace System.Windows.Forms.Design.Editors.Tests
{
public class EnsureEditorsTests
public class EnsureEditorsTests : IClassFixture<ThreadExceptionFixture>
{
[WinFormsTheory]
// In Table
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace System.Windows.Forms.Design.Editors.Tests.Serialization
{
public class SerializableAttributeTests
public class SerializableAttributeTests : IClassFixture<ThreadExceptionFixture>
{
[Fact]
public void EnsureSerializableAttribute()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

namespace System.ComponentModel.Design.Tests
{
public class ArrayEditorTests
public class ArrayEditorTests : IClassFixture<ThreadExceptionFixture>
{
[Theory]
[InlineData(typeof(object), null)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

namespace System.ComponentModel.Design.Tests
{
public class CollectionEditorTests
public class CollectionEditorTests : IClassFixture<ThreadExceptionFixture>
{
[Theory]
[InlineData(typeof(object), typeof(object))]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

namespace System.ComponentModel.Design.Tests
{
public class CollectionFormTests : CollectionEditor
public class CollectionFormTests : CollectionEditor, IClassFixture<ThreadExceptionFixture>
{
public CollectionFormTests() : base(typeof(List<int>))
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

namespace System.ComponentModel.Design.Tests
{
public class MultilineStringEditorTests
public class MultilineStringEditorTests : IClassFixture<ThreadExceptionFixture>
{
[Fact]
public void MultilineStringEditor_Ctor_Default()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

namespace System.ComponentModel.Design.Tests
{
public class ObjectSelectorEditorTests
public class ObjectSelectorEditorTests : IClassFixture<ThreadExceptionFixture>
{
[Fact]
public void ObjectSelectorEditor_Ctor_Default()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

namespace System.Drawing.Design.Tests
{
public class BitmapEditorTests
public class BitmapEditorTests : IClassFixture<ThreadExceptionFixture>
{
[Fact]
public void BitmapEditor_Ctor_Default()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

namespace System.Drawing.Design.Tests
{
public class ColorEditorTests
public class ColorEditorTests : IClassFixture<ThreadExceptionFixture>
{
[Fact]
public void ColorEditor_Ctor_Default()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

namespace System.Drawing.Design.Tests
{
public class CursorEditorTests
public class CursorEditorTests : IClassFixture<ThreadExceptionFixture>
{
[Fact]
public void CursorEditor_Ctor_Default()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

namespace System.Drawing.Design.Tests
{
public class FontEditorTests
public class FontEditorTests : IClassFixture<ThreadExceptionFixture>
{
[Fact]
public void FontEditor_Ctor_Default()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

namespace System.Drawing.Design.Tests
{
public class FontNameEditorTests
public class FontNameEditorTests : IClassFixture<ThreadExceptionFixture>
{
private readonly ITypeDescriptorContext _typeDescriptorContext;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

namespace System.Drawing.Design.Tests
{
public class ImageEditorTests
public class ImageEditorTests : IClassFixture<ThreadExceptionFixture>
{
[Fact]
public void ImageEditor_Ctor_Default()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

namespace System.Drawing.Design.Tests
{
public class MetafileEditorTests
public class MetafileEditorTests : IClassFixture<ThreadExceptionFixture>
{
[Fact]
public void MetafileEditor_Ctor_Default()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

namespace System.Windows.Forms.Design.Tests
{
public class AnchorEditorTests
public class AnchorEditorTests : IClassFixture<ThreadExceptionFixture>
{
[Fact]
public void AnchorEditor_Ctor_Default()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

namespace System.Windows.Forms.Design.Tests
{
public class BorderSidesEditorTests
public class BorderSidesEditorTests : IClassFixture<ThreadExceptionFixture>
{
[Fact]
public void BorderSidesEditor_Ctor_Default()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace System.Windows.Forms.Design.Tests
{
public class ColumnHeaderCollectionEditorTests
public class ColumnHeaderCollectionEditorTests : IClassFixture<ThreadExceptionFixture>
{
[Fact]
public void ColumnHeaderCollectionEditor_Ctor_Default()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace System.Windows.Forms.Design.Tests
{
public class DataGridViewCellStyleEditorTest
public class DataGridViewCellStyleEditorTests : IClassFixture<ThreadExceptionFixture>
{
[Fact]
public void DataGridViewCellStyleEditor_Ctor_Default()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

namespace System.Windows.Forms.Design.Tests
{
public class DockEditorTests
public class DockEditorTests : IClassFixture<ThreadExceptionFixture>
{
[Fact]
public void DockEditor_Ctor_Default()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

namespace System.Windows.Forms.Design.Tests
{
public class FileNameEditorTests
public class FileNameEditorTests : IClassFixture<ThreadExceptionFixture>
{
[Fact]
public void FileNameEditor_Ctor_Default()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

namespace System.Windows.Forms.Design.Tests
{
public class FolderNameEditorTests
public class FolderNameEditorTests : IClassFixture<ThreadExceptionFixture>
{
[Fact]
public void FolderNameEditor_Ctor_Default()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

namespace System.Windows.Forms.Design.Tests
{
public class ShortcutKeysEditorTests
public class ShortcutKeysEditorTests : IClassFixture<ThreadExceptionFixture>
{
[Fact]
public void ShortcutKeysEditor_Ctor_Default()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace System.Windows.Forms.Design.Tests
{
public class ControlDesignerTests
public class ControlDesignerTests : IClassFixture<ThreadExceptionFixture>
{
[Fact]
public void AccessibleObjectField()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

namespace System.Windows.Forms.Design.Tests.Serialization
{
public class SerializableAttributeTests
public class SerializableAttributeTests : IClassFixture<ThreadExceptionFixture>
{
[Fact]
public void EnsureSerializableAttribute()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

namespace System.ComponentModel.Design.Tests
{
public class ComponentDesignerTests
public class ComponentDesignerTests : IClassFixture<ThreadExceptionFixture>
{
[Fact]
public void ComponentDesigner_Ctor_Default()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

namespace System.ComponentModel.Design.Tests
{
public class DesignSurfaceTests
public class DesignSurfaceTests : IClassFixture<ThreadExceptionFixture>
{
[Fact]
public void DesignSurface_Ctor_Default()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

namespace System.ComponentModel.Design.Tests
{
public class DesignerActionHeaderItemTests
public class DesignerActionHeaderItemTests : IClassFixture<ThreadExceptionFixture>
{
[Theory]
[InlineData("displayName", "category", "displayName")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

namespace System.ComponentModel.Design.Tests
{
public class DesignerActionItemCollectionTests
public class DesignerActionItemCollectionTests : IClassFixture<ThreadExceptionFixture>
{
[Fact]
public void DesignerActionItemCollection_Ctor_Default()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

namespace System.ComponentModel.Design.Tests
{
public class DesignerActionItemTests
public class DesignerActionItemTests : IClassFixture<ThreadExceptionFixture>
{
[Theory]
[InlineData("displayName", "category", "description", "displayName")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace System.ComponentModel.Design.Tests
{
public class DesignerActionListCollectionTests
public class DesignerActionListCollectionTests : IClassFixture<ThreadExceptionFixture>
{
[Fact]
public void DesignerActionListCollection_Ctor_Default()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

namespace System.ComponentModel.Design.Tests
{
public class DesignerActionListTests
public class DesignerActionListTests : IClassFixture<ThreadExceptionFixture>
{
public static IEnumerable<object[]> Ctor_IComponent_TestDat()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace System.ComponentModel.Design.Tests
{
public class DesignerActionListsChangedEventArgsTests
public class DesignerActionListsChangedEventArgsTests : IClassFixture<ThreadExceptionFixture>
{
public static IEnumerable<object[]> Ctor_Object_DesignerActionListsChangedType_DesignerActionListCollection_TestData()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

namespace System.ComponentModel.Design.Tests
{
public class DesignerActionMethodItemTests
public class DesignerActionMethodItemTests : IClassFixture<ThreadExceptionFixture>
{
public static IEnumerable<object[]> Ctor_DesignerActionList_String_String_String_String_Bool_TestData()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

namespace System.ComponentModel.Design.Tests
{
public class DesignerActionPropertyItemTests
public class DesignerActionPropertyItemTests : IClassFixture<ThreadExceptionFixture>
{
[Theory]
[InlineData("memberName", "displayName", "category", "description", "displayName")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

namespace System.ComponentModel.Design.Tests
{
public class DesignerActionServiceTests
public class DesignerActionServiceTests : IClassFixture<ThreadExceptionFixture>
{
[Fact]
public void Ctor_IServiceProvider()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

namespace System.ComponentModel.Design.Tests
{
public class DesignerActionTextItemTests
public class DesignerActionTextItemTests : IClassFixture<ThreadExceptionFixture>
{
[Theory]
[InlineData("displayName", "category", "displayName")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace System.ComponentModel.Design.Tests
{
public class DesignerActionUIStateChangeEventArgsTests
public class DesignerActionUIStateChangeEventArgsTests : IClassFixture<ThreadExceptionFixture>
{
public static IEnumerable<object[]> Ctor_Object_DesignerActionUIStateChangeType_TestData()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace System.ComponentModel.Design.Tests
{
public class DesignerCommandSetTests
public class DesignerCommandSetTests : IClassFixture<ThreadExceptionFixture>
{
[Fact]
public void DesignerCommandSet_Ctor_Default()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

namespace System.ComponentModel.Design.Tests
{
public class DesignerHostTests
public class DesignerHostTests : IClassFixture<ThreadExceptionFixture>
{
[Theory]
[CommonMemberData(nameof(CommonTestHelper.GetBoolTheoryData))]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

namespace System.ComponentModel.Design.Tests
{
public class ExceptionCollectionTests
public class ExceptionCollectionTests : IClassFixture<ThreadExceptionFixture>
{
public static IEnumerable<object[]> Ctor_ArrayList_TestData()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

namespace System.ComponentModel.Design.Tests
{
public class ExtenderProviderServiceTests
public class ExtenderProviderServiceTests : IClassFixture<ThreadExceptionFixture>
{
[Fact]
public void ExtenderProviderService_GetExtenderProviders_Invoke_ReturnsEmpty()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

namespace System.ComponentModel.Design.Tests
{
public class InheritanceServicerTests
public class InheritanceServicerTests : IClassFixture<ThreadExceptionFixture>
{
[Fact]
public void InheritanceService_Constructor()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace System.ComponentModel.Design.Tests
{
public class LoadedEventArgsTests
public class LoadedEventArgsTests : IClassFixture<ThreadExceptionFixture>
{
public static IEnumerable<object[]> Ctor_Bool_ICollection_TestData()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

namespace System.ComponentModel.Design.Tests
{
public class ProjectTargetFrameworkAttributeTests
public class ProjectTargetFrameworkAttributeTests : IClassFixture<ThreadExceptionFixture>
{
[Theory]
[CommonMemberData(nameof(CommonTestHelper.GetStringWithNullTheoryData))]
Expand Down
Loading