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