Browse Source

Added a simple test to verify that file path strings is parsed correctly.

pull/484/head
gumme 11 years ago
parent
commit
c4f80dc05e
  1. 13
      src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Tests/XamlDom/SimpleLoadTests.cs

13
src/AddIns/DisplayBindings/WpfDesign/WpfDesign.Designer/Tests/XamlDom/SimpleLoadTests.cs

@ -97,6 +97,19 @@ namespace ICSharpCode.WpfDesign.Tests.XamlDom @@ -97,6 +97,19 @@ namespace ICSharpCode.WpfDesign.Tests.XamlDom
");
}
[Test]
public void ExampleClassWithFilePathStringPropAttribute()
{
TestLoading(@"
<t:ExampleClass
xmlns=""http://schemas.microsoft.com/netfx/2007/xaml/presentation""
xmlns:t=""" + XamlTypeFinderTests.XamlDomTestsNamespace + @"""
xmlns:x=""http://schemas.microsoft.com/winfx/2006/xaml""
StringProp=""C:\Folder A\Sub,Folder,A\SubFolderB\file,with,commas and spaces.txt"">
</t:ExampleClass>
");
}
[Test]
public void ExampleClassUseDefaultProperty()
{

Loading…
Cancel
Save