mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-05-07 08:44:29 +08:00
- 拆分 GFramework.Core.Tests 中多组测试辅助类型到独立文件以消减 MA0048 warning - 更新 analyzer-warning-reduction 的 tracking 与 trace 以记录批处理基线和下一恢复点 - 验证 GFramework.Core.Tests Release 构建清零并将仓库根权威 warning 基线压降到 288
27 lines
766 B
C#
27 lines
766 B
C#
using GFramework.Core.Abstractions.State;
|
|
using GFramework.Core.State;
|
|
|
|
namespace GFramework.Core.Tests.State;
|
|
|
|
/// <summary>
|
|
/// 为 <see cref="StateMachineSystemTests" /> 提供最小化的上下文感知状态实现。
|
|
/// </summary>
|
|
public class TestContextAwareStateV5 : ContextAwareStateBase
|
|
{
|
|
/// <summary>
|
|
/// 进入状态时调用。该测试替身不需要额外行为。
|
|
/// </summary>
|
|
/// <param name="previous">前一个状态。</param>
|
|
public override void OnEnter(IState? previous)
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// 退出状态时调用。该测试替身不需要额外行为。
|
|
/// </summary>
|
|
/// <param name="next">下一个状态。</param>
|
|
public override void OnExit(IState? next)
|
|
{
|
|
}
|
|
}
|