6 references to CreateComponentsCore
System.Windows.Forms.Design.Tests (6)
System\Drawing\Design\ToolboxItemTests.cs (6)
778
Assert.Same(component, Assert.Single(item.
CreateComponentsCore
(mockDesignerHost.Object, null)));
782
Assert.Same(component, Assert.Single(item.
CreateComponentsCore
(mockDesignerHost.Object, new Hashtable())));
844
Assert.Same(component, Assert.Single(item.
CreateComponentsCore
(mockDesignerHost.Object, null)));
848
Assert.Same(component, Assert.Single(item.
CreateComponentsCore
(mockDesignerHost.Object, new Hashtable())));
914
Assert.Throws<InvalidOperationException>(() => item.
CreateComponentsCore
(mockDesignerHost.Object, null));
918
Assert.Throws<InvalidOperationException>(() => item.
CreateComponentsCore
(mockDesignerHost.Object, new Hashtable()));