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