Skip to content

some fixes

4511c03
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

Microsoft Playready support for Amazon Prime RDK app #449

some fixes
4511c03
Select commit
Loading
Failed to load commit list.
GitHub Actions / Results manager succeeded Feb 19, 2026 in 0s

137 passed, 0 failed and 0 skipped

Tests passed successfully

✅ build/manager_gtest_result.xml

137 tests were completed in 2s with 137 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
ConfigHelperTests 13✅ 4ms
ConfigReaderTests 30✅ 5ms
HealthcheckServiceTests 14✅ 1ms
IpcTests 19✅ 7ms
ServerManagerServiceTests 9✅ 0ms
SessionServerAppManagerTests 34✅ 13ms
SessionServerAppTests 15✅ 2s
UtilsTest 3✅ 0ms

✅ ConfigHelperTests

✅ ShouldNotUseMainJsonValuesWhenFactoryIsNull
✅ ShouldNotUseMainJsonValuesWhenConfigReaderIsNull
✅ ShouldNotUseMainJsonValuesWhenConfigReaderReturnsNullopts
✅ ShouldUseMainJsonValues
✅ ShouldOverrideEnvVariable
✅ ShouldOverrideEnvVariableWithExtraArgs
✅ ShouldNotUseMainJsonValuesWhenConfigReadersReturnNullopts
✅ ShouldOverrideEnvVariablesBySocFile
✅ ShouldUseJsonSocValues
✅ ShouldOverrideEnvVariablesByOverridesFile
✅ ShouldAppendExtraEnvVars
✅ ShouldUseJsonOverrideValues
✅ ShouldOverrideOldValues

✅ ConfigReaderTests

✅ fileOpenFailed
✅ fileParsingFailed
✅ thereWillBeNothing
✅ envVariablesNotArray
✅ envVariablesEmptyArray
✅ envVariablesOneElementArrayNotString
✅ envVariablesMultipleElementArray
✅ sessionServerPathNotString
✅ sessionServerPathExists
✅ startupTimerNotUint
✅ startupTimerExists
✅ healthCheckIntervalNotUint
✅ healthCheckIntervalExists
✅ socketPermissionsNotUint
✅ socketPermissionsExists
✅ socketOwnerNotString
✅ socketOwnerExists
✅ socketGroupNotString
✅ socketGroupExists
✅ numOfPreloadedServersNotUint
✅ numOfPreloadedServersExists
✅ logLevelNotUint
✅ logLevelSuccessfulParsing
✅ numOfPingsBeforeRecoveryNotUint
✅ numOfPingsBeforeRecoveryExists
✅ defaultConfigValuesAreSet
✅ extraEnvVariablesNotArray
✅ extraEnvVariablesEmptyArray
✅ extraEnvVariablesOneElementArrayNotString
✅ extraEnvVariablesMultipleElementArray

✅ HealthcheckServiceTests

✅ WillCreateSutWithPingDisabled
✅ WillCreateSutWithPingEnabled
✅ WillRequestToSendPingMessages
✅ WillFailToAddPingWithWrongId
✅ WillSendErrorDueToTimeoutedPing
✅ WillNotSendErrorWhenServerIsRemoved
✅ WillFailToAckWhenPingIdIsWrong
✅ WillFailWhenAckIsReceivedForOtherServer
✅ WillFailWhenFailAckIsReceived
✅ WillPingAndAckSuccessfully
✅ WillStartRecoveryActionWhenFailAckIsReceivedTooManyTimes
✅ WillStartRecoveryActionWhenPingFailsToBeSentTooManyTimes
✅ WillRecoveryActionCounterShouldBeResetWhenSuccessAckIsReceived
✅ WillFailToFailPingWithWrongId

✅ IpcTests

✅ PerformSetStateShouldReturnFalseWhenNoAppIsConnected
✅ PerformPingShouldReturnFalseWhenNoAppIsConnected
✅ ShouldFailToCreateClientWhenServerIsNotRunning
✅ ShouldConnectToRialtoSessionServer
✅ ShouldFailToConnectToTheSameAppTwice
✅ ShouldRemoveClient
✅ ShouldSuccessfullySetState
✅ ShouldFailToSetStateWhenFailResponseIsReceived
✅ ShouldSuccessfullyPing
✅ ShouldFailToPingWhenFailResponseIsReceived
✅ ShouldForwardStateChangedIndicationToSessionServerAppManager
✅ ShouldForwardAckEventToSessionServerAppManager
✅ ShouldForwardNotRunningStateChangeToSessionServerAppManagerWhenUnexpectedlyDisconnected
✅ ShouldSuccessfullySetLogLevels
✅ ShouldFailToSetLogLevels
✅ ShouldSuccessfullySetConfiguration
✅ ShouldFailToSetConfiguration
✅ ShouldSuccessfullySetConfigurationWithFd
✅ ShouldFailToSetConfigurationWithFd

✅ ServerManagerServiceTests

✅ initiateApplicationShouldReturnTrueIfOperationSucceeded
✅ initiateApplicationShouldReturnFalseIfOperationFailed
✅ setStateShouldReturnTrueIfOperationSucceeded
✅ setStateShouldReturnFalseIfOperationFailed
✅ getSessionServerInfoShouldReturnAppSocket
✅ setLogLevelsShouldReturnTrueIfOperationSucceeded
✅ setLogLevelsShouldReturnFalseIfOperationFailed
✅ registerLogHandlerShouldSucceed
✅ registerLogHandlerShouldFailWhenPtrIsNull

✅ SessionServerAppManagerTests

✅ GetConnectionInfoShouldReturnEmptyStringForNotRunningSessionServer
✅ InitiateApplicationShouldReturnFalseWhenNotRunningSessionServerIsSwitchedToNotRunning
✅ InitiateApplicationShouldReturnFalseWhenSessionServerFailedToLaunch
✅ InitiateApplicationShouldReturnFalseWhenSessionServerFailedToConnect
✅ InitiateApplicationShouldReturnTrueWhenSessionServerIsLaunched
✅ InitiateApplicationShouldReturnFalseWhenCalledForRunningApplication
✅ GetConnectionInfoShouldReturnProperSocket
✅ SetSessionServerStateShouldReturnFalseWhenAppIsNotLaunched
✅ SetSessionServerStateShouldReturnFalseWhenUnableToSendMessage
✅ SetSessionServerStateToNotRunningShouldReturnFalseAndKillAppWhenUnableToSendMessage
✅ SetSessionServerStateShouldReturnTrueWhenStateIsChanged
✅ StateObserverShouldBeInformedAboutStateChangeToInactive
✅ SessionServerAppManagerShouldRemoveApplicationWhenSetConfigurationFails
✅ SessionServerAppManagerShouldRemoveApplicationWhenNotRunningIndicationIsReceived
✅ SessionServerAppManagerShouldForwardErrorIndicationOfRunningApp
✅ SessionServerAppManagerShouldRespawnPreloadedServerWhenErrorIndicationIsReceived
✅ SessionServerAppManagerShouldSetNewLogLevel
✅ SessionServerAppManagerShouldFailToSetNewLogLevel
✅ PreloadedServerShouldFailToLaunch
✅ PreloadedServerShouldFailToConnect
✅ PreloadedServerShouldLaunch
✅ SessionServerAppManagerShouldFailToConfigurePreloadedAppDueToAppError
✅ SessionServerAppManagerShouldFailToConfigurePreloadedAppDueToServerError
✅ SessionServerAppManagerShouldConfigure
✅ SessionServerAppManagerShouldConfigureWithSocketFd
✅ SessionServerAppManagerShouldRemoveApplicationWhenSetConfigurationWithFdFails
✅ SessionServerAppManagerShouldHandleAck
✅ SessionServerAppManagerShouldHandleFailedAck
✅ SessionServerAppManagerShouldSendPingEvents
✅ SessionServerAppManagerShouldFailToSendPingEvents
✅ SessionServerShouldRestart
✅ SessionServerShouldSkipRestart
✅ SessionServerShouldReportStartupTimeout
✅ SessionServerShouldSkipReportingStartupTimeoutWhenServerDoesNotExist

✅ SessionServerAppTests

✅ ShouldConfigurePreloadedSut
✅ ShouldFailConfigurePreloadedSutTwice
✅ ShouldFailToConfigureSutForApp
✅ ShouldCreateSutForAppWithEmptyClientSocketName
✅ ShouldCreateSutForAppWithClientSocketName
✅ ShouldCreateSutForAppWithFullPathClientSocketName
✅ ShouldFailToLaunchAppWhenSocketInitialisationFails
✅ ShouldFailToLaunchAppWhenLaunchTimeouts
✅ ShouldFailToLaunchAppWhenForkFails
✅ ShouldLaunchApp
✅ ShouldCancelStartupTimer
✅ ShouldLaunchAppWithoutStartupTimer
✅ ShouldStoreExpectedSessionServerState
✅ ShouldSessionManagementSocketFd
✅ ShouldReleaseNamedSocket

✅ UtilsTest

✅ ShouldReturnProperString
✅ ShouldReturnConvertedLogLevel
✅ ShouldSetLocalLogLevels