summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephane Delcroix <stephane@delcroix.org>2016-12-01 23:39:47 +0100
committerStephane Delcroix <stephane@delcroix.org>2016-12-01 23:41:00 +0100
commite11dfd17862051b8aec8c6abe232ac57ee1bc9b3 (patch)
treebdcc26031c2eecaf25254593fd535b7f1fa70368
parente5036833036c4de5b49a401869381b09f459a6eb (diff)
downloadxamarin-forms-e11dfd17862051b8aec8c6abe232ac57ee1bc9b3.tar.gz
xamarin-forms-e11dfd17862051b8aec8c6abe232ac57ee1bc9b3.tar.bz2
xamarin-forms-e11dfd17862051b8aec8c6abe232ac57ee1bc9b3.zip
fix the tests
-rw-r--r--Xamarin.Forms.Xaml.UnitTests/Issues/Unreported007.xaml.cs2
-rw-r--r--Xamarin.Forms.Xaml.UnitTests/SetValue.xaml.cs4
2 files changed, 0 insertions, 6 deletions
diff --git a/Xamarin.Forms.Xaml.UnitTests/Issues/Unreported007.xaml.cs b/Xamarin.Forms.Xaml.UnitTests/Issues/Unreported007.xaml.cs
index 279deed4..3d488be2 100644
--- a/Xamarin.Forms.Xaml.UnitTests/Issues/Unreported007.xaml.cs
+++ b/Xamarin.Forms.Xaml.UnitTests/Issues/Unreported007.xaml.cs
@@ -35,8 +35,6 @@ namespace Xamarin.Forms.Xaml.UnitTests
[TestCase(true), TestCase(false)]
public void ConstraintsAreEvaluatedWithOnPlatform(bool useCompiledXaml)
{
- if (useCompiledXaml)
- MockCompiler.Compile(typeof(Unreported007));
Device.OS = TargetPlatform.iOS;
var page = new Unreported007(useCompiledXaml);
Assert.That(RelativeLayout.GetXConstraint(page.label), Is.TypeOf<Constraint>());
diff --git a/Xamarin.Forms.Xaml.UnitTests/SetValue.xaml.cs b/Xamarin.Forms.Xaml.UnitTests/SetValue.xaml.cs
index b6395a7f..499083aa 100644
--- a/Xamarin.Forms.Xaml.UnitTests/SetValue.xaml.cs
+++ b/Xamarin.Forms.Xaml.UnitTests/SetValue.xaml.cs
@@ -278,10 +278,6 @@ namespace Xamarin.Forms.Xaml.UnitTests
[TestCase(true)]
public void NonIntEnums(bool useCompiledXaml)
{
- if (useCompiledXaml) {
- MockCompiler.Compile(typeof(SetValue));
- return;
- }
var page = new SetValue(useCompiledXaml);
Assert.AreEqual(IntEnum.Foo, page.enums.IntEnum);
Assert.AreEqual(ByteEnum.Bar, page.enums.ByteEnum);