summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core.iOS.UITests/Tests/EntryUITests.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Core.iOS.UITests/Tests/EntryUITests.cs')
-rw-r--r--Xamarin.Forms.Core.iOS.UITests/Tests/EntryUITests.cs69
1 files changed, 0 insertions, 69 deletions
diff --git a/Xamarin.Forms.Core.iOS.UITests/Tests/EntryUITests.cs b/Xamarin.Forms.Core.iOS.UITests/Tests/EntryUITests.cs
deleted file mode 100644
index 82ee605b..00000000
--- a/Xamarin.Forms.Core.iOS.UITests/Tests/EntryUITests.cs
+++ /dev/null
@@ -1,69 +0,0 @@
-using System;
-using System.CodeDom;
-using System.Collections.Generic;
-using System.Diagnostics;
-using System.Linq;
-using System.Security.Cryptography;
-using System.Threading;
-using System.Reflection;
-
-using NUnit.Framework;
-
-using Xamarin.Forms.CustomAttributes;
-using Xamarin.UITest.Android;
-using Xamarin.UITest.Queries;
-using Xamarin.UITest.iOS;
-
-namespace Xamarin.Forms.Core.UITests
-{
- [TestFixture]
- [Category(UITestCategories.Entry)]
- internal class EntryUITests : _ViewUITests
- {
- public EntryUITests ()
- {
- PlatformViewType = Views.Entry;
- }
-
- protected override void NavigateToGallery ()
- {
- App.NavigateToGallery (GalleryQueries.EntryGallery);
- }
-
- // TODO
- public override void _Focus () {}
-
- [UiTestExempt (ExemptReason.CannotTest, "Invalid interaction")]
- public override void _GestureRecognizers () {}
-
- // TODO
- public override void _IsFocused () {}
-
- // TODO
- public override void _UnFocus () {}
-
- // TODO
- // Implement control specific ui tests
- [Test]
- [UiTest (typeof(Entry), "Completed")]
- public void Completed ()
- {
- var remote = new EventViewContainerRemote (App, Test.Entry.Completed, PlatformViewType);
- remote.GoTo ();
-
- App.EnterText (q=> q.Raw (remote.ViewQuery), "Test");
-
- App.PressEnter ();
-
- var eventLabelText = remote.GetEventLabel ().Text;
- Assert.AreEqual (eventLabelText, "Event: Completed (fired 1)");
- }
-
- protected override void FixtureTeardown ()
- {
- App.NavigateBack ();
- base.FixtureTeardown ();
- }
-
- }
-} \ No newline at end of file