summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core.iOS.UITests/Tests
diff options
context:
space:
mode:
authorkingces95 <kingces95@users.noreply.github.com>2016-04-07 06:03:59 (GMT)
committerJason Smith <jason.smith@xamarin.com>2016-04-07 06:03:59 (GMT)
commita0f0b3954ed73c891e52f10ab21243b8473da72a (patch)
treefa013ea8f1cdcfe58438dafac8510f41e36dc25a /Xamarin.Forms.Core.iOS.UITests/Tests
parente3191821bae99fb52d32644566cd14a8f496e36a (diff)
downloadxamarin-forms-a0f0b3954ed73c891e52f10ab21243b8473da72a.zip
xamarin-forms-a0f0b3954ed73c891e52f10ab21243b8473da72a.tar.gz
xamarin-forms-a0f0b3954ed73c891e52f10ab21243b8473da72a.tar.bz2
Enable warnings as errors in tests
Diffstat (limited to 'Xamarin.Forms.Core.iOS.UITests/Tests')
-rw-r--r--Xamarin.Forms.Core.iOS.UITests/Tests/ScrollViewUITests.cs2
-rw-r--r--Xamarin.Forms.Core.iOS.UITests/Tests/ToolbarItemTests.cs4
-rw-r--r--Xamarin.Forms.Core.iOS.UITests/Tests/ViewUITests.cs2
3 files changed, 4 insertions, 4 deletions
diff --git a/Xamarin.Forms.Core.iOS.UITests/Tests/ScrollViewUITests.cs b/Xamarin.Forms.Core.iOS.UITests/Tests/ScrollViewUITests.cs
index ed75fa4..2266c26 100644
--- a/Xamarin.Forms.Core.iOS.UITests/Tests/ScrollViewUITests.cs
+++ b/Xamarin.Forms.Core.iOS.UITests/Tests/ScrollViewUITests.cs
@@ -20,7 +20,7 @@ namespace Xamarin.Forms.Core.UITests
[Description ("Scroll element to the start")]
public void ScrollToElement1Start ()
{
- var scroller = App.Query (c => c.Marked ("thescroller"))[0];
+ //var scroller = App.Query (c => c.Marked ("thescroller"))[0];
//need to extract the contentOffset on iOS
App.Tap(c=> c.Marked("Start"));
App.WaitForElement (c => c.Marked ("the scrollto button"));
diff --git a/Xamarin.Forms.Core.iOS.UITests/Tests/ToolbarItemTests.cs b/Xamarin.Forms.Core.iOS.UITests/Tests/ToolbarItemTests.cs
index ce846db..522cd4b 100644
--- a/Xamarin.Forms.Core.iOS.UITests/Tests/ToolbarItemTests.cs
+++ b/Xamarin.Forms.Core.iOS.UITests/Tests/ToolbarItemTests.cs
@@ -52,7 +52,7 @@ namespace Xamarin.Forms.Core.UITests
{
ShouldShowMenu ();
if (App is AndroidApp) {
- var btn = App.Query (c => c.Marked (btn4Id))[0];
+ //App.Query (c => c.Marked (btn4Id))[0];
}
else {
App.Tap (c => c.Marked (btn4Id));
@@ -65,7 +65,7 @@ namespace Xamarin.Forms.Core.UITests
ShouldHideMenu ();
var btn1 = App.Query (c => c.Marked (btn1Id)) [0];
ShouldShowMenu ();
- var btn2 = App.Query (c => c.Marked (btn4Id)) [0];
+ //var btn2 = App.Query (c => c.Marked (btn4Id)) [0];
Assert.False (btn1.Enabled, "Toolbar Item should be disable");
//TODO: how to check Enable for the textview
//Assert.False (btn2.Enabled, "Toolbar Item should be disable");
diff --git a/Xamarin.Forms.Core.iOS.UITests/Tests/ViewUITests.cs b/Xamarin.Forms.Core.iOS.UITests/Tests/ViewUITests.cs
index a11d1f6..9d6f08f 100644
--- a/Xamarin.Forms.Core.iOS.UITests/Tests/ViewUITests.cs
+++ b/Xamarin.Forms.Core.iOS.UITests/Tests/ViewUITests.cs
@@ -105,7 +105,7 @@ namespace Xamarin.Forms.Core.UITests
[UiTest (typeof (VisualElement), "IsEnabled")]
public virtual void _IsEnabled ()
{
- var propName = Test.VisualElement.IsEnabled.ToString ();
+ //var propName = Test.VisualElement.IsEnabled.ToString ();
var remote = new StateViewContainerRemote (App, Test.VisualElement.IsEnabled, PlatformViewType);
remote.GoTo ();