Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

Commit c4f80dc

Browse files
author
gumme
committed
Added a simple test to verify that file path strings is parsed correctly.
1 parent 0f95a49 commit c4f80dc

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,19 @@ public void ExampleClassWithEscapedBraceStringPropAttribute()
9797
");
9898
}
9999

100+
[Test]
101+
public void ExampleClassWithFilePathStringPropAttribute()
102+
{
103+
TestLoading(@"
104+
<t:ExampleClass
105+
xmlns=""http://schemas.microsoft.com/netfx/2007/xaml/presentation""
106+
xmlns:t=""" + XamlTypeFinderTests.XamlDomTestsNamespace + @"""
107+
xmlns:x=""http://schemas.microsoft.com/winfx/2006/xaml""
108+
StringProp=""C:\Folder A\Sub,Folder,A\SubFolderB\file,with,commas and spaces.txt"">
109+
</t:ExampleClass>
110+
");
111+
}
112+
100113
[Test]
101114
public void ExampleClassUseDefaultProperty()
102115
{

0 commit comments

Comments
 (0)