Browse Source

Reenabled BAML decompiler tests

pull/728/merge
Siegfried Pammer 9 years ago
parent
commit
d1fbe5815a
  1. 16
      ILSpy.BamlDecompiler/Tests/BamlTestRunner.cs
  2. 2
      ILSpy.BamlDecompiler/Tests/ILSpy.BamlDecompiler.Tests.csproj

16
ILSpy.BamlDecompiler/Tests/TestRunner.cs → ILSpy.BamlDecompiler/Tests/BamlTestRunner.cs

@ -1,12 +1,20 @@ @@ -1,12 +1,20 @@
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using System.Collections;
using System.IO;
using System.Linq;
using System.Resources;
using System.Xml.Linq;
using ICSharpCode.Decompiler.Tests.Helpers;
using Mono.Cecil;
using NUnit.Framework;
namespace ILSpy.BamlDecompiler.Tests
{
/*
[TestFixture]
public class TestRunner
public class BamlTestRunner
{
[Test]
public void Simple()
@ -90,7 +98,7 @@ namespace ILSpy.BamlDecompiler.Tests @@ -90,7 +98,7 @@ namespace ILSpy.BamlDecompiler.Tests
#region RunTest
void RunTest(string name)
{
RunTest(name, typeof(TestRunner).Assembly.Location, Path.Combine("..\\..\\Tests", name + ".xaml"));
RunTest(name, typeof(BamlTestRunner).Assembly.Location, Path.Combine("..\\..\\Tests", name + ".xaml"));
}
void RunTest(string name, string asmPath, string sourcePath)
@ -131,5 +139,5 @@ namespace ILSpy.BamlDecompiler.Tests @@ -131,5 +139,5 @@ namespace ILSpy.BamlDecompiler.Tests
return null;
}
#endregion
}*/
}
}

2
ILSpy.BamlDecompiler/Tests/ILSpy.BamlDecompiler.Tests.csproj

@ -70,6 +70,7 @@ @@ -70,6 +70,7 @@
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="BamlTestRunner.cs" />
<Compile Include="Cases\AttachedEvent.xaml.cs">
<DependentUpon>AttachedEvent.xaml</DependentUpon>
<SubType>Code</SubType>
@ -93,7 +94,6 @@ @@ -93,7 +94,6 @@
</Compile>
<Compile Include="Mocks\AvalonDock.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="TestRunner.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\cecil\Mono.Cecil.csproj">

Loading…
Cancel
Save