fix(tests): the black box text tests wait their turn with the other Avalonia ones

EventTextsTests and SecurityBrakingTests from #55 ran beside the Avalonia
controls collection; their AppBuilder setup raced it and 28 UI tests failed
with "Setup was already called" on every runner.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
maj00r
2026-11-16 15:42:56 +01:00
parent c370d1509e
commit 100bbea83e
2 changed files with 2 additions and 0 deletions

View File

@@ -3,6 +3,7 @@ using Eu07.BlackBox.Views;
namespace StarterNG.Tests.BlackBox; namespace StarterNG.Tests.BlackBox;
[Collection(AvaloniaControls.Name)]
public class EventTextsTests public class EventTextsTests
{ {
[Theory] [Theory]

View File

@@ -4,6 +4,7 @@ using Eu07.BlackBox.Views;
namespace StarterNG.Tests.BlackBox; namespace StarterNG.Tests.BlackBox;
[Collection(AvaloniaControls.Name)]
public class SecurityBrakingTests public class SecurityBrakingTests
{ {
// as the simulator writes them: one acknowledgement for both, so the cab signalling's buzzer is the alerter's too // as the simulator writes them: one acknowledgement for both, so the cab signalling's buzzer is the alerter's too