summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core.iOS.UITests
diff options
context:
space:
mode:
authorE.Z. Hart <hartez@users.noreply.github.com>2016-06-14 10:16:48 (GMT)
committerRui Marinho <me@ruimarinho.net>2016-06-14 10:16:48 (GMT)
commit0fa667e186dbfba0d503094b37f124cab8b77f7c (patch)
tree658a80ea4391cca53711e59436baf2da5836dfd0 /Xamarin.Forms.Core.iOS.UITests
parent9f40b0fc3d5c240193e78e5d027012ce4e5d072a (diff)
downloadxamarin-forms-0fa667e186dbfba0d503094b37f124cab8b77f7c.zip
xamarin-forms-0fa667e186dbfba0d503094b37f124cab8b77f7c.tar.gz
xamarin-forms-0fa667e186dbfba0d503094b37f124cab8b77f7c.tar.bz2
# This is a combination of 5 commits. (#221)
# The first commit's message is: Removing CI-specific script from main repo # This is the 2nd commit message: Removing build projects # This is the 3rd commit message: Add some error reporting around TestFixtureSetup # This is the 4th commit message: Force load referenced assemblies to prevent missing registrations # This is the 5th commit message: Revert failed fix for GetAssemblies
Diffstat (limited to 'Xamarin.Forms.Core.iOS.UITests')
-rw-r--r--Xamarin.Forms.Core.iOS.UITests/BaseTestFixture.cs14
1 files changed, 12 insertions, 2 deletions
diff --git a/Xamarin.Forms.Core.iOS.UITests/BaseTestFixture.cs b/Xamarin.Forms.Core.iOS.UITests/BaseTestFixture.cs
index 66d19ee..c60ef35 100644
--- a/Xamarin.Forms.Core.iOS.UITests/BaseTestFixture.cs
+++ b/Xamarin.Forms.Core.iOS.UITests/BaseTestFixture.cs
@@ -1,5 +1,6 @@
´╗┐using System;
using System.Collections.Generic;
+using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
@@ -32,8 +33,17 @@ namespace Xamarin.Forms.Core.UITests
#pragma warning restore 618
protected virtual void FixtureSetup ()
{
- if (ShouldResetPerFixture) {
- RelaunchApp ();
+ try
+ {
+ if (ShouldResetPerFixture)
+ {
+ RelaunchApp();
+ }
+ }
+ catch (Exception ex)
+ {
+ Debug.WriteLine(ex);
+ throw;
}
}