diff --git a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Protocols/RTCPeerConnectionCoordinatorProviding.swift b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Protocols/RTCPeerConnectionCoordinatorProviding.swift index 8712aba3e..b6dd55885 100644 --- a/Sources/StreamVideo/WebRTC/v2/PeerConnection/Protocols/RTCPeerConnectionCoordinatorProviding.swift +++ b/Sources/StreamVideo/WebRTC/v2/PeerConnection/Protocols/RTCPeerConnectionCoordinatorProviding.swift @@ -58,7 +58,7 @@ final class StreamRTCPeerConnectionCoordinatorFactory: RTCPeerConnectionCoordina /// - videoConfig: Configuration settings for video. /// - callSettings: Settings related to the overall call. /// - audioSettings: Settings for audio configuration. - /// - publishOptions: TODO + /// - publishOptions: The publishOptions to use to create the initial tracks. /// - sfuAdapter: The adapter for interacting with the Selective Forwarding Unit. /// - videoCaptureSessionProvider: Provider for video capturing functionality. /// - screenShareSessionProvider: Provider for screen sharing functionality. diff --git a/StreamVideoSwiftUITests/StreamVideoSwiftUI.xctestplan b/StreamVideoSwiftUITests/StreamVideoSwiftUI.xctestplan index 9fb437bd3..408f93117 100644 --- a/StreamVideoSwiftUITests/StreamVideoSwiftUI.xctestplan +++ b/StreamVideoSwiftUITests/StreamVideoSwiftUI.xctestplan @@ -13,6 +13,9 @@ }, "testTargets" : [ { + "skippedTests" : [ + "StreamAppStateAdapter_Tests\/test_init_stateIsSetToForeground()" + ], "target" : { "containerPath" : "container:StreamVideo.xcodeproj", "identifier" : "84F7380D287C141000A363F4", diff --git a/StreamVideoSwiftUITests/Utils/StreamAppStateAdapter/StreamAppStateAdapter_Tests.swift b/StreamVideoSwiftUITests/Utils/StreamAppStateAdapter/StreamAppStateAdapter_Tests.swift index 6adb35752..51e64ca7c 100644 --- a/StreamVideoSwiftUITests/Utils/StreamAppStateAdapter/StreamAppStateAdapter_Tests.swift +++ b/StreamVideoSwiftUITests/Utils/StreamAppStateAdapter/StreamAppStateAdapter_Tests.swift @@ -17,6 +17,12 @@ final class StreamAppStateAdapter_Tests: XCTestCase, @unchecked Sendable { subject = nil super.tearDown() } + + // MARK: - init + + func test_init_stateIsSetToForeground() { + XCTAssertEqual(subject.state, .foreground) + } // MARK: - move to foreground diff --git a/StreamVideoTests/StreamVideo.xctestplan b/StreamVideoTests/StreamVideo.xctestplan index b94155a80..27bfb33ab 100644 --- a/StreamVideoTests/StreamVideo.xctestplan +++ b/StreamVideoTests/StreamVideo.xctestplan @@ -36,6 +36,9 @@ }, "testTargets" : [ { + "skippedTests" : [ + "ThermalStateObserverTests\/test_injectedValueWasSetCorrectly()" + ], "target" : { "containerPath" : "container:StreamVideo.xcodeproj", "identifier" : "84F737F3287C13AD00A363F4", diff --git a/StreamVideoTests/Utils/ThermalStateObserverTests.swift b/StreamVideoTests/Utils/ThermalStateObserverTests.swift index 7a437f5db..4fe1cd535 100644 --- a/StreamVideoTests/Utils/ThermalStateObserverTests.swift +++ b/StreamVideoTests/Utils/ThermalStateObserverTests.swift @@ -22,6 +22,10 @@ final class ThermalStateObserverTests: XCTestCase { func test_init_stateHasBeenCorrectlySetUp() { XCTAssertEqual(ThermalStateObserver.shared.state, ProcessInfo.processInfo.thermalState) } + + func test_injectedValueWasSetCorrectly() { + XCTAssertTrue(InjectedValues[\.thermalStateObserver] === ThermalStateObserver.shared) + } // MARK: - notificationObserver