Files
SteamTools/tests/Common.UnitTest/SetupFixture.cs
T
2022-05-27 00:01:54 +08:00

27 lines
590 B
C#

using NUnit.Framework;
using System.Application;
namespace System;
[SetUpFixture]
public partial class SetupFixture
{
[OneTimeSetUp]
public void OneTimeSetUp()
{
// TODO: Add code here that is run before
// all tests in the assembly are run
FileSystem2.InitFileSystem();
if (!DI.IsConfigured)
{
DI.ConfigureServices(ConfigureServices);
}
}
[OneTimeTearDown]
public void OneTimeTearDown()
{
// TODO: Add code here that is run after
// all tests in the assembly have been run
}
}