mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-05-07 17:11:44 +08:00
- 拆分 GFramework.Core.Tests 中多组测试辅助类型到独立文件以消减 MA0048 warning - 更新 analyzer-warning-reduction 的 tracking 与 trace 以记录批处理基线和下一恢复点 - 验证 GFramework.Core.Tests Release 构建清零并将仓库根权威 warning 基线压降到 288
18 lines
508 B
C#
18 lines
508 B
C#
namespace GFramework.Core.Tests.Extensions;
|
|
|
|
/// <summary>
|
|
/// 为 <see cref="ObjectExtensionsTests" /> 提供类型匹配断言所需的简单测试对象。
|
|
/// </summary>
|
|
public class TestClass
|
|
{
|
|
/// <summary>
|
|
/// 获取或设置用于数值分支断言的测试值。
|
|
/// </summary>
|
|
public int Value { get; set; }
|
|
|
|
/// <summary>
|
|
/// 获取或设置用于字符串结果断言的测试名称。
|
|
/// </summary>
|
|
public string Name { get; set; } = string.Empty;
|
|
}
|