Permalink
Browse files

add simple unit test for ResourceDictionary

  • Loading branch information...
1 parent f20cd83 commit 9af1c54fe295080cdfb6ec37d4b1413b9e238582 @siegfriedpammer siegfriedpammer committed May 29, 2011
@@ -1,3 +1,3 @@
-<Window x:Class="ILSpy.BamlDecompiler.Tests.Cases.Simple" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="ILSpy.BamlDecompiler.Tests.Cases" Height="300" Width="300">
+<Window x:Class="ILSpy.BamlDecompiler.Tests.Cases.Simple" Title="ILSpy.BamlDecompiler.Tests.Cases" Height="300" Width="300" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Grid />
</Window>
@@ -0,0 +1 @@
+<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"></ResourceDictionary>
@@ -106,6 +106,7 @@
<Page Include="Cases\Simple.xaml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Page>
+ <Page Include="Cases\SimpleDictionary.xaml" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.Targets" />
</Project>
@@ -25,6 +25,12 @@ public void Simple()
RunTest("cases/simple");
}
+ [Test]
+ public void SimpleDictionary()
+ {
+ RunTest("cases/simpledictionary");
+ }
+
void RunTest(string name)
{
string asmPath = typeof(TestRunner).Assembly.Location;

0 comments on commit 9af1c54

Please sign in to comment.