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.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/Xamarin.Forms.Xaml.UnitTests/SetValue.xaml.cs b/Xamarin.Forms.Xaml.UnitTests/SetValue.xaml.cs
index ce377a71..2226402c 100644
--- a/Xamarin.Forms.Xaml.UnitTests/SetValue.xaml.cs
+++ b/Xamarin.Forms.Xaml.UnitTests/SetValue.xaml.cs
@@ -207,6 +207,14 @@ namespace Xamarin.Forms.Xaml.UnitTests
var page = new SetValue(useCompiledXaml);
Assert.That(page.stack4.Children[0], Is.TypeOf<Button>());
}
+
+ [TestCase(false)]
+ [TestCase(true)]
+ public void ListsAreSimplified(bool useCompiledXaml)
+ {
+ var page = new SetValue(useCompiledXaml);
+ Assert.That(page.contentview2.Content, Is.TypeOf<Label>());
+ }
}
}
} \ No newline at end of file