mirror of
https://github.com/codex-storage/cs-codex-dist-tests.git
synced 2025-02-15 13:36:52 +00:00
30 lines
644 B
C#
30 lines
644 B
C#
using Logging;
|
|
|
|
namespace DistTestCore.Logs
|
|
{
|
|
public class FixtureLog : BaseTestLog
|
|
{
|
|
private readonly string fullName;
|
|
|
|
public FixtureLog(LogConfig config, DateTime start, string name = "")
|
|
{
|
|
fullName = NameUtils.GetFixtureFullName(config, start, name);
|
|
}
|
|
|
|
public TestLog CreateTestLog(string name = "")
|
|
{
|
|
return new TestLog(fullName, name);
|
|
}
|
|
|
|
public void DeleteFolder()
|
|
{
|
|
Directory.Delete(fullName, true);
|
|
}
|
|
|
|
protected override string GetFullName()
|
|
{
|
|
return fullName;
|
|
}
|
|
}
|
|
}
|