Skip to content

Uplynk tests: conform mock controller to THEOplayer 11.16 CustomAdIntegrationController - #144

Open
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
improvement/uplynk-mock-sdk-11-16
Open

devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
improvement/uplynk-mock-sdk-11-16

Conversation

@devin-ai-integration

Copy link
Copy Markdown
Contributor

Summary

THEOplayerSDK 11.16.0 makes ServerSideAdIntegrationController inherit from the new CustomAdIntegrationController. That protocol adds 3 required methods with no default implementation: reportAdImpression(ad:), reportAdClick(ad:) and endAdBreak(adBreak:). Because Package.swift accepts any 11.x, CI now resolves 11.16.0, and THEOplayerConnectorUplynkTests fails to compile:
type 'MockServerSideAdIntegrationController' does not conform to protocol 'CustomAdIntegrationController'

The connector source still builds. Only the test mock implements the protocol itself. This PR adds the 3 methods to MockServerSideAdIntegrationController and records them as Event cases, like the existing methods. The mock still compiles against 11.15.x.

Link to Devin session: https://dolby.devinenterprise.com/sessions/dc6a11f24c6f4fa78d9fc29012aa7dff
Open in Devin Desktop: https://dolby.devinenterprise.com/desktop/session/dc6a11f24c6f4fa78d9fc29012aa7dff?variant=devin

…egrationController

Co-Authored-By: raffi.manissalian <raffi.manissalian@dolby.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@therama
therama requested review from ceyhun-o and therama November 23, 2026 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant