2023-09-20 10:51:47 +02:00
|
|
|
|
namespace DistTestCore.Logs
|
2023-04-12 13:53:55 +02:00
|
|
|
|
{
|
2023-09-12 11:25:04 +02:00
|
|
|
|
public class TestLog : BaseTestLog
|
2023-04-12 13:53:55 +02:00
|
|
|
|
{
|
2023-04-14 14:53:39 +02:00
|
|
|
|
private readonly string fullName;
|
2023-04-12 13:53:55 +02:00
|
|
|
|
|
2024-02-22 10:41:07 -03:00
|
|
|
|
public TestLog(string folder, string deployId, string name = "") : base(deployId)
|
2023-04-12 13:53:55 +02:00
|
|
|
|
{
|
2024-02-22 10:41:07 -03:00
|
|
|
|
var methodName = NameUtils.GetTestMethodName(name);
|
2023-04-14 14:53:39 +02:00
|
|
|
|
fullName = Path.Combine(folder, methodName);
|
2023-04-12 13:53:55 +02:00
|
|
|
|
|
2023-04-19 10:42:08 +02:00
|
|
|
|
Log($"*** Begin: {methodName}");
|
2023-04-12 13:53:55 +02:00
|
|
|
|
}
|
|
|
|
|
|
2023-06-28 15:11:20 +02:00
|
|
|
|
protected override string GetFullName()
|
2023-04-12 13:53:55 +02:00
|
|
|
|
{
|
2023-06-28 15:11:20 +02:00
|
|
|
|
return fullName;
|
2023-04-12 13:53:55 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|