System\ComponentModel\Design\DesignerActionServiceTests.cs (11)
105Assert.Throws<ArgumentNullException>("comp", () => service.Add(null, (DesignerActionListCollection)null));
115service.Add(component, new DesignerActionListCollection { actionList });
138service.Add(component, new DesignerActionListCollection { actionList1 });
139service.Add(component, new DesignerActionListCollection { actionList2 });
140service.Add(component, new DesignerActionListCollection { null });
161Assert.Throws<ArgumentNullException>("designerActionListCollection", () => service.Add(new Component(), (DesignerActionListCollection)null));
201service.Add(component2, new DesignerActionListCollection());
224service.Add(component2, new DesignerActionListCollection());
240service.Add(new Component(), new DesignerActionListCollection());
686service.Add(component2, new DesignerActionListCollection());
719service.Add(new Component(), new DesignerActionListCollection());