summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Xaml.UnitTests/XStatic.xaml.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Xaml.UnitTests/XStatic.xaml.cs')
-rw-r--r--Xamarin.Forms.Xaml.UnitTests/XStatic.xaml.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/Xamarin.Forms.Xaml.UnitTests/XStatic.xaml.cs b/Xamarin.Forms.Xaml.UnitTests/XStatic.xaml.cs
index 19c62630..63854e1c 100644
--- a/Xamarin.Forms.Xaml.UnitTests/XStatic.xaml.cs
+++ b/Xamarin.Forms.Xaml.UnitTests/XStatic.xaml.cs
@@ -96,6 +96,15 @@ namespace Xamarin.Forms.Xaml.UnitTests
[TestCase(false)]
[TestCase(true)]
+ //https://bugzilla.xamarin.com/show_bug.cgi?id=49228
+ public void ConstantInARemoteAssembly(bool useCompiledXaml)
+ {
+ var layout = new XStatic(useCompiledXaml);
+ Assert.AreEqual("XamarinFormsControls", layout.remoteConstant.Text);
+ }
+
+ [TestCase(false)]
+ [TestCase(true)]
public void Field(bool useCompiledXaml)
{
var layout = new XStatic(useCompiledXaml);