public void LayoutEngine_InitLayout_NullChild_ThrowsNullReferenceException() { var engine = new SubLayoutEngine(); Assert.Throws <NullReferenceException>(() => engine.InitLayout(null, BoundsSpecified.All)); }
public void LayoutEngine_InitLayout_InvalidChild_Nop() { var engine = new SubLayoutEngine(); engine.InitLayout("child", BoundsSpecified.All); }
public void LayoutEngine_InitLayout_NullChild_ThrowsArgumentNullException() { var engine = new SubLayoutEngine(); Assert.Throws <ArgumentNullException>("child", () => engine.InitLayout(null, BoundsSpecified.All)); }
public void LayoutEngine_InitLayout_ValidChild_Nop() { var engine = new SubLayoutEngine(); engine.InitLayout(new ScrollableControl(), BoundsSpecified.All); }
public void LayoutEngine_InitLayout_InvalidChild_ThrowsNotSupportedException() { var engine = new SubLayoutEngine(); Assert.Throws <NotSupportedException>(() => engine.InitLayout("child", BoundsSpecified.All)); }