blob: d679fa258dc406b79fb48bcf3f321d239bd520a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
using System;
using Xamarin.Forms.CustomAttributes;
using Xamarin.Forms.Internals;
#if UITEST
using Xamarin.UITest;
using NUnit.Framework;
#endif
namespace Xamarin.Forms.Controls
{
[Preserve(AllMembers = true)]
[Issue(IssueTracker.Bugzilla, 39829, "RowHeight of ListView is not working for UWP", PlatformAffected.WinRT)]
public class Bugzilla39829 : TestContentPage
{
protected override void Init()
{
Title = "Master";
var listView = new ListView
{
RowHeight = 150,
AutomationId = "listview",
ItemsSource = new string[] { "Test1", "Test2", "Test3", "Test4", "Test5", "Test6", }
};
Content = listView;
}
#if UITEST
[Test]
[Category("ManualReview")]
public void Bugzilla39829Test()
{
RunningApp.WaitForElement(q => q.Marked("listview"));
RunningApp.Screenshot("If there isn't substantial space between the list items, this test has failed.");
}
#endif
}
}
|