Example #1
0
 private Decoration CreateDecoration(TestPlan testPlan)
 {
     return(new Decoration
     {
         Before = testPlan.CreateChild("before"),
         Content = testPlan.CreateChild("content"),
         After = testPlan.CreateChild("after"),
     });
 }
Example #2
0
 private Column CreateColumnWithTwoItems(TestPlan testPlan)
 {
     return(new Column
     {
         Items =
         {
             new ColumnItem
             {
                 Child = testPlan.CreateChild("first")
             },
             new ColumnItem
             {
                 Child = testPlan.CreateChild("second")
             }
         }
     });
 }
Example #3
0
        private Padding GetPadding(TestPlan plan)
        {
            return(new Padding()
            {
                Top = 10,
                Right = 20,
                Bottom = 30,
                Left = 40,

                Child = plan.CreateChild()
            });
        }
Example #4
0
 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)
             }
         }
     });
 }