-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
ApiApprovalTests.cs
31 lines (28 loc) · 1.12 KB
/
ApiApprovalTests.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Copyright (c) 2023 .NET Foundation and Contributors. All rights reserved.
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for full license information.
using VerifyXunit;
namespace ReactiveUI.Tests.API
{
/// <summary>
/// Checks to make sure that the API is consistent with previous releases, and new API changes are highlighted.
/// </summary>
[ExcludeFromCodeCoverage]
[UsesVerify]
public class ApiApprovalTests : ApiApprovalBase
{
/// <summary>
/// Generates public API for the ReactiveUI.Testing API.
/// </summary>
/// <returns>A task to monitor the process.</returns>
[Fact]
public Task Testing() => CheckApproval(typeof(Testing.SchedulerExtensions).Assembly);
/// <summary>
/// Generates public API for the ReactiveUI API.
/// </summary>
/// <returns>A task to monitor the process.</returns>
[Fact]
public Task ReactiveUI() => CheckApproval(typeof(RxApp).Assembly);
}
}