private Decoration CreateDecoration(TestPlan testPlan) { return(new Decoration { Before = testPlan.CreateChild("before"), Content = testPlan.CreateChild("content"), After = testPlan.CreateChild("after"), }); }
private Column CreateColumnWithTwoItems(TestPlan testPlan) { return(new Column { Items = { new ColumnItem { Child = testPlan.CreateChild("first") }, new ColumnItem { Child = testPlan.CreateChild("second") } } }); }
private Padding GetPadding(TestPlan plan) { return(new Padding() { Top = 10, Right = 20, Bottom = 30, Left = 40, Child = plan.CreateChild() }); }
private static Layers GetLayers(TestPlan x) { return(new Layers { Children = new List <Layer> { new Layer { Child = x.CreateChild(BackgroundLayer) }, new Layer { Child = x.CreateChild(MainLayer), IsPrimary = true }, new Layer { Child = x.CreateChild(ForegroundLayer) } } }); }