components_testing_MockSceneManager.bs
' Mock SceneManager for testing
' Provides no-op implementations of all SceneManager interface functions
' This allows tests to call these functions without crashing
sub init()
' No initialization needed for mock
end sub
' Stub implementations - do nothing but exist so callFunc doesn't crash
sub pushScene(_newGroup)
end sub
sub popScene()
end sub
sub settings()
end sub
function getActiveScene() as object
return invalid
end function
sub clearScenes()
end sub
sub clearPreviousScene()
end sub
sub reloadHome()
end sub
' This is the key function that user.Login() calls after authentication
' In the real SceneManager, this updates theme colors on the scene
' In tests, we just do nothing since there's no real UI to update
sub refreshThemeColors()
end sub
sub resetTime()
end sub
sub setBackgroundImage(_url as string, _fade = false as boolean, _alwaysShow = false as boolean)
end sub
sub userMessage(_title as string, _message as string)
end sub
sub standardDialog(_title as string, _content as object)
end sub
sub radioDialog(_title as string, _content as object)
end sub
sub dismissDialog()
end sub
function isDialogOpen() as boolean
return false
end function
sub showConfirmationDialog(_title as string, _message as string, _options as object)
end sub