#if(DEBUG)
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace FileFlows.Comic.Tests;
[TestClass]
public abstract class TestBase
{
///
/// Gets the test logger
///
internal TestLogger Logger = new TestLogger();
///
/// The test context instance
///
private TestContext? testContextInstance;
///
/// Gets or sets the test context
///
public TestContext TestContext
{
get => testContextInstance!;
set => testContextInstance = value;
}
public string TempPath = "/home/john/Comics/temp";
[TestInitialize]
public void TestInitialize()
{
if (Directory.Exists(this.TempPath) == false)
Directory.CreateDirectory(this.TempPath);
}
}
#endif