mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-20 23:54:26 +08:00
feat.完善了时钟轻应用,为启动器提供了多语言支持
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user