diff options
author | Jason Smith <jason.smith@xamarin.com> | 2016-03-22 13:02:25 -0700 |
---|---|---|
committer | Jason Smith <jason.smith@xamarin.com> | 2016-03-22 16:13:41 -0700 |
commit | 17fdde66d94155fc62a034fa6658995bef6fd6e5 (patch) | |
tree | b5e5073a2a7b15cdbe826faa5c763e270a505729 /Xamarin.Forms.Core.iOS.UITests/Tests/WebViewUITests.cs | |
download | xamarin-forms-17fdde66d94155fc62a034fa6658995bef6fd6e5.tar.gz xamarin-forms-17fdde66d94155fc62a034fa6658995bef6fd6e5.tar.bz2 xamarin-forms-17fdde66d94155fc62a034fa6658995bef6fd6e5.zip |
Initial import
Diffstat (limited to 'Xamarin.Forms.Core.iOS.UITests/Tests/WebViewUITests.cs')
-rw-r--r-- | Xamarin.Forms.Core.iOS.UITests/Tests/WebViewUITests.cs | 93 |
1 files changed, 93 insertions, 0 deletions
diff --git a/Xamarin.Forms.Core.iOS.UITests/Tests/WebViewUITests.cs b/Xamarin.Forms.Core.iOS.UITests/Tests/WebViewUITests.cs new file mode 100644 index 00000000..d4233cba --- /dev/null +++ b/Xamarin.Forms.Core.iOS.UITests/Tests/WebViewUITests.cs @@ -0,0 +1,93 @@ +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 ("WebView")] + internal class WebViewUITests : _ViewUITests + { + public WebViewUITests () + { + PlatformViewType = Views.WebView; + } + + protected override void NavigateToGallery () + { + App.NavigateToGallery (GalleryQueries.WebViewGallery); + } + + [Category ("ManualReview")] + public override void _IsEnabled () + { + Assert.Inconclusive ("Does not make sense for WebView"); + } + + [Test] + [Category ("ManualReview")] + public override void _IsVisible () {} + + [UiTestExempt (ExemptReason.CannotTest, "Invalid interaction with Label")] + public override void _Focus () {} + + // TODO + public override void _GestureRecognizers () {} + + [UiTestExempt (ExemptReason.CannotTest, "Invalid interaction with Label")] + public override void _IsFocused () {} + + [Test] + [Category ("ManualReview")] + public override void _Opacity () {} + + [Test] + [Category ("ManualReview")] + public override void _Rotation () {} + + [Test] + [Category ("ManualReview")] + public override void _RotationX () {} + + [Test] + [Category ("ManualReview")] + public override void _RotationY () {} + + + [Test] + [Category ("ManualReview")] + public override void _TranslationX () {} + + [Test] + [Category ("ManualReview")] + public override void _TranslationY () {} + + [Test] + [Category ("ManualReview")] + public override void _Scale () {} + + [UiTestExempt (ExemptReason.CannotTest, "Invalid interaction with Label")] + public override void _UnFocus () {} + + // TODO + // Implement control specific ui tests + + protected override void FixtureTeardown () + { + App.NavigateBack (); + base.FixtureTeardown (); + } + } +}
\ No newline at end of file |