mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 04:18:43 +00:00
21 lines
471 B
C#
21 lines
471 B
C#
using System.Text;
|
|
|
|
namespace Cosmos.TestRunner.Core
|
|
{
|
|
internal class TestResultOutputHandler : OutputHandlerFullTextBase
|
|
{
|
|
public string TestLog => _logBuilder.ToString();
|
|
|
|
private StringBuilder _logBuilder;
|
|
|
|
public TestResultOutputHandler()
|
|
{
|
|
_logBuilder = new StringBuilder();
|
|
}
|
|
|
|
protected override void Log(string message)
|
|
{
|
|
_logBuilder.AppendLine(message);
|
|
}
|
|
}
|
|
}
|