test: classify prerequisite lanes and own Avalonia sessions

This commit is contained in:
Erik 2026-08-18 11:30:47 +02:00
parent c1a905004a
commit 3684e7b5e7
113 changed files with 273 additions and 22 deletions

View file

@ -9,6 +9,7 @@ namespace AcDream.Launcher.Core.Tests.Launching;
public sealed class LauncherProcessSupervisorTests
{
[Fact]
[Trait("Lane", "Windows")]
public void WindowsFactoryUsesNativeProcessGroupsOnlyForConsoleChildren()
{
if (!OperatingSystem.IsWindows())
@ -148,6 +149,7 @@ public sealed class LauncherProcessSupervisorTests
}
[Fact]
[Trait("Lane", "Linux")]
public void GracefulStopSignalSendsSigintToARealChildOnLinux()
{
// Review finding F3, proven end to end against the real
@ -221,6 +223,7 @@ public sealed class LauncherProcessSupervisorTests
}
[Fact]
[Trait("Lane", "Windows")]
public async Task WindowsCtrlBreakStopsOnlyTheTargetProcessGroupWithoutKill()
{
if (!OperatingSystem.IsWindows())
@ -316,6 +319,7 @@ public sealed class LauncherProcessSupervisorTests
}
[Fact]
[Trait("Lane", "Windows")]
public async Task WindowsConsolelessParentStillTargetsDistinctChildProcessGroups()
{
if (!OperatingSystem.IsWindows())
@ -655,6 +659,7 @@ public sealed class LauncherProcessSupervisorTests
}
[Fact]
[Trait("Lane", "Windows")]
public async Task RealChildStderrIsCapturedForTheWindowsNativeConsolePath()
{
// Fix #406 sibling gap: on Windows, console-capable children