summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 0f632e30..d8c7d2ce 100644
--- a/Xamarin.Forms.Xaml.UnitTests/SetValue.xaml.cs
+++ b/Xamarin.Forms.Xaml.UnitTests/SetValue.xaml.cs
@@ -300,10 +300,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);