48 строки
927 B
C#
48 строки
927 B
C#
|
using NUnit.Framework;
|
||
|
using Xamarin.Forms.CustomAttributes;
|
||
|
|
||
|
namespace Xamarin.Forms.Core.UITests
|
||
|
{
|
||
|
[TestFixture]
|
||
|
[Category(UITestCategories.Switch)]
|
||
|
internal class SwitchUITests : _ViewUITests
|
||
|
{
|
||
|
public SwitchUITests()
|
||
|
{
|
||
|
PlatformViewType = Views.Switch;
|
||
|
}
|
||
|
|
||
|
protected override void NavigateToGallery()
|
||
|
{
|
||
|
App.NavigateToGallery(GalleryQueries.SwitchGallery);
|
||
|
}
|
||
|
|
||
|
[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();
|
||
|
}
|
||
|
}
|
||
|
}
|