summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Xaml.UnitTests/SetValue.xaml.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Xaml.UnitTests/SetValue.xaml.cs')
-rw-r--r--Xamarin.Forms.Xaml.UnitTests/SetValue.xaml.cs28
1 files changed, 14 insertions, 14 deletions
diff --git a/Xamarin.Forms.Xaml.UnitTests/SetValue.xaml.cs b/Xamarin.Forms.Xaml.UnitTests/SetValue.xaml.cs
index d8c7d2ce..6e3cdc1a 100644
--- a/Xamarin.Forms.Xaml.UnitTests/SetValue.xaml.cs
+++ b/Xamarin.Forms.Xaml.UnitTests/SetValue.xaml.cs
@@ -311,13 +311,13 @@ namespace Xamarin.Forms.Xaml.UnitTests
Assert.AreEqual("Bar", page.implicit0.GetValue(MockViewWithValues.BPBarProperty));
}
- //[TestCase(false)]
- //[TestCase(true)]
- //public void SetValueWithImplicitOperatorOnTarget(bool useCompiledXaml)
- //{
- // var page = new SetValue(useCompiledXaml);
- // Assert.AreEqual("Foo", ((SV_Foo)page.implicit1.GetValue(MockViewWithValues.BPFooProperty)).Value);
- //}
+ [TestCase(false)]
+ [TestCase(true)]
+ public void SetValueWithImplicitOperatorOnTarget(bool useCompiledXaml)
+ {
+ var page = new SetValue(useCompiledXaml);
+ Assert.AreEqual("Foo", ((SV_Foo)page.implicit1.GetValue(MockViewWithValues.BPFooProperty)).Value);
+ }
[TestCase(false)]
[TestCase(true)]
@@ -327,13 +327,13 @@ namespace Xamarin.Forms.Xaml.UnitTests
Assert.AreEqual("Bar", page.implicit2.Bar);
}
- //[TestCase(false)]
- //[TestCase(true)]
- //public void SetWithImplicitOperatorOnTarget(bool useCompiledXaml)
- //{
- // var page = new SetValue(useCompiledXaml);
- // Assert.AreEqual("Foo", page.implicit3.Foo.Value);
- //}
+ [TestCase(false)]
+ [TestCase(true)]
+ public void SetWithImplicitOperatorOnTarget(bool useCompiledXaml)
+ {
+ var page = new SetValue(useCompiledXaml);
+ Assert.AreEqual("Foo", page.implicit3.Foo.Value);
+ }
}
}
}