Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wieslawsoltes authored Oct 27, 2020
1 parent e56c62d commit d3f362a
Showing 1 changed file with 32 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ public void Lays_Out_Children_Horizontal()
Orientation = Orientation.Horizontal,
Children =
{
new Rectangle(),
new Border(),
new ProportionalStackPanelSplitter(),
new Rectangle()
new Border()
}
};

Expand All @@ -54,9 +54,9 @@ public void Lays_Out_Children_Vertical()
Orientation = Orientation.Vertical,
Children =
{
new Rectangle(),
new Border(),
new ProportionalStackPanelSplitter(),
new Rectangle()
new Border()
}
};

Expand All @@ -83,20 +83,20 @@ public void Lays_Out_Children_Default()
{
Children =
{
new Rectangle()
new Border()
{
Fill = Brushes.Red,
Background = Brushes.Red,
[ProportionalStackPanelSplitter.ProportionProperty] = 0.5
},
new ProportionalStackPanelSplitter(),
new Rectangle()
new Border()
{
Fill = Brushes.Green
Background = Brushes.Green
},
new ProportionalStackPanelSplitter(),
new Rectangle()
new Border()
{
Fill=Brushes.Blue
Background = Brushes.Blue
}
}
},
Expand All @@ -105,19 +105,19 @@ public void Lays_Out_Children_Default()
{
Children =
{
new Rectangle()
new Border()
{
Fill = Brushes.Blue,
Background = Brushes.Blue,
},
new ProportionalStackPanelSplitter(),
new Rectangle()
new Border()
{
Fill = Brushes.Red
Background = Brushes.Red
},
new ProportionalStackPanelSplitter(),
new Rectangle()
new Border()
{
Fill=Brushes.Green
Background=Brushes.Green
}
}
},
Expand All @@ -126,19 +126,19 @@ public void Lays_Out_Children_Default()
{
Children =
{
new Rectangle()
new Border()
{
Fill = Brushes.Green,
Background = Brushes.Green,
},
new ProportionalStackPanelSplitter(),
new Rectangle()
new Border()
{
Fill = Brushes.Blue
Background = Brushes.Blue
},
new ProportionalStackPanelSplitter(),
new Rectangle()
new Border()
{
Fill=Brushes.Red,
Background=Brushes.Red,
[ProportionalStackPanelSplitter.ProportionProperty] = 0.5
}
}
Expand Down Expand Up @@ -173,14 +173,14 @@ public void Lays_Out_Children_ItemsControl()
},
Items = new List<IControl>()
{
new Rectangle()
new Border()
{
Fill = Brushes.Green
Background = Brushes.Green
},
new ProportionalStackPanelSplitter(),
new Rectangle()
new Border()
{
Fill = Brushes.Blue
Background = Brushes.Blue
},
new ProportionalStackPanelSplitter(),
new ItemsControl()
Expand All @@ -194,18 +194,18 @@ public void Lays_Out_Children_ItemsControl()
},
Items = new List<IControl>()
{
new Rectangle()
new Border()
{
Fill = Brushes.Green
Background = Brushes.Green
},
new ProportionalStackPanelSplitter(),
new Rectangle()
new Border()
{
Fill = Brushes.Blue
Background = Brushes.Blue
},
new Rectangle()
new Border()
{
Fill = Brushes.Red
Background = Brushes.Red
}
}
}
Expand Down

0 comments on commit d3f362a

Please sign in to comment.