Browse Source

Test case for markup extension conversion fix.

pull/401/head
Vaughan Woodzell 12 years ago
parent
commit
450c19f8ac
  1. 8
      ILSpy.BamlDecompiler/Tests/Cases/MarkupExtension.xaml
  2. 1
      ILSpy.BamlDecompiler/Tests/ILSpy.BamlDecompiler.Tests.csproj
  3. 6
      ILSpy.BamlDecompiler/Tests/TestRunner.cs

8
ILSpy.BamlDecompiler/Tests/Cases/MarkupExtension.xaml

@ -0,0 +1,8 @@ @@ -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>

1
ILSpy.BamlDecompiler/Tests/ILSpy.BamlDecompiler.Tests.csproj

@ -125,6 +125,7 @@ @@ -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">

6
ILSpy.BamlDecompiler/Tests/TestRunner.cs

@ -67,6 +67,12 @@ namespace ILSpy.BamlDecompiler.Tests @@ -67,6 +67,12 @@ namespace ILSpy.BamlDecompiler.Tests
RunTest("cases/dictionary1");
}
[Test]
public void MarkupExtension()
{
RunTest("cases/markupextension");
}
#region RunTest
void RunTest(string name)
{

Loading…
Cancel
Save