diff options
author | Rui Marinho <me@ruimarinho.net> | 2017-03-23 11:03:48 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-23 11:03:48 +0000 |
commit | 2be80a55a514a050ab5ab07a201d13c111f49f63 (patch) | |
tree | a9cc64903a830e4b754ae6eee3fcc2ebb3ba200d /Xamarin.Forms.Core.iOS.UITests/Remotes/RemoteFactory.cs | |
parent | 16fcac8cf52ab960e7354a52864b0a72aefdfc1f (diff) | |
download | xamarin-forms-2be80a55a514a050ab5ab07a201d13c111f49f63.tar.gz xamarin-forms-2be80a55a514a050ab5ab07a201d13c111f49f63.tar.bz2 xamarin-forms-2be80a55a514a050ab5ab07a201d13c111f49f63.zip |
[UITests]Add Xamarin.Forms.Core.UITests.Shared (#711)
* [UITests]Add Xamarin.Forms.Core.UITests.Shared
* fix
* [UITests]Use shared UITest project on macOS
* [UITests] Add correct platform queries
* [Controls] Add missing Preserve
Diffstat (limited to 'Xamarin.Forms.Core.iOS.UITests/Remotes/RemoteFactory.cs')
-rw-r--r-- | Xamarin.Forms.Core.iOS.UITests/Remotes/RemoteFactory.cs | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/Xamarin.Forms.Core.iOS.UITests/Remotes/RemoteFactory.cs b/Xamarin.Forms.Core.iOS.UITests/Remotes/RemoteFactory.cs deleted file mode 100644 index ec9757ef..00000000 --- a/Xamarin.Forms.Core.iOS.UITests/Remotes/RemoteFactory.cs +++ /dev/null @@ -1,56 +0,0 @@ -using System; - -using Xamarin.UITest; -using Xamarin.UITest.Queries; - -namespace Xamarin.Forms.Core.UITests -{ - -// Potential cleanup of Raw Queries -// public void MyTest(IApp app) -// { -// var viewName = "myView"; -// -// app.Query (x => x.Marked (viewName + " View").Parent ().Index (0).Sibling ().Index (1).Child (0).Child (0)); -// -// app.Query (x => x.Marked (viewName + " View").Parent (0).Sibling (1).Child (0).Child (0)); -// -// app.Query (x => x.LayeredHiddenButton ("mine").LayeredHiddenButton ("yours")); -// -// app.Query (x => x.LayeredHiddenButton (viewName).Parentx(4)); -// -// app.ForAndroid (x => { -// x.Back(); -// }); -// } - - -// Potential cleanup of Raw Queries -// make public or reflection will not pick up in REPL -// internal static class Exts -// { -// public static void ForAndroid(this IApp app, Action<AndroidApp> action) -// { -// if (app is AndroidApp) -// { -// action (app as AndroidApp); -// } -// } -// -// public static AppQuery LayeredHiddenButton(this AppQuery query, string viewName) -// { -// if(query.QueryPlatform == QueryPlatform.Android) -// { -// return query.Marked (viewName + " Android View").Parent (0).Sibling (1).Child (0).Child (0); -// -// } -// return query.Marked (viewName + " iOS View").Parent (0).Sibling (1).Child (0).Child (0); -// } -// -// public static AppQuery Parentx(this AppQuery query, int index) -// { -// return query.Parent ().Index (index); -// } -// } - -} |