summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core.Android.UITests
diff options
context:
space:
mode:
authorJason Smith <jason.smith@xamarin.com>2016-03-22 13:02:25 -0700
committerJason Smith <jason.smith@xamarin.com>2016-03-22 16:13:41 -0700
commit17fdde66d94155fc62a034fa6658995bef6fd6e5 (patch)
treeb5e5073a2a7b15cdbe826faa5c763e270a505729 /Xamarin.Forms.Core.Android.UITests
downloadxamarin-forms-17fdde66d94155fc62a034fa6658995bef6fd6e5.tar.gz
xamarin-forms-17fdde66d94155fc62a034fa6658995bef6fd6e5.tar.bz2
xamarin-forms-17fdde66d94155fc62a034fa6658995bef6fd6e5.zip
Initial import
Diffstat (limited to 'Xamarin.Forms.Core.Android.UITests')
-rw-r--r--Xamarin.Forms.Core.Android.UITests/App.cs22
-rw-r--r--Xamarin.Forms.Core.Android.UITests/Makefile2
-rw-r--r--Xamarin.Forms.Core.Android.UITests/PlatformQueries.cs133
-rw-r--r--Xamarin.Forms.Core.Android.UITests/PlatformTests/DisplayAlertUITestsAndroid.cs27
-rw-r--r--Xamarin.Forms.Core.Android.UITests/Properties/AssemblyInfo.cs40
-rw-r--r--Xamarin.Forms.Core.Android.UITests/Xamarin.Forms.Core.Android.UITests.csproj313
-rw-r--r--Xamarin.Forms.Core.Android.UITests/packages.config5
7 files changed, 542 insertions, 0 deletions
diff --git a/Xamarin.Forms.Core.Android.UITests/App.cs b/Xamarin.Forms.Core.Android.UITests/App.cs
new file mode 100644
index 00000000..76c94d86
--- /dev/null
+++ b/Xamarin.Forms.Core.Android.UITests/App.cs
@@ -0,0 +1,22 @@
+using NUnit.Framework;
+
+using Xamarin.UITest;
+using Xamarin.UITest.Android;
+using Xamarin.UITest.Configuration;
+
+namespace Xamarin.Forms.Core.UITests
+{
+ internal static class RunningApp
+ {
+ public static AndroidApp App;
+
+ public static void Restart ()
+ {
+ App = ConfigureApp
+ .Android
+ .Debug ()
+ .ApkFile ("../../../Xamarin.Forms.ControlGallery.Android/bin/Debug/AndroidControlGallery.AndroidControlGallery-Signed.apk")
+ .StartApp ();
+ }
+ }
+} \ No newline at end of file
diff --git a/Xamarin.Forms.Core.Android.UITests/Makefile b/Xamarin.Forms.Core.Android.UITests/Makefile
new file mode 100644
index 00000000..6f123c31
--- /dev/null
+++ b/Xamarin.Forms.Core.Android.UITests/Makefile
@@ -0,0 +1,2 @@
+console:
+ calabash-android console ../Xamarin.Forms.ControlGallery.Android/bin/Debug/AndroidControlGallery.AndroidControlGallery-Signed.apk
diff --git a/Xamarin.Forms.Core.Android.UITests/PlatformQueries.cs b/Xamarin.Forms.Core.Android.UITests/PlatformQueries.cs
new file mode 100644
index 00000000..01a27aac
--- /dev/null
+++ b/Xamarin.Forms.Core.Android.UITests/PlatformQueries.cs
@@ -0,0 +1,133 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+using Xamarin.UITest.Android;
+using Xamarin.UITest.Queries;
+
+namespace Xamarin.Forms.Core.UITests
+{
+ internal static class AndroidLoaderIdentifier {}
+
+ internal static class PlatformMethodQueries
+ {
+ public static readonly Dictionary<BindableProperty, Tuple<string[], bool>> PropertyPlatformMethodDictionary = new Dictionary<BindableProperty, Tuple<string[], bool>> {
+ { ActivityIndicator.ColorProperty, Tuple.Create (new[] { "getProgressDrawable", "getColor" }, false) },
+ { ActivityIndicator.IsRunningProperty, Tuple.Create (new[] { "isIndeterminate" }, false) },
+ { Button.BorderColorProperty, Tuple.Create (new[] { "getBackground" }, false) },
+ { Button.BorderRadiusProperty, Tuple.Create (new[] { "getBackground" }, false) },
+ { Button.BorderWidthProperty, Tuple.Create (new[] { "getBackground" }, false) },
+ { Button.ImageProperty, Tuple.Create (new[] { "getBackground" }, false) },
+ { Button.FontProperty, Tuple.Create (new[] { "getTypeface", "isBold" }, false) },
+ { Button.TextProperty, Tuple.Create (new[] { "getText" }, false) },
+ { Button.TextColorProperty, Tuple.Create (new[] { "getCurrentTextColor" }, false) },
+ { View.AnchorXProperty, Tuple.Create (new[] { "getPivotX" }, true) },
+ { View.AnchorYProperty, Tuple.Create (new[] { "getPivotY" }, true) },
+ { View.BackgroundColorProperty, Tuple.Create (new[] { "getBackground", "getColor" }, true) },
+ { View.IsEnabledProperty, Tuple.Create (new[] { "isEnabled" }, false) },
+ { View.OpacityProperty, Tuple.Create (new[] { "getAlpha" }, true) },
+ { View.RotationProperty, Tuple.Create (new[] { "getRotation" }, true) },
+ { View.RotationXProperty, Tuple.Create (new[] { "getRotationX" }, true) },
+ { View.RotationYProperty, Tuple.Create (new[] { "getRotationY" }, true) },
+ { View.ScaleProperty, Tuple.Create (new[] { "getScaleX", "getScaleY" }, true) },
+ };
+ }
+
+ internal static class PlatformViews
+ {
+ public static readonly string ActivityIndicator = "android.widget.ProgressBar";
+ public static readonly string BoxView = "xamarin.forms.platform.android.BoxRenderer";
+ public static readonly string Button = "android.widget.Button";
+ public static readonly string DatePicker = "android.widget.EditText";
+ public static readonly string Editor = "xamarin.forms.platform.android.EditorEditText";
+ public static readonly string Entry = "xamarin.forms.platform.android.EntryEditText";
+ public static readonly string Frame = "xamarin.forms.platform.android.appcompat.FrameRenderer";
+ public static readonly string Image = "android.widget.ImageView";
+ public static readonly string Label = "android.widget.TextView";
+ public static readonly string ListView = "android.widget.ListView";
+ public static readonly string OpenGLView = "android.widget.GLSurfaceView";
+ public static readonly string Picker = "android.widget.EditText";
+ public static readonly string ProgressBar = "android.widget.ProgressBar";
+ public static readonly string SearchBar = "android.widget.SearchView";
+ public static readonly string Slider = "android.widget.SeekBar";
+ public static readonly string Stepper = "button marked:'+'";
+ public static readonly string Switch = "android.widget.Switch";
+ public static readonly string TableView = "android.widget.ListView";
+ public static readonly string TimePicker = "android.widget.EditText";
+ public static readonly string WebView = "android.widget.WebView";
+ }
+
+ internal static class PlatformQueries
+ {
+ public static readonly Func<AppQuery, AppQuery> Root = q => q.Id ("content");
+ public static readonly Func<AppQuery, AppQuery> RootPageListView = q => q.Raw ("ListViewRenderer index:0");
+ public static readonly Func<AppQuery, AppQuery> GalleryListView = q => q.Raw ("ListViewRenderer index:1");
+ public static readonly Func<AppQuery, AppQuery> PageWithoutNavigationBar = q => q.Raw ("* id:'content' index:0");
+ public static readonly Func<AppQuery, AppQuery> NavigationBarBackButton = q => q.Class ("android.support.v7.widget.Toolbar").Child ("android.widget.ImageButton");
+
+ // Views
+ public static readonly Func<AppQuery, AppQuery> ActivityIndicator = q => q.ClassFull (PlatformViews.ActivityIndicator);
+ public static readonly Func<AppQuery, AppQuery> Button = q => q.ClassFull (PlatformViews.Button);
+
+ public static Func<AppQuery, AppQuery> EntryWithPlaceholder (string text) {
+ return q => q.Raw (string.Format ("EntryEditText hint:'{0}'", text));
+ }
+ public static Func<AppQuery, AppQuery> EntryCellWithPlaceholder (string text) {
+ return q => q.Raw (string.Format ("EntryCellEditText hint:'{0}'", text));
+ }
+
+ public static Func<AppQuery, AppQuery> EntryWithText (string text) {
+ return q => q.Raw (string.Format ("EntryEditText text:'{0}'", text));
+ }
+
+ public static Func<AppQuery, AppQuery> EntryCellWithText (string text) {
+ return q => q.Raw (string.Format ("EntryCellEditText text:'{0}'", text));
+ }
+
+ public static Func<AppQuery, AppQuery> EditorsWithText (string text) {
+ return q => q.Raw (string.Format ("EditorEditText text:'{0}'", text));
+ }
+
+ public static Func<AppQuery, AppQuery> EntryWithIndex (int index) {
+ return q => q.Raw (string.Format ("EntryEditText index:{0}", index));
+ }
+
+ public static Func<AppQuery, AppQuery> SearchBarWithIndex (int index) {
+ return q => q.Raw (string.Format ("SearchView index:{0}", index));
+ }
+
+ public static Func<AppQuery, AppQuery> LabelWithIndex (int index) {
+ return q => q.Raw (string.Format ("TextView index:{0}", index));
+ }
+
+ public static Func<AppQuery, AppQuery> LabelWithText (string text) {
+ return q => q.Raw (string.Format ("TextView text:'{0}'", text));
+ }
+
+ public static Func<AppQuery, AppQuery> LabelWithId (string id) {
+ return q => q.Raw (string.Format ("TextView id:'{0}'", id));
+ }
+
+ public static Func<AppQuery, AppQuery> PickerEntryWithIndex (int index) {
+ return q => q.Raw (string.Format ("EditText index:{0}", index));
+ }
+
+ public static Func<AppQuery, AppQuery> PickerEntryWithPlaceholder (string placeholder) {
+ return q => q.Raw (string.Format ("EditText hint:'{0}'", placeholder));
+ }
+
+ public static Func<AppQuery, AppQuery> PickerEntryWithText (string text) {
+ return q => q.Raw (string.Format ("EditText text:'{0}'", text));
+ }
+
+ public static Func<AppQuery, AppQuery> SwitchWithIndex (int index) {
+ return q => q.Raw (string.Format ("Switch index:{0}", index));
+ }
+
+ public static Func<AppQuery, AppQuery> StepperWithIndex (int index) {
+ return q => q.Raw (string.Format ("button marked:'+' index:{0}", index));
+ }
+ }
+} \ No newline at end of file
diff --git a/Xamarin.Forms.Core.Android.UITests/PlatformTests/DisplayAlertUITestsAndroid.cs b/Xamarin.Forms.Core.Android.UITests/PlatformTests/DisplayAlertUITestsAndroid.cs
new file mode 100644
index 00000000..f0075576
--- /dev/null
+++ b/Xamarin.Forms.Core.Android.UITests/PlatformTests/DisplayAlertUITestsAndroid.cs
@@ -0,0 +1,27 @@
+using System;
+using NUnit.Framework;
+
+namespace Xamarin.Forms.Core.UITests
+{
+ [TestFixture]
+ [Category ("DisplayAlert")]
+ internal class DisplayAlertUITestsAndroid : BaseTestFixture
+ {
+
+ protected override void NavigateToGallery ()
+ {
+ App.NavigateToGallery (GalleryQueries.DisplayAlertGallery);
+ }
+
+ [Test]
+ public void TestTapOff ()
+ {
+ App.Tap (c => c.Marked ("Alert Override2"));
+ App.Screenshot ("Display Alert");
+ App.TapCoordinates (100, 100);
+ App.WaitForElement (c => c.Marked ("Result: False"));
+ App.Screenshot ("Alert Dismissed");
+ }
+ }
+}
+
diff --git a/Xamarin.Forms.Core.Android.UITests/Properties/AssemblyInfo.cs b/Xamarin.Forms.Core.Android.UITests/Properties/AssemblyInfo.cs
new file mode 100644
index 00000000..8b4da046
--- /dev/null
+++ b/Xamarin.Forms.Core.Android.UITests/Properties/AssemblyInfo.cs
@@ -0,0 +1,40 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("Xamarin.Forms.Core.Android.UITests")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("Xamarin.Forms.Core.Android.UITests")]
+[assembly: AssemblyCopyright("Copyright © 2014")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("8668ccc3-4b09-4cb5-8f2d-61e2f820c887")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
+
+[assembly: InternalsVisibleTo ("Xamarin.Forms.Loader")]
+[assembly: InternalsVisibleTo ("Xamarin.Forms.UITest.Validator")]
+
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
new file mode 100644
index 00000000..e7041e95
--- /dev/null
+++ b/Xamarin.Forms.Core.Android.UITests/Xamarin.Forms.Core.Android.UITests.csproj
@@ -0,0 +1,313 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProjectGuid>{A34EBE01-25BF-4E69-A2DC-2288DC625541}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>Xamarin.Forms.Core.UITests</RootNamespace>
+ <AssemblyName>Xamarin.Forms.Core.Android.UITests</AssemblyName>
+ <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+ <FileAlignment>512</FileAlignment>
+ <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
+ <RestorePackages>true</RestorePackages>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Debug\</OutputPath>
+ <DefineConstants>TRACE;DEBUG;__ANDROID__;UITEST</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>bin\Release\</OutputPath>
+ <DefineConstants>TRACE;__ANDROID__;UITEST</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Turkey|AnyCPU'">
+ <DebugSymbols>true</DebugSymbols>
+ <OutputPath>bin\Turkey\</OutputPath>
+ <DefineConstants>TRACE;DEBUG;__ANDROID__;UITEST</DefineConstants>
+ <DebugType>full</DebugType>
+ <PlatformTarget>AnyCPU</PlatformTarget>
+ <ErrorReport>prompt</ErrorReport>
+ <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="System" />
+ <Reference Include="System.Core" />
+ <Reference Include="System.Xml.Linq" />
+ <Reference Include="System.Data.DataSetExtensions" />
+ <Reference Include="Microsoft.CSharp" />
+ <Reference Include="System.Data" />
+ <Reference Include="System.Xml" />
+ <Reference Include="nunit.framework">
+ <HintPath>..\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath>
+ </Reference>
+ <Reference Include="Xamarin.UITest, Version=1.3.3.0, Culture=neutral, processorArchitecture=MSIL">
+ <HintPath>..\packages\Xamarin.UITest.1.3.3\lib\Xamarin.UITest.dll</HintPath>
+ <Private>True</Private>
+ </Reference>
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\BaseTestFixture.cs">
+ <Link>BaseTestFixture.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Queries.cs">
+ <Link>Queries.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Remotes\BaseViewContainerRemote.cs">
+ <Link>Remotes\BaseViewContainerRemote.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Remotes\EventViewContainerRemote.cs">
+ <Link>Remotes\EventViewContainerRemote.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Remotes\LayeredViewContainerRemote.cs">
+ <Link>Remotes\LayeredViewContainerRemote.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Remotes\StateViewContainerRemote.cs">
+ <Link>Remotes\StateViewContainerRemote.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Remotes\ViewContainerRemote.cs">
+ <Link>Remotes\ViewContainerRemote.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\ActivityIndicatorUITests.cs">
+ <Link>Tests\ActivityIndicatorUITests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\BoxViewUITests.cs">
+ <Link>Tests\BoxViewUITests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\ButtonUITests.cs">
+ <Link>Tests\ButtonUITests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\ContextActionsUITests.cs">
+ <Link>Tests\ContextActionsUITests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\DatePickerUITests.cs">
+ <Link>Tests\DatePickerUITests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\EditorUITests.cs">
+ <Link>Tests\EditorUITests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\EntryUITests.cs">
+ <Link>Tests\EntryUITests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\FrameUITests.cs">
+ <Link>Tests\FrameUITests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\ImageUITests.cs">
+ <Link>Tests\ImageUITests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\LabelUITests.cs">
+ <Link>Tests\LabelUITests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\Legacy-AbsoluteLayoutGalleryTest.cs">
+ <Link>Tests\Legacy-AbsoluteLayoutGalleryTest.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\Legacy-BoundViewUITest.cs">
+ <Link>Tests\Legacy-BoundViewUITest.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\Legacy-ButtonUITests.cs">
+ <Link>Tests\Legacy-ButtonUITests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\Legacy-CarouselPageUITests.cs">
+ <Link>Tests\Legacy-CarouselPageUITests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\Legacy-CellsUITests.cs">
+ <Link>Tests\Legacy-CellsUITests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\Legacy-ClipToBoundsUITests.cs">
+ <Link>Tests\Legacy-ClipToBoundsUITests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\Legacy-EditorUITests.cs">
+ <Link>Tests\Legacy-EditorUITests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\Legacy-EntryUITests.cs">
+ <Link>Tests\Legacy-EntryUITests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\Legacy-GridGalleryUITests.cs">
+ <Link>Tests\Legacy-GridGalleryUITests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\Legacy-GroupedListActionsUITests.cs">
+ <Link>Tests\Legacy-GroupedListActionsUITests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\Legacy-InputIntentUITests.cs">
+ <Link>Tests\Legacy-InputIntentUITests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\Legacy-ListUITests.cs">
+ <Link>Tests\Legacy-ListUITests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\Legacy-MapUITests.cs">
+ <Link>Tests\Legacy-MapUITests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\Legacy-MinimumSizeUITest.cs">
+ <Link>Tests\Legacy-MinimumSizeUITest.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\Legacy-NavigationBarUITests.cs">
+ <Link>Tests\Legacy-NavigationBarUITests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\Legacy-RelativeLayoutUITest.cs">
+ <Link>Tests\Legacy-RelativeLayoutUITest.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\Legacy-SearchBarUITests.cs">
+ <Link>Tests\Legacy-SearchBarUITests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\Legacy-SliderUITests.cs">
+ <Link>Tests\Legacy-SliderUITests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\Legacy-StackLayoutUITest.cs">
+ <Link>Tests\Legacy-StackLayoutUITest.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\Legacy-StepperUITests.cs">
+ <Link>Tests\Legacy-StepperUITests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\Legacy-SwitchUITests.cs">
+ <Link>Tests\Legacy-SwitchUITests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\Legacy-TableViewUITests.cs">
+ <Link>Tests\Legacy-TableViewUITests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\Legacy-TemplatedCarouselPageUITests.cs">
+ <Link>Tests\Legacy-TemplatedCarouselPageUITests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\Legacy-TemplatedTabPageUITests.cs">
+ <Link>Tests\Legacy-TemplatedTabPageUITests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\Legacy-ToolbarGalleryUITests.cs">
+ <Link>Tests\Legacy-ToolbarGalleryUITests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\Legacy-UnevenViewCellUITests.cs">
+ <Link>Tests\Legacy-UnevenViewCellUITests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\Legacy-ViewCellUITests.cs">
+ <Link>Tests\Legacy-ViewCellUITests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\PickerUITests.cs">
+ <Link>Tests\PickerUITests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\ProgressBarUITests.cs">
+ <Link>Tests\ProgressBarUITests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\SearchBarUITests.cs">
+ <Link>Tests\SearchBarUITests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\SliderUITests.cs">
+ <Link>Tests\SliderUITests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\StepperUITests.cs">
+ <Link>Tests\StepperUITests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\SwitchUITests.cs">
+ <Link>Tests\SwitchUITests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\TimePickerUITests.cs">
+ <Link>Tests\TimePickerUITests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\ViewUITests.cs">
+ <Link>Tests\ViewUITests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\WebViewUITests.cs">
+ <Link>Tests\WebViewUITests.cs</Link>
+ </Compile>
+ <Compile Include="App.cs" />
+ <Compile Include="PlatformQueries.cs" />
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Remotes\RemoteFactory.cs">
+ <Link>Remotes\RemoteFactory.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Utilities\AppExtensions.cs">
+ <Link>Utilities\AppExtensions.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Utilities\Drag.cs">
+ <Link>Utilities\Drag.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Utilities\Gestures.cs">
+ <Link>Utilities\Gestures.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Utilities\Logger.cs">
+ <Link>Utilities\Logger.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Utilities\NumericExtensions.cs">
+ <Link>Utilities\NumericExtensions.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Utilities\ParsingUtils.cs">
+ <Link>Utilities\ParsingUtils.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Utilities\UITestCustomExceptions.cs">
+ <Link>Utilities\UITestCustomExceptions.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Utilities\ViewInspector.cs">
+ <Link>Utilities\ViewInspector.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\DisplayAlertUITests.cs">
+ <Link>Tests\DisplayAlertUITests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\ActionSheetUITests.cs">
+ <Link>Tests\ActionSheetUITests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\ToolbarItemTests.cs">
+ <Link>Tests\ToolbarItemTests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\ScrollViewUITests.cs">
+ <Link>Tests\ScrollViewUITests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\RootGalleryUITests.cs">
+ <Link>Tests\RootGalleryUITests.cs</Link>
+ </Compile>
+ <Compile Include="PlatformTests\DisplayAlertUITestsAndroid.cs" />
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\AppearingUITests.cs">
+ <Link>Tests\AppearingUITests.cs</Link>
+ </Compile>
+ <Compile Include="..\Xamarin.Forms.Core.iOS.UITests\Tests\AutomationIDUITests.cs">
+ <Link>Tests\AutomationIDUITests.cs</Link>
+ </Compile>
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="packages.config" />
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="..\Xamarin.Forms.Core\Xamarin.Forms.Core.csproj">
+ <Project>{57B8B73D-C3B5-4C42-869E-7B2F17D354AC}</Project>
+ <Name>Xamarin.Forms.Core</Name>
+ </ProjectReference>
+ <ProjectReference Include="..\Xamarin.Forms.CustomAttributes\Xamarin.Forms.CustomAttributes.csproj">
+ <Project>{4DCD0420-1168-4B77-86DB-6196EE4BD491}</Project>
+ <Name>Xamarin.Forms.CustomAttributes</Name>
+ </ProjectReference>
+ <ProjectReference Include="..\Xamarin.Forms.Maps\Xamarin.Forms.Maps.csproj">
+ <Project>{7d13bac2-c6a4-416a-b07e-c169b199e52b}</Project>
+ <Name>Xamarin.Forms.Maps</Name>
+ </ProjectReference>
+ <ProjectReference Include="..\Xamarin.Forms.Platform\Xamarin.Forms.Platform.csproj">
+ <Project>{67f9d3a8-f71e-4428-913f-c37ae82cdb24}</Project>
+ <Name>Xamarin.Forms.Platform</Name>
+ </ProjectReference>
+ </ItemGroup>
+ <ItemGroup>
+ <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
+ </ItemGroup>
+ <Import Project="..\Xamarin.Forms.Controls.Issues\Xamarin.Forms.Controls.Issues.Shared\Xamarin.Forms.Controls.Issues.Shared.projitems" Label="Shared" />
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
+ <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
+ <PropertyGroup>
+ <ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
+ </PropertyGroup>
+ <Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
+ </Target>
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+ <ItemGroup />
+</Project> \ No newline at end of file
diff --git a/Xamarin.Forms.Core.Android.UITests/packages.config b/Xamarin.Forms.Core.Android.UITests/packages.config
new file mode 100644
index 00000000..031fa54c
--- /dev/null
+++ b/Xamarin.Forms.Core.Android.UITests/packages.config
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<packages>
+ <package id="NUnit" version="2.6.4" targetFramework="net45" />
+ <package id="Xamarin.UITest" version="1.3.3" targetFramework="net45" />
+</packages> \ No newline at end of file