mirror of
https://github.com/codex-storage/cs-codex-dist-tests.git
synced 2025-02-10 19:16:46 +00:00
25 lines
647 B
C#
25 lines
647 B
C#
using Logging;
|
|
|
|
namespace DistTestCore
|
|
{
|
|
public class TestLifecycle
|
|
{
|
|
public TestLifecycle(Configuration configuration)
|
|
{
|
|
Log = new TestLog(configuration.GetLogConfig());
|
|
FileManager = new FileManager(Log, configuration);
|
|
CodexStarter = new CodexStarter(this, configuration);
|
|
}
|
|
|
|
public TestLog Log { get; }
|
|
public FileManager FileManager { get; }
|
|
public CodexStarter CodexStarter { get; }
|
|
|
|
public void DeleteAllResources()
|
|
{
|
|
CodexStarter.DeleteAllResources();
|
|
FileManager.DeleteAllTestFiles();
|
|
}
|
|
}
|
|
}
|