Browse Source

Finalize UI tests

James Montemagno 10 years ago
parent
commit
a4d22075b9

+ 1 - 1
Demos/MyWeather/MyWeather.UITests/AppInitializer.cs

@@ -18,7 +18,7 @@ namespace MyWeather.UITests
 					.Android
 				// TODO: Update this path to point to your Android app and uncomment the
 				// code if the app is not included in the solution.
-					.ApkFile ("../../../MyWeather/MyWeather.Droid/bin/Debug/com.devdays.myweather.apk")
+					.ApkFile ("../../../MyWeather/MyWeather.Droid/bin/Release/com.devdays.myweather.apk")
 					.StartApp ();
 			}
 

+ 0 - 1
Demos/MyWeather/MyWeather.sln

@@ -237,7 +237,6 @@ Global
 		{CD4A0DB1-7D99-48B5-955E-06B2923F3745}.AppStore|Mixed Platforms.Build.0 = AppStore|iPhone
 		{CD4A0DB1-7D99-48B5-955E-06B2923F3745}.AppStore|x86.ActiveCfg = AppStore|iPhone
 		{CD4A0DB1-7D99-48B5-955E-06B2923F3745}.Debug|Any CPU.ActiveCfg = Debug|iPhone
-		{CD4A0DB1-7D99-48B5-955E-06B2923F3745}.Debug|Any CPU.Build.0 = Debug|iPhone
 		{CD4A0DB1-7D99-48B5-955E-06B2923F3745}.Debug|ARM.ActiveCfg = Debug|iPhone
 		{CD4A0DB1-7D99-48B5-955E-06B2923F3745}.Debug|iPhone.ActiveCfg = Debug|iPhone
 		{CD4A0DB1-7D99-48B5-955E-06B2923F3745}.Debug|iPhone.Build.0 = Debug|iPhone

+ 4 - 1
Demos/MyWeather/MyWeather/MyWeather.Droid/MainActivity.cs

@@ -18,13 +18,16 @@ namespace MyWeather.Droid
 			Xamarin.Insights.Initialize("dbf5b73b9b8dc2b52514eb4d62edb05b63a6c8b5", this);
 			Xamarin.Insights.ForceDataTransmission = true;
 			global::Xamarin.Forms.Forms.Init(this, bundle);
-			LoadApplication(new App());
 
 			Xamarin.Forms.Forms.ViewInitialized += (object sender, Xamarin.Forms.ViewInitializedEventArgs e) => {
 				if (!string.IsNullOrWhiteSpace(e.View.StyleId)) {
 					e.NativeView.ContentDescription = e.View.StyleId;
 				}
 			};
+
+			LoadApplication(new App());
+
+
 		}
 	}
 }