From 9af1c54fe295080cdfb6ec37d4b1413b9e238582 Mon Sep 17 00:00:00 2001 From: Siegfried Pammer Date: Sun, 29 May 2011 09:29:41 +0200 Subject: [PATCH] add simple unit test for ResourceDictionary --- ILSpy.BamlDecompiler/Tests/Cases/Simple.xaml | 2 +- ILSpy.BamlDecompiler/Tests/Cases/SimpleDictionary.xaml | 1 + .../Tests/ILSpy.BamlDecompiler.Tests.csproj | 1 + ILSpy.BamlDecompiler/Tests/TestRunner.cs | 6 ++++++ 4 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 ILSpy.BamlDecompiler/Tests/Cases/SimpleDictionary.xaml diff --git a/ILSpy.BamlDecompiler/Tests/Cases/Simple.xaml b/ILSpy.BamlDecompiler/Tests/Cases/Simple.xaml index e54fa6efa..ab5d5afc6 100644 --- a/ILSpy.BamlDecompiler/Tests/Cases/Simple.xaml +++ b/ILSpy.BamlDecompiler/Tests/Cases/Simple.xaml @@ -1,3 +1,3 @@ - + \ No newline at end of file diff --git a/ILSpy.BamlDecompiler/Tests/Cases/SimpleDictionary.xaml b/ILSpy.BamlDecompiler/Tests/Cases/SimpleDictionary.xaml new file mode 100644 index 000000000..4eb8fb3c7 --- /dev/null +++ b/ILSpy.BamlDecompiler/Tests/Cases/SimpleDictionary.xaml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/ILSpy.BamlDecompiler/Tests/ILSpy.BamlDecompiler.Tests.csproj b/ILSpy.BamlDecompiler/Tests/ILSpy.BamlDecompiler.Tests.csproj index 4955c4e1b..975dfc6ee 100644 --- a/ILSpy.BamlDecompiler/Tests/ILSpy.BamlDecompiler.Tests.csproj +++ b/ILSpy.BamlDecompiler/Tests/ILSpy.BamlDecompiler.Tests.csproj @@ -106,6 +106,7 @@ Always + \ No newline at end of file diff --git a/ILSpy.BamlDecompiler/Tests/TestRunner.cs b/ILSpy.BamlDecompiler/Tests/TestRunner.cs index 6579dd0a1..441116873 100644 --- a/ILSpy.BamlDecompiler/Tests/TestRunner.cs +++ b/ILSpy.BamlDecompiler/Tests/TestRunner.cs @@ -25,6 +25,12 @@ namespace ILSpy.BamlDecompiler.Tests RunTest("cases/simple"); } + [Test] + public void SimpleDictionary() + { + RunTest("cases/simpledictionary"); + } + void RunTest(string name) { string asmPath = typeof(TestRunner).Assembly.Location;