From ed80514659855a22b1e398af7acf66c68000c2d9 Mon Sep 17 00:00:00 2001 From: "E.Z. Hart" Date: Thu, 28 Apr 2016 17:10:25 -0600 Subject: [PATCH] Remove empty UI test for control which no longer exists (#152) --- .../Xamarin.Forms.Core.Android.UITests.csproj | 3 -- .../Xamarin.Forms.Core.Windows.UITests.csproj | 3 -- Xamarin.Forms.Core.iOS.UITests/Queries.cs | 1 - .../Tests/Legacy-ToolbarGalleryUITests.cs | 51 ------------------- .../Xamarin.Forms.Core.iOS.UITests.csproj | 1 - 5 files changed, 59 deletions(-) delete mode 100644 Xamarin.Forms.Core.iOS.UITests/Tests/Legacy-ToolbarGalleryUITests.cs diff --git a/Xamarin.Forms.Core.Android.UITests/Xamarin.Forms.Core.Android.UITests.csproj b/Xamarin.Forms.Core.Android.UITests/Xamarin.Forms.Core.Android.UITests.csproj index 7ae5e04c85..85f98b2ca1 100644 --- a/Xamarin.Forms.Core.Android.UITests/Xamarin.Forms.Core.Android.UITests.csproj +++ b/Xamarin.Forms.Core.Android.UITests/Xamarin.Forms.Core.Android.UITests.csproj @@ -186,9 +186,6 @@ Tests\Legacy-TemplatedTabPageUITests.cs - - Tests\Legacy-ToolbarGalleryUITests.cs - Tests\Legacy-UnevenViewCellUITests.cs diff --git a/Xamarin.Forms.Core.Windows.UITests/Xamarin.Forms.Core.Windows.UITests.csproj b/Xamarin.Forms.Core.Windows.UITests/Xamarin.Forms.Core.Windows.UITests.csproj index b616be339b..ba113d5d21 100644 --- a/Xamarin.Forms.Core.Windows.UITests/Xamarin.Forms.Core.Windows.UITests.csproj +++ b/Xamarin.Forms.Core.Windows.UITests/Xamarin.Forms.Core.Windows.UITests.csproj @@ -187,9 +187,6 @@ Tests\Legacy-TemplatedTabPageUITests.cs - - Tests\Legacy-ToolbarGalleryUITests.cs - Tests\Legacy-UnevenListTests.cs diff --git a/Xamarin.Forms.Core.iOS.UITests/Queries.cs b/Xamarin.Forms.Core.iOS.UITests/Queries.cs index dbc8ef4721..2d4f2dcab8 100644 --- a/Xamarin.Forms.Core.iOS.UITests/Queries.cs +++ b/Xamarin.Forms.Core.iOS.UITests/Queries.cs @@ -71,7 +71,6 @@ namespace Xamarin.Forms.Core.UITests public const string TableViewGalleryLegacy = "* marked:'TableView Gallery - Legacy'"; public const string TemplatedCarouselPageGalleryLegacy = "* marked:'TemplatedCarouselPage Gallery - Legacy'"; public const string TemplatedTabbedPageGalleryLegacy = "* marked:'TemplatedTabbedPage Gallery - Legacy'"; - public const string ToolbarGalleryLegacy = "* marked:'Toolbar Gallery - Legacy'"; public const string UnevenViewCellGalleryLegacy = "* marked:'UnevenViewCell Gallery - Legacy'"; public const string UnevenListGalleryLegacy = "* marked:'UnevenList Gallery - Legacy'"; public const string ViewCellGalleryLegacy = "* marked:'ViewCell Gallery - Legacy'"; diff --git a/Xamarin.Forms.Core.iOS.UITests/Tests/Legacy-ToolbarGalleryUITests.cs b/Xamarin.Forms.Core.iOS.UITests/Tests/Legacy-ToolbarGalleryUITests.cs deleted file mode 100644 index ad00a19129..0000000000 --- a/Xamarin.Forms.Core.iOS.UITests/Tests/Legacy-ToolbarGalleryUITests.cs +++ /dev/null @@ -1,51 +0,0 @@ -using NUnit.Framework; -using Xamarin.UITest; - -namespace Xamarin.Forms.Core.UITests -{ - [TestFixture] - [Category ("ToolBar")] - internal class ToolbarGalleryTests : BaseTestFixture - { - // TODO - Is there a ToolBar item limit, test image only toolbar item - // TODO: Port to new conventions - - public ToolbarGalleryTests () - { - ShouldResetPerFixture = false; - } - - protected override void NavigateToGallery () - { - App.NavigateToGallery (GalleryQueries.ToolbarGalleryLegacy); - } - - //void AllElementsPresent () - //{ - // var elements = new [] { "One", "Two", "Three", "Four", "Click the toolbar" }; - // foreach (var element in elements) - // App.WaitForElement (q => q.Marked (element)); - - // App.Screenshot ("All elements exist"); - //} - - [Test] - public void ToolbarGalleryToolbarAction () - { - // AllElementsPresent (); - - // var elements = new [] { "One", "Two", "Three", "Four" }; - // foreach (var element in elements) { - // App.Tap (q => q.Marked (element)); - // App.WaitForElement (q => q.Marked ("Activated: " + element)); - // } - - // App.Screenshot ("Toolbar commands fire"); - } - -/*******************************************************/ -/**************** Landscape tests **********************/ -/*******************************************************/ - - } -} diff --git a/Xamarin.Forms.Core.iOS.UITests/Xamarin.Forms.Core.iOS.UITests.csproj b/Xamarin.Forms.Core.iOS.UITests/Xamarin.Forms.Core.iOS.UITests.csproj index 47dd9454f8..3b52ed7547 100644 --- a/Xamarin.Forms.Core.iOS.UITests/Xamarin.Forms.Core.iOS.UITests.csproj +++ b/Xamarin.Forms.Core.iOS.UITests/Xamarin.Forms.Core.iOS.UITests.csproj @@ -105,7 +105,6 @@ -