maui-linux/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issu.../Bugzilla29128.cs

37 строки
748 B
C#
Исходник Обычный вид История

2016-03-22 23:02:25 +03:00
using System;
using Xamarin.Forms.CustomAttributes;
#if UITEST
using Xamarin.UITest;
using NUnit.Framework;
#endif
namespace Xamarin.Forms.Controls
{
[Preserve (AllMembers = true)]
[Issue (IssueTracker.Bugzilla, 29128, "Slider background lays out wrong Android")]
public class Bugzilla29128 : TestContentPage
{
protected override void Init ()
{
Content = new Slider {
AutomationId = "SliderId",
BackgroundColor = Color.Blue,
Maximum = 255,
Minimum = 0,
};
}
#if UITEST
[Test]
public void Bugzilla29128Test ()
{
RunningApp.WaitForElement (q => q.Marked ("SliderId"));
RunningApp.Screenshot("Slider and button should be centered");
Assert.Inconclusive ("For visual review only");
}
#endif
}
}