You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
463 B
C#
25 lines
463 B
C#
using Xunit.Abstractions;
|
|
|
|
namespace MultiThreadingStudy.xUnitTest
|
|
{
|
|
public class UseXunit:IDisposable
|
|
{
|
|
private readonly ITestOutputHelper _output;
|
|
|
|
public UseXunit(ITestOutputHelper testOutput)
|
|
{
|
|
_output = testOutput;
|
|
}
|
|
|
|
[Fact]
|
|
public void Test1()
|
|
{
|
|
_output.WriteLine("使用 xUnit 日志");
|
|
}
|
|
|
|
public void Dispose()
|
|
{
|
|
|
|
}
|
|
}
|
|
} |