mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-22 10:34:30 +08:00
refactor(localization): 更新集成测试中的命名空间引用
- 添加对 GFramework.Core.Abstractions.Localization 的引用 - 确保测试文件能够访问本地化相关的抽象接口 - 为后续的本地化功能扩展做好准备 - 保持代码结构的一致性与可维护性
This commit is contained in:
parent
5fb96761a3
commit
075d397a4c
@ -1,3 +1,4 @@
|
||||
using GFramework.Core.Abstractions.Localization;
|
||||
using GFramework.Core.Localization;
|
||||
|
||||
namespace GFramework.Core.Tests.Localization;
|
||||
@ -5,9 +6,6 @@ namespace GFramework.Core.Tests.Localization;
|
||||
[TestFixture]
|
||||
public class LocalizationIntegrationTests
|
||||
{
|
||||
private LocalizationManager? _manager;
|
||||
private string _testDataPath = null!;
|
||||
|
||||
[SetUp]
|
||||
public void Setup()
|
||||
{
|
||||
@ -25,6 +23,9 @@ public class LocalizationIntegrationTests
|
||||
_manager.Initialize();
|
||||
}
|
||||
|
||||
private LocalizationManager? _manager;
|
||||
private string _testDataPath = null!;
|
||||
|
||||
[Test]
|
||||
public void GetText_ShouldReturnEnglishText()
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user