diff options
author | E.Z. Hart <hartez@users.noreply.github.com> | 2016-05-04 08:16:42 -0600 |
---|---|---|
committer | Rui Marinho <me@ruimarinho.net> | 2016-05-04 15:16:42 +0100 |
commit | 8d383746caab00dd3ee0b62dc992a2a99c7a6d06 (patch) | |
tree | 37a7f814bc305bd8b6c44837bdbfc421ee1f9ddf /Xamarin.Forms.Core.iOS.UITests/Tests/Legacy-ClipToBoundsUITests.cs | |
parent | 5b9094241b1d3da5419ed21be30bdcc07c469dbe (diff) | |
download | xamarin-forms-8d383746caab00dd3ee0b62dc992a2a99c7a6d06.tar.gz xamarin-forms-8d383746caab00dd3ee0b62dc992a2a99c7a6d06.tar.bz2 xamarin-forms-8d383746caab00dd3ee0b62dc992a2a99c7a6d06.zip |
Remove empty UI tests (#160)
* Use WaitForElement instead of Thread.Sleep to cut down on idle time
* Remove empty UI tests
Diffstat (limited to 'Xamarin.Forms.Core.iOS.UITests/Tests/Legacy-ClipToBoundsUITests.cs')
-rw-r--r-- | Xamarin.Forms.Core.iOS.UITests/Tests/Legacy-ClipToBoundsUITests.cs | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/Xamarin.Forms.Core.iOS.UITests/Tests/Legacy-ClipToBoundsUITests.cs b/Xamarin.Forms.Core.iOS.UITests/Tests/Legacy-ClipToBoundsUITests.cs deleted file mode 100644 index b6a8ebc8..00000000 --- a/Xamarin.Forms.Core.iOS.UITests/Tests/Legacy-ClipToBoundsUITests.cs +++ /dev/null @@ -1,69 +0,0 @@ -using System; -using System.Runtime; -using NUnit.Framework; -using Xamarin.UITest; -using Xamarin.UITest.Shared; - -namespace Xamarin.Forms.Core.UITests -{ - [TestFixture] - [Category ("AbsoluteLayout")] - internal class ClipToBoundsGalleryTests : BaseTestFixture - { - // TODO detect size before and after clip - // TODO: Port to new conventions - - public ClipToBoundsGalleryTests () - { - ShouldResetPerFixture = false; - } - - protected override void NavigateToGallery () - { - App.NavigateToGallery (GalleryQueries.ClipToBoundsGalleryLegacy); - } - [Test] - [Description ("Check all elements exist")] - public void ClipToBoundsGalleryAllElementsExist () - { -// App.WaitForElement (q => q.Button ("Clip"), "Timeout : Clip"); -// var boxes = App.Query (PlatformQueries.BoxRendererQuery); -// Assert.AreEqual (2, boxes.Length); -// App.Screenshot ("2 boxes exist"); - - - } - -// [Test] -// [Description ("Clip boxes")] -// public void ClipToBoundsGalleryClipElements () -// { -// App.Tap (q => q.Button ("Clip")); -// App.Screenshot ("Clip elements"); -// } - -// [Test] -// [Description ("Check all elements exist - landscape")] -// public void ClipToBoundsGalleryAllElementsExistLandscape () -// { -// App.SetOrientationLandscape (); -// App.Screenshot ("Rotated to Landscape"); -// ClipToBoundsGalleryAllElementsExist (); -// App.SetOrientationPortrait (); -// App.Screenshot ("Rotated to Portrait"); -// } - -// [Test] -// [Description ("Clip boxes - landscape")] -// public void ClipToBoundsGalleryClipElementsLandscape () -// { -// App.SetOrientationLandscape (); -// App.Screenshot ("Rotated to Landscape"); -// ClipToBoundsGalleryClipElements (); -// App.SetOrientationPortrait (); -// App.Screenshot ("Rotated to Portrait"); - // } - - } -} - |