48 строки
937 B
C#
48 строки
937 B
C#
using NUnit.Framework;
|
|
using Xamarin.Forms.CustomAttributes;
|
|
|
|
namespace Xamarin.Forms.Core.UITests
|
|
{
|
|
[TestFixture]
|
|
[Category(UITestCategories.CheckBox)]
|
|
internal class CheckBoxUITests : _ViewUITests
|
|
{
|
|
public CheckBoxUITests()
|
|
{
|
|
PlatformViewType = Views.CheckBox;
|
|
}
|
|
|
|
protected override void NavigateToGallery()
|
|
{
|
|
App.NavigateToGallery(GalleryQueries.CheckBoxGallery);
|
|
}
|
|
|
|
[UiTestExempt(ExemptReason.CannotTest, "Invalid interaction")]
|
|
public override void _Focus()
|
|
{
|
|
}
|
|
|
|
// TODO
|
|
public override void _GestureRecognizers()
|
|
{
|
|
}
|
|
|
|
[UiTestExempt(ExemptReason.CannotTest, "Invalid interaction")]
|
|
public override void _IsFocused()
|
|
{
|
|
}
|
|
|
|
[UiTestExempt(ExemptReason.CannotTest, "Invalid interaction")]
|
|
public override void _UnFocus()
|
|
{
|
|
}
|
|
|
|
// TODO
|
|
// Implement control specific ui tests
|
|
protected override void FixtureTeardown()
|
|
{
|
|
App.NavigateBack();
|
|
base.FixtureTeardown();
|
|
}
|
|
}
|
|
} |