diff --git a/src/Generator.Tests/AST/TestAST.cs b/src/Generator.Tests/AST/TestAST.cs index b251a1cb..74d30429 100644 --- a/src/Generator.Tests/AST/TestAST.cs +++ b/src/Generator.Tests/AST/TestAST.cs @@ -11,7 +11,7 @@ namespace CppSharp.Generator.Tests.AST [TestFixture] public class TestAST : ASTTestFixture { - [TestFixtureSetUp] + [OneTimeSetUp] public void Init() { CppSharp.AST.Type.TypePrinterDelegate = type => @@ -22,7 +22,7 @@ namespace CppSharp.Generator.Tests.AST ParseLibrary("AST.h", "ASTExtensions.h"); } - [TestFixtureTearDown] + [OneTimeTearDown] public void CleanUp() { ParserOptions.Dispose(); diff --git a/src/Generator.Tests/Passes/TestPasses.cs b/src/Generator.Tests/Passes/TestPasses.cs index 22d645b3..18687245 100644 --- a/src/Generator.Tests/Passes/TestPasses.cs +++ b/src/Generator.Tests/Passes/TestPasses.cs @@ -11,11 +11,6 @@ namespace CppSharp.Generator.Tests.Passes { private PassBuilder passBuilder; - [TestFixtureSetUp] - public void Init() - { - } - [SetUp] public void Setup() {