public class GridTests
{
private Grid _grid;
- private bool _flagLayoutChildren, _flagOnAdded, _flagOnBindingContextChanged, _flagOnRemoved, _flagOnSizeRequest;
+ private static bool _flagLayoutChildren, _flagOnAdded, _flagOnBindingContextChanged, _flagOnRemoved, _flagOnSizeRequest;
[SetUp]
public void SetUp()
{
};
await Program.getApp().MainPage.Navigation.PushAsync(page);
- await Task.Delay(1000);
subGrid.HeightRequest += 20;
+
Assert.IsTrue(_flagLayoutChildren, "Flag LayoutChildren should be True after Layout is changed");
//POST CONDITION
{
private Image _image;
private string _appResourcePath = Program.Current.DirectoryInfo.Resource;
- private bool _flagOnSizeRequest, _flagOnBindingContextChanged;
+ private static bool _flagOnSizeRequest, _flagOnBindingContextChanged;
[SetUp]
public void SetUp()
{
{
private ImageCell _imageCell;
private string _appResourcePath = Program.Current.DirectoryInfo.Resource;
- private bool _flagOnBindingContextChanged;
+ private static bool _flagOnBindingContextChanged;
[SetUp]
public void SetUp()
{
{
private ImageSource _imageSource;
private string _appResourcePath = Program.Current.DirectoryInfo.Resource;
- private bool _flagOnLoadingStarted, _flagOnLoadingCompleted, _flagOnSourceChanged;
+ private static bool _flagOnLoadingStarted, _flagOnLoadingCompleted, _flagOnSourceChanged;
[SetUp]
public void SetUp()