Skip to content

Commit

Permalink
Test case for formatting simple properties as elements when following…
Browse files Browse the repository at this point in the history
… other elements.
  • Loading branch information
vwoodzell committed May 11, 2013
1 parent b115aa0 commit c0c4724
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ILSpy.BamlDecompiler/Tests/Cases/SimplePropertyElement.xaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<Label xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<Label.Style>
<Style />
</Label.Style>
<Label.Content>Blah</Label.Content>
</Label>
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@
</Page>
<Page Include="Cases\SimpleDictionary.xaml" />
<Page Include="Cases\SimpleNames.xaml" />
<Page Include="Cases\SimplePropertyElement.xaml" />
<Page Include="Cases\Dictionary1.xaml" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.Targets" />
Expand Down
6 changes: 6 additions & 0 deletions ILSpy.BamlDecompiler/Tests/TestRunner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ public void MarkupExtension()
RunTest("cases/markupextension");
}

[Test]
public void SimplePropertyElement()
{
RunTest("cases/simplepropertyelement");
}

#region RunTest
void RunTest(string name)
{
Expand Down

0 comments on commit c0c4724

Please sign in to comment.