Skip to content

Commit

Permalink
Test case for markup extension conversion fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
vwoodzell committed May 8, 2013
1 parent 4d23964 commit 450c19f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ILSpy.BamlDecompiler/Tests/Cases/MarkupExtension.xaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<Label xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<Label.Style>
<Style />
</Label.Style>
<Label.Content>
<Binding Path="Blah" />
</Label.Content>
</Label>
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@
<Page Include="Cases\AttachedEvent.xaml" />
<Page Include="Cases\AvalonDockBrushes.xaml" />
<Page Include="Cases\AvalonDockCommon.xaml" />
<Page Include="Cases\MarkupExtension.xaml" />
<Page Include="Cases\MyControl.xaml" />
<Page Include="Cases\Resources.xaml" />
<Page Include="Cases\Simple.xaml">
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 @@ -67,6 +67,12 @@ public void Dictionary1()
RunTest("cases/dictionary1");
}

[Test]
public void MarkupExtension()
{
RunTest("cases/markupextension");
}

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

0 comments on commit 450c19f

Please sign in to comment.