Browse Source

Add StackTests.il test case.

pull/1423/head
Siegfried Pammer 6 years ago
parent
commit
8480acf9e5
  1. 6
      ICSharpCode.Decompiler.Tests/CorrectnessTestRunner.cs
  2. 1
      ICSharpCode.Decompiler.Tests/ICSharpCode.Decompiler.Tests.csproj
  3. 0
      ICSharpCode.Decompiler.Tests/TestCases/Correctness/StackTests.il

6
ICSharpCode.Decompiler.Tests/CorrectnessTestRunner.cs

@ -220,6 +220,12 @@ namespace ICSharpCode.Decompiler.Tests @@ -220,6 +220,12 @@ namespace ICSharpCode.Decompiler.Tests
RunIL("Jmp.il");
}
[Test]
public void StackTests()
{
RunIL("StackTests.il");
}
[Test]
public void StackTypes([Values(false, true)] bool force32Bit)
{

1
ICSharpCode.Decompiler.Tests/ICSharpCode.Decompiler.Tests.csproj

@ -51,6 +51,7 @@ @@ -51,6 +51,7 @@
<ItemGroup>
<None Include="TestCases\Correctness\Jmp.il" />
<None Include="TestCases\Correctness\StackTests.il" />
<None Include="TestCases\Correctness\StackTypes.il" />
<None Include="TestCases\Correctness\Uninit.vb" />
<None Include="TestCases\ILPretty\FSharpLoops.fs" />

0
ICSharpCode.Decompiler.Tests/IL/StackTests.il → ICSharpCode.Decompiler.Tests/TestCases/Correctness/StackTests.il

Loading…
Cancel
Save