mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-15 06:42:25 +02:00
14 lines
396 B
C#
14 lines
396 B
C#
using System.IO;
|
|
using NUnit.Framework;
|
|
|
|
namespace Robust.UnitTesting.Pool;
|
|
|
|
/// <summary>
|
|
/// Canonical implementation of <see cref="ITestContextLike"/> for usage in actual NUnit tests.
|
|
/// </summary>
|
|
public sealed class NUnitTestContextWrap(TestContext context, TextWriter writer) : ITestContextLike
|
|
{
|
|
public string FullName => context.Test.FullName;
|
|
public TextWriter Out => writer;
|
|
}
|