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

                Child = plan.CreateChild()
            });
        }
Esempio n. 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)
             }
         }
     });
 }