mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-01 09:37:03 +02:00
15 lines
447 B
C#
15 lines
447 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 readonly TestContext Context = context;
|
|
public string FullName => Context.Test.FullName;
|
|
public TextWriter Out => writer;
|
|
}
|