57 строки
1.1 KiB
C#
57 строки
1.1 KiB
C#
using NUnit.Framework;
|
|
using Xamarin.Forms.CustomAttributes;
|
|
|
|
namespace Xamarin.Forms.Core.UITests
|
|
{
|
|
[TestFixture]
|
|
#if __MACOS__
|
|
[Ignore("Not tested on the MAC")]
|
|
#endif
|
|
[Category(UITestCategories.BoxView)]
|
|
internal class BoxViewUITests : _ViewUITests
|
|
{
|
|
public BoxViewUITests()
|
|
{
|
|
PlatformViewType = Views.BoxView;
|
|
}
|
|
|
|
protected override void NavigateToGallery()
|
|
{
|
|
App.NavigateToGallery(GalleryQueries.BoxViewGallery);
|
|
}
|
|
|
|
[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();
|
|
}
|
|
|
|
[UiTestExempt(ExemptReason.CannotTest, "Invalid interaction")]
|
|
public override void _IsEnabled()
|
|
{
|
|
}
|
|
}
|
|
} |