mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-22 02:24:30 +08:00
test(PlayerController): 将测试方法转换为异步任务
- 将 TestPlayerController 方法从同步改为异步 - 使用 Task 类型替代 void 返回类型 - 为测试方法添加 async 关键字修饰符
This commit is contained in:
parent
3dce243bcd
commit
4804b75215
@ -155,7 +155,7 @@ partial class PlayerController : global::GFramework.Core.Abstractions.rule.ICont
|
||||
|
||||
```csharp
|
||||
[Test]
|
||||
public void TestPlayerController()
|
||||
public async Task TestPlayerController()
|
||||
{
|
||||
// 创建测试架构
|
||||
var testArchitecture = new TestArchitecture();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user