diff options
Diffstat (limited to 'Xamarin.Forms.Xaml.UnitTests/CompiledTypeConverter.xaml.cs')
-rw-r--r-- | Xamarin.Forms.Xaml.UnitTests/CompiledTypeConverter.xaml.cs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/Xamarin.Forms.Xaml.UnitTests/CompiledTypeConverter.xaml.cs b/Xamarin.Forms.Xaml.UnitTests/CompiledTypeConverter.xaml.cs index f74b5a73..1ef319a3 100644 --- a/Xamarin.Forms.Xaml.UnitTests/CompiledTypeConverter.xaml.cs +++ b/Xamarin.Forms.Xaml.UnitTests/CompiledTypeConverter.xaml.cs @@ -1,5 +1,4 @@ -using System.Collections.Generic; -using NUnit.Framework; +using NUnit.Framework; namespace Xamarin.Forms.Xaml.UnitTests { @@ -15,10 +14,6 @@ namespace Xamarin.Forms.Xaml.UnitTests public Rectangle RectangleP { get; set; } - [TypeConverter(typeof(ListStringTypeConverter))] - public IList<string> List { get; set; } - - public CompiledTypeConverter () { InitializeComponent (); @@ -44,8 +39,6 @@ namespace Xamarin.Forms.Xaml.UnitTests var xConstraint = RelativeLayout.GetXConstraint(p.label); Assert.AreEqual(2, xConstraint.Compute(null)); Assert.AreEqual(new Thickness(2, 3), p.label.Margin); - Assert.AreEqual(2, p.List.Count); - Assert.AreEqual("Bar", p.List[1]); } } } |