fix: advance NEXT past unplayable cuts

This commit is contained in:
2026-07-28 17:26:48 +09:00
parent ea96a08ad5
commit 18d40e892f
9 changed files with 323 additions and 38 deletions

View File

@@ -183,6 +183,8 @@ public sealed class LegacyPlayoutBridgeTests
CanChangeBackground: false,
Message: "준비 완료")
{
OnAirCueIndexZeroBased = -1,
OnAirEntryId = null,
IsTakeOutCompletionPending = true,
RefreshNextAtUtc = new DateTimeOffset(
2026, 7, 17, 2, 3, 4, TimeSpan.Zero),
@@ -203,6 +205,8 @@ public sealed class LegacyPlayoutBridgeTests
Assert.Equal(2, projected.GetProperty("pageCount").GetInt32());
Assert.Equal("기본.vrv", projected.GetProperty("backgroundFileName").GetString());
Assert.Equal("entry-1", projected.GetProperty("currentEntryId").GetString());
Assert.Equal(-1, projected.GetProperty("onAirCueIndexZeroBased").GetInt32());
Assert.Equal(JsonValueKind.Null, projected.GetProperty("onAirEntryId").ValueKind);
Assert.True(projected.GetProperty("isTakeOutCompletionPending").GetBoolean());
Assert.Equal(
new DateTimeOffset(2026, 7, 17, 2, 3, 4, TimeSpan.Zero),