diff options
author | Stephane Delcroix <stephane@delcroix.org> | 2016-12-12 22:02:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-12 22:02:37 +0100 |
commit | 6112526432a61816b2558a4b9ba10327c3c2244f (patch) | |
tree | cad98732e29969742e36f008c9d316300c3530bc /Xamarin.Forms.Xaml.UnitTests/StringLiterals.xaml.cs | |
parent | 354e27c09603143cef43d666be5beaed8928c040 (diff) | |
download | xamarin-forms-6112526432a61816b2558a4b9ba10327c3c2244f.tar.gz xamarin-forms-6112526432a61816b2558a4b9ba10327c3c2244f.tar.bz2 xamarin-forms-6112526432a61816b2558a4b9ba10327c3c2244f.zip |
[XamlC] Compile TypeTypeConverter (#615)
Diffstat (limited to 'Xamarin.Forms.Xaml.UnitTests/StringLiterals.xaml.cs')
-rw-r--r-- | Xamarin.Forms.Xaml.UnitTests/StringLiterals.xaml.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Xamarin.Forms.Xaml.UnitTests/StringLiterals.xaml.cs b/Xamarin.Forms.Xaml.UnitTests/StringLiterals.xaml.cs index 256ee5f9..b5954aee 100644 --- a/Xamarin.Forms.Xaml.UnitTests/StringLiterals.xaml.cs +++ b/Xamarin.Forms.Xaml.UnitTests/StringLiterals.xaml.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using Xamarin.Forms; using NUnit.Framework; +using Xamarin.Forms.Core.UnitTests; namespace Xamarin.Forms.Xaml.UnitTests { @@ -22,6 +23,18 @@ namespace Xamarin.Forms.Xaml.UnitTests [TestFixture] public class Tests { + [SetUp] + public void Setup() + { + Device.PlatformServices = new MockPlatformServices(); + } + + [TearDown] + public void TearDown() + { + Device.PlatformServices = null; + } + [TestCase(false)] [TestCase(true)] public void EscapedStringsAreTreatedAsLiterals (bool useCompiledXaml) |