Browse Source

Removed deprecated code related to testing.

Signed-off-by: Dimitar Dobrev <dpldobrev@protonmail.com>
pull/767/head
Dimitar Dobrev 9 years ago
parent
commit
eb631e3f37
  1. 4
      src/Generator.Tests/AST/TestAST.cs
  2. 5
      src/Generator.Tests/Passes/TestPasses.cs

4
src/Generator.Tests/AST/TestAST.cs

@ -11,7 +11,7 @@ namespace CppSharp.Generator.Tests.AST
[TestFixture] [TestFixture]
public class TestAST : ASTTestFixture public class TestAST : ASTTestFixture
{ {
[TestFixtureSetUp] [OneTimeSetUp]
public void Init() public void Init()
{ {
CppSharp.AST.Type.TypePrinterDelegate = type => CppSharp.AST.Type.TypePrinterDelegate = type =>
@ -22,7 +22,7 @@ namespace CppSharp.Generator.Tests.AST
ParseLibrary("AST.h", "ASTExtensions.h"); ParseLibrary("AST.h", "ASTExtensions.h");
} }
[TestFixtureTearDown] [OneTimeTearDown]
public void CleanUp() public void CleanUp()
{ {
ParserOptions.Dispose(); ParserOptions.Dispose();

5
src/Generator.Tests/Passes/TestPasses.cs

@ -11,11 +11,6 @@ namespace CppSharp.Generator.Tests.Passes
{ {
private PassBuilder<TranslationUnitPass> passBuilder; private PassBuilder<TranslationUnitPass> passBuilder;
[TestFixtureSetUp]
public void Init()
{
}
[SetUp] [SetUp]
public void Setup() public void Setup()
{ {

Loading…
Cancel
Save