From e4d714cdc68b1fecac211ef62bde3696acd2806b Mon Sep 17 00:00:00 2001 From: "E.Z. Hart" Date: Thu, 3 Jan 2019 15:56:42 -0700 Subject: [PATCH] Clean up old comments --- .../Issue773.cs | 58 ------------------- 1 file changed, 58 deletions(-) diff --git a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue773.cs b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue773.cs index d1914f451..0e40e4976 100644 --- a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue773.cs +++ b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue773.cs @@ -40,64 +40,6 @@ namespace Xamarin.Forms.Controls.Issues RunningApp.SetOrientationPortrait (); } - - //[Test] - //[Issue (IssueTracker.Github, 773, "Horizontal ScrollView locks after rotation - can scroll after rotation", PlatformAffected.iOS)] - //[UiTest (typeof (ScrollView))] - //public void Issue773TestsScrollingBeforeAndAfterRotation () - //{ -// ScrollHorizontalForEnd (); -// App.WaitForElement (q => q.Marked ("I was clicked once!")); -// App.Screenshot ("Scrolling successful before rotation"); -// -// App.SetOrientationLandscape (); -// App.Tap (q => q.Marked ("Button 8")); -// App.WaitForElement (q => q.Marked ("I was clicked again!")); -// App.Screenshot ("Scrolling successful after rotation"); -// -// App.SetOrientationPortrait (); -// App.Screenshot ("Can scroll back to beginning"); -// -// ScrollHorizontalForBeginning (); -// App.Screenshot ("Can scroll back to beginning"); -// } - - //void ScrollHorizontalForEnd () - //{ - // int count = 0; - - // AppRect screenBounds = App.ScreenBounds (); - - // float scrollXStart = (4 / 5.0f) * screenBounds.Width; - // float scrollXEnd = screenBounds.Width / 5; - // float scrollY = App.Query (q => q.Marked ("Button 1"))[0].Rect.CenterY; - - // while (count < 4) { - // App.Pan (new Drag (screenBounds, scrollXStart, scrollY, scrollXEnd, scrollY, Drag.Direction.RightToLeft)); - // count++; - // } - - // App.Tap (q => q.Button ("Button 8")); - //} - - //void ScrollHorizontalForBeginning () - //{ - // int count = 0; - - // AppRect screenBounds = App.ScreenBounds (); - - // float scrollXStart = screenBounds.Width / 5; - // float scrollXEnd = (4 / 5.0f) * screenBounds.Width; - // float scrollY = App.Query (q => q.Button ("Button 8"))[0].Rect.CenterY; - - // while (count < 4) { - // App.Pan (new Drag (screenBounds, scrollXStart, scrollY, scrollXEnd, scrollY, Drag.Direction.LeftToRight)); - // count++; - // } - - // App.Tap (q => q.Button ("Button 1")); - - //} #endif }