Skip to content

Commit

Permalink
add failing test for issue icsharpcode#445
Browse files Browse the repository at this point in the history
  • Loading branch information
siegfriedpammer committed Apr 18, 2014
1 parent 056dfa1 commit 5056946
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
19 changes: 19 additions & 0 deletions ILSpy.BamlDecompiler/Tests/Cases/Issue445.xaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<UserControl x:Class="BamlTest.UserControl1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
mc:Ignorable="d">
<UserControl.Resources>
<Style TargetType="Control" x:Key="baseStyle" />
</UserControl.Resources>
<Grid>
<Grid.ContextMenu>
<ContextMenu>
<ContextMenu.Resources>
<Style TargetType="Control" BasedOn="{StaticResource baseStyle}" />
</ContextMenu.Resources>
</ContextMenu>
</Grid.ContextMenu>
</Grid>
</UserControl>
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@
<Page Include="Cases\SimpleNames.xaml" />
<Page Include="Cases\SimplePropertyElement.xaml" />
<Page Include="Cases\Dictionary1.xaml" />
<Page Include="Cases\Issue445.xaml" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.Targets" />
</Project>
6 changes: 6 additions & 0 deletions ILSpy.BamlDecompiler/Tests/TestRunner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@ public void SimplePropertyElement()
RunTest("cases/simplepropertyelement");
}

[Test, Ignore]
public void Issue445()
{
RunTest("cases/issue445");
}

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

0 comments on commit 5056946

Please sign in to comment.