mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-21 00:38:44 +08:00
24 lines
607 B
C#
24 lines
607 B
C#
using NUnit.Framework;
|
|
using static System.Application.Program;
|
|
|
|
namespace System.Application
|
|
{
|
|
[SetUpFixture]
|
|
public class SetupFixture
|
|
{
|
|
bool isFirstOneTimeSetUp;
|
|
|
|
[OneTimeSetUp]
|
|
public void OneTimeSetUp()
|
|
{
|
|
// TODO: Add code here that is run before
|
|
// all tests in the assembly are run
|
|
if (!isFirstOneTimeSetUp)
|
|
{
|
|
isFirstOneTimeSetUp = true;
|
|
var logDirPath = InitLogDir("_test");
|
|
TestContext.WriteLine($"logDirPath: {logDirPath}");
|
|
}
|
|
}
|
|
}
|
|
} |