summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core.iOS.UITests/Tests/Legacy-ClipToBoundsUITests.cs
diff options
context:
space:
mode:
authorE.Z. Hart <hartez@users.noreply.github.com>2016-05-04 08:16:42 -0600
committerRui Marinho <me@ruimarinho.net>2016-05-04 15:16:42 +0100
commit8d383746caab00dd3ee0b62dc992a2a99c7a6d06 (patch)
tree37a7f814bc305bd8b6c44837bdbfc421ee1f9ddf /Xamarin.Forms.Core.iOS.UITests/Tests/Legacy-ClipToBoundsUITests.cs
parent5b9094241b1d3da5419ed21be30bdcc07c469dbe (diff)
downloadxamarin-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.cs69
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");
- // }
-
- }
-}
-