<MtouchLink>None</MtouchLink>
<MtouchDebug>True</MtouchDebug>
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
- <MtouchSdkVersion></MtouchSdkVersion>
+ <MtouchSdkVersion>
+ </MtouchSdkVersion>
<MtouchProfiling>False</MtouchProfiling>
<MtouchFastDev>False</MtouchFastDev>
<MtouchEnableGenericValueTypeSharing>True</MtouchEnableGenericValueTypeSharing>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\iPhone\Debug</OutputPath>
- <DefineConstants>DEBUG</DefineConstants>
+ <DefineConstants>DEBUG;__UNIFIED__;__MOBILE__;__IOS__</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
<MtouchDebug>True</MtouchDebug>
<CodesignEntitlements>
</CodesignEntitlements>
- <MtouchSdkVersion></MtouchSdkVersion>
+ <MtouchSdkVersion>
+ </MtouchSdkVersion>
<MtouchLink>SdkOnly</MtouchLink>
<MtouchProfiling>False</MtouchProfiling>
<MtouchExtraArgs />
</XamarinComponentReference>
</ItemGroup>
<Import Project="..\packages\Xamarin.Insights.1.12.3\build\Xamarin.iOS10\Xamarin.Insights.targets" Condition="Exists('..\packages\Xamarin.Insights.1.12.3\build\Xamarin.iOS10\Xamarin.Insights.targets')" />
-</Project>
+</Project>
\ No newline at end of file
using System;
-using System.Diagnostics;
-using System.Threading;
-using System.Threading.Tasks;
+using System.Collections.ObjectModel;
using Xamarin.Forms.CustomAttributes;
using Xamarin.Forms.Internals;
+using System.Threading;
+using System.Diagnostics;
#if UITEST
using Xamarin.UITest;
{
var label = new Label() { Text = "Testing..." };
- var goButton = new Button { Text = "Go" };
+ var goButton = new Button { Text = "Go", AutomationId = "Go" };
goButton.Clicked += (sender, args) => Application.Current.MainPage = new _44166MDP();
- var gcButton = new Button { Text = "GC" };
+ var gcButton = new Button { Text = "GC", AutomationId = "GC" };
gcButton.Clicked += (sender, args) =>
{
GC.Collect();
RunningApp.WaitForElement(q => q.Marked("Go"));
RunningApp.Tap(q => q.Marked("Go"));
- RunningApp.WaitForElement(q => q.Marked("Back"));
- RunningApp.Tap(q => q.Marked("Back"));
+ RunningApp.WaitForElement(q => q.Marked("Previous"));
+ RunningApp.Tap(q => q.Marked("Previous"));
+
+ RunningApp.WaitForElement(q => q.Marked("GC"));
for (var n = 0; n < 10; n++)
{
- RunningApp.WaitForElement(q => q.Marked("GC"));
RunningApp.Tap(q => q.Marked("GC"));
if (RunningApp.Query(q => q.Marked("Success")).Length > 0)
Debug.WriteLine($"++++++++ {nameof(_44166Master)} constructor, {Counter} allocated");
Title = "Master";
- var goButton = new Button { Text = "Back" };
+ var goButton = new Button { Text = "Return", AutomationId = "Return"};
goButton.Clicked += (sender, args) => Application.Current.MainPage = new Bugzilla44166();
Content = new StackLayout
Interlocked.Increment(ref Counter);
Debug.WriteLine($"++++++++ {nameof(_44166NavContent)} constructor, {Counter} allocated");
- var goButton = new Button { Text = "Back" };
+ var goButton = new Button { Text = "Previous", AutomationId = "Previous" };
goButton.Clicked += (sender, args) => Application.Current.MainPage = new Bugzilla44166();
Content = new StackLayout