ThatBen ad1b756db9
Revert "while better the new plan is still a mess"
This reverts commit 2dfdfac2bb52e4ff919ee5f1b3986a839d71b0a2.

# Conflicts:
#	Tests/FrameworkTests/LifecycelyTest.cs
2025-04-25 11:08:38 +02:00

23 lines
712 B
C#

using Logging;
using System.Xml.Linq;
namespace DistTestCore.Logs
{
public class TestLog : BaseTestLog
{
public TestLog(ILog backingLog, string methodName, string deployId, string name = "")
: base(backingLog, deployId)
{
backingLog.Log($"*** Begin: {methodName}");
}
public static TestLog Create(FixtureLog parentLog, string name = "")
{
var methodName = NameUtils.GetTestMethodName(name);
var fullName = Path.Combine(parentLog.GetFullName(), methodName);
var backingLog = CreateMainLog(fullName, name);
return new TestLog(backingLog, methodName, parentLog.DeployId);
}
}
}