feat.完善了时钟轻应用,为启动器提供了多语言支持

This commit is contained in:
lincube
2026-05-18 12:26:23 +08:00
parent 93758fc083
commit b6d820a320
63 changed files with 4581 additions and 342 deletions

View File

@@ -79,6 +79,22 @@ public sealed class AirAppLauncherServiceTests
key);
}
[Fact]
public void BuildSingleInstanceKey_UsesGlobalClockSuiteForWorldClock()
{
var analogKey = AirAppLauncherService.BuildSingleInstanceKey(
AirAppLauncherService.WorldClockAppId,
BuiltInComponentIds.DesktopClock,
"analog-placement");
var worldKey = AirAppLauncherService.BuildSingleInstanceKey(
AirAppLauncherService.WorldClockAppId,
BuiltInComponentIds.DesktopWorldClock,
"world-placement");
Assert.Equal("world-clock:clock-suite:global", analogKey);
Assert.Equal(analogKey, worldKey);
}
[Fact]
public void CreateBrokerStartInfo_UsesAirAppBrokerCommandAndRequesterPid()
{