SRGSSR / pillarbox-android

The modern SRG SSR Pillarbox player targeting Android platforms
https://android.pillarbox.ch/api
MIT License
13 stars 1 forks source link

Custom blocked segments #539

Closed StaehliJ closed 5 months ago

StaehliJ commented 5 months ago

Pull request

Description

The goal of this PR is to add some edge cases sample for BlockedTimeRange. The edge cases covered are

  1. Overlapping of BlockedTimeRange
  2. BlockTimeRange included in another one.
  3. BlockTimeRange are present at the start and one to the end of the media.

Changes made

Checklist

github-actions[bot] commented 5 months ago

Code Coverage

Overall Project 48.64% 🟢
Files changed 100% 🟢


Module Coverage
:pillarbox-player 49.3% 🟢
Files |Module|File|Coverage|| |:-|:-|:-|:-:| |:pillarbox-player|[TimeRangeTracker.kt](https://github.com/SRGSSR/pillarbox-android/blob/06c040b3ac6fc1706212706a9f9e4935c2934ed2/pillarbox-player%2Fsrc%2Fmain%2Fjava%2Fch%2Fsrgssr%2Fpillarbox%2Fplayer%2Ftracker%2FTimeRangeTracker.kt)|92.84%|🟢|