Round 2 release candidate 2: round branch merged with main (updater) and Back fix #68

Merged
justinzeus merged 28 commits from fm/tv-round2-rc2 into fm/tv-round2 2026-11-07 23:20:12 +01:00
2 changed files with 4 additions and 3 deletions
Showing only changes of commit 408aff3db7 - Show all commits

View file

@ -113,6 +113,7 @@ class UpstreamContentFocusTest {
val model = mockk<WolfskinShellViewModel>(relaxed = true)
every { model.session } returns WolfskinSession().also { it.state = state }
every { model.conductarr } returns ConductarrSession(org.justinvisser.wolfskin.conductarr.MemoryCacheStore())
every { model.updates } returns org.justinvisser.wolfskin.tv.update.FakeUpdateController()
every { model.libraryDestinations } returns emptyMap()
// An unavailable saved identity uses the real sign-in placeholder, avoiding any server reads.
every { model.signedInPerson } returns "unavailable"

View file

@ -104,10 +104,10 @@ class UpdatesKeysTest {
assertTrue(shell.contentOverlayVisible)
assertFalse(shell.navFocused)
assertTrue(controller.autoCheck.value)
press(listOf(Key.Back))
press(listOf(Key.Escape))
assertFalse(shell.contentOverlayVisible)
assertEquals(1, (shell.contentFocus as UpdateFocus).actionIndex)
press(listOf(Key.Back))
press(listOf(Key.Escape))
assertEquals("settings", shell.route)
assertEquals(1, shell.settingsRow)
assertEquals(0, shell.view.listState.firstVisibleItemIndex)
@ -120,7 +120,7 @@ class UpdatesKeysTest {
assertTrue(range.value() > 0f)
assertFalse(shell.navFocused)
assertFalse((shell.contentFocus as UpdateFocus).autoFocused)
press(listOf(Key.Back))
press(listOf(Key.Escape))
assertEquals(1, (shell.contentFocus as UpdateFocus).actionIndex)
}