mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-12-25 11:54:43 +08:00
19 lines
498 B
C#
19 lines
498 B
C#
using System.Threading.Tasks;
|
|
using PublicApiGenerator;
|
|
using VerifyXunit;
|
|
using Xunit;
|
|
|
|
namespace BililiveRecorder.Core.UnitTests
|
|
{
|
|
[UsesVerify]
|
|
public class PublicApi
|
|
{
|
|
[Fact]
|
|
public Task HasNoChangesAsync()
|
|
{
|
|
var publicApi = typeof(Recorder).Assembly.GeneratePublicApi(new ApiGeneratorOptions { ExcludeAttributes = new[] { "System.Runtime.Versioning.TargetFrameworkAttribute" } });
|
|
return Verifier.Verify(publicApi);
|
|
}
|
|
}
|
|
}
|