Skip to content

AddShowTask: use coroutines, enforce queue with semaphore #1455

AddShowTask: use coroutines, enforce queue with semaphore

AddShowTask: use coroutines, enforce queue with semaphore #1455

GitHub Actions / JUnit Report succeeded Oct 18, 2024 in 1s

29 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
app/build/test-results/testPureDebugUnitTest/TEST-com.battlelancer.seriesguide.backend.HexagonAuthErrorTest.xml 1✅ 15ms
app/build/test-results/testPureDebugUnitTest/TEST-com.battlelancer.seriesguide.dataliberation.JsonExportTaskTest.xml 3✅ 5s
app/build/test-results/testPureDebugUnitTest/TEST-com.battlelancer.seriesguide.dataliberation.JsonImportTaskTest.xml 1✅ 2s
app/build/test-results/testPureDebugUnitTest/TEST-com.battlelancer.seriesguide.jobs.FlatbufferTest.xml 2✅ 7ms
app/build/test-results/testPureDebugUnitTest/TEST-com.battlelancer.seriesguide.movies.tools.MovieToolsTest.xml 1✅ 2ms
app/build/test-results/testPureDebugUnitTest/TEST-com.battlelancer.seriesguide.notifications.NotificationServiceTest.xml 1✅ 91ms
app/build/test-results/testPureDebugUnitTest/TEST-com.battlelancer.seriesguide.settings.TmdbSettingsTest.xml 2✅ 75ms
app/build/test-results/testPureDebugUnitTest/TEST-com.battlelancer.seriesguide.shows.tools.ShowSyncTest.xml 3✅ 135ms
app/build/test-results/testPureDebugUnitTest/TEST-com.battlelancer.seriesguide.streaming.DiscoverFilterTest.xml 1✅ 6ms
app/build/test-results/testPureDebugUnitTest/TEST-com.battlelancer.seriesguide.util.EpisodeToolsTest.xml 3✅ 1ms
app/build/test-results/testPureDebugUnitTest/TEST-com.battlelancer.seriesguide.util.ErrorsTest.xml 2✅ 66ms
app/build/test-results/testPureDebugUnitTest/TEST-com.battlelancer.seriesguide.util.ImageToolsTest.xml 3✅ 94ms
app/build/test-results/testPureDebugUnitTest/TEST-com.battlelancer.seriesguide.util.TextToolsTest.xml 6✅ 205ms

✅ app/build/test-results/testPureDebugUnitTest/TEST-com.battlelancer.seriesguide.backend.HexagonAuthErrorTest.xml

1 tests were completed in 15ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.battlelancer.seriesguide.backend.HexagonAuthErrorTest 1✅ 15ms

✅ com.battlelancer.seriesguide.backend.HexagonAuthErrorTest

✅ isSignInRequiredError

✅ app/build/test-results/testPureDebugUnitTest/TEST-com.battlelancer.seriesguide.dataliberation.JsonExportTaskTest.xml

3 tests were completed in 5s with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.battlelancer.seriesguide.dataliberation.JsonExportTaskTest 3✅ 5s

✅ com.battlelancer.seriesguide.dataliberation.JsonExportTaskTest

✅ exportLists_jsonAsExpected
✅ exportMovies_jsonAsExpected
✅ exportShows_jsonAsExpected

✅ app/build/test-results/testPureDebugUnitTest/TEST-com.battlelancer.seriesguide.dataliberation.JsonImportTaskTest.xml

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

Test suite Passed Failed Skipped Time
com.battlelancer.seriesguide.dataliberation.JsonImportTaskTest 1✅ 2s

✅ com.battlelancer.seriesguide.dataliberation.JsonImportTaskTest

✅ importShow_modelAsExpected

✅ app/build/test-results/testPureDebugUnitTest/TEST-com.battlelancer.seriesguide.jobs.FlatbufferTest.xml

2 tests were completed in 7ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.battlelancer.seriesguide.jobs.FlatbufferTest 2✅ 7ms

✅ com.battlelancer.seriesguide.jobs.FlatbufferTest

✅ movieId
✅ createAndReadBuffer

✅ app/build/test-results/testPureDebugUnitTest/TEST-com.battlelancer.seriesguide.movies.tools.MovieToolsTest.xml

1 tests were completed in 2ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.battlelancer.seriesguide.movies.tools.MovieToolsTest 1✅ 2ms

✅ com.battlelancer.seriesguide.movies.tools.MovieToolsTest

✅ updateReleaseDateForRegion

✅ app/build/test-results/testPureDebugUnitTest/TEST-com.battlelancer.seriesguide.notifications.NotificationServiceTest.xml

1 tests were completed in 91ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.battlelancer.seriesguide.notifications.NotificationServiceTest 1✅ 91ms

✅ com.battlelancer.seriesguide.notifications.NotificationServiceTest

✅ shouldCheckToNotify

✅ app/build/test-results/testPureDebugUnitTest/TEST-com.battlelancer.seriesguide.settings.TmdbSettingsTest.xml

2 tests were completed in 75ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.battlelancer.seriesguide.settings.TmdbSettingsTest 2✅ 75ms

✅ com.battlelancer.seriesguide.settings.TmdbSettingsTest

✅ isConfigurationUpToDate
✅ getImageBaseUrl

✅ app/build/test-results/testPureDebugUnitTest/TEST-com.battlelancer.seriesguide.shows.tools.ShowSyncTest.xml

3 tests were completed in 135ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.battlelancer.seriesguide.shows.tools.ShowSyncTest 3✅ 135ms

✅ com.battlelancer.seriesguide.shows.tools.ShowSyncTest

✅ test_singleNoId
✅ test_deltaNoShows
✅ test_fullNoShows

✅ app/build/test-results/testPureDebugUnitTest/TEST-com.battlelancer.seriesguide.streaming.DiscoverFilterTest.xml

1 tests were completed in 6ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.battlelancer.seriesguide.streaming.DiscoverFilterTest 1✅ 6ms

✅ com.battlelancer.seriesguide.streaming.DiscoverFilterTest

✅ calculateProviderUpdates

✅ app/build/test-results/testPureDebugUnitTest/TEST-com.battlelancer.seriesguide.util.EpisodeToolsTest.xml

3 tests were completed in 1ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.battlelancer.seriesguide.util.EpisodeToolsTest 3✅ 1ms

✅ com.battlelancer.seriesguide.util.EpisodeToolsTest

✅ test_validateFlags
✅ test_isUnwatched
✅ test_isWatched

✅ app/build/test-results/testPureDebugUnitTest/TEST-com.battlelancer.seriesguide.util.ErrorsTest.xml

2 tests were completed in 66ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.battlelancer.seriesguide.util.ErrorsTest 2✅ 66ms

✅ com.battlelancer.seriesguide.util.ErrorsTest

✅ bendingStackTrace
✅ removeErrorToolsFromStackTrace

✅ app/build/test-results/testPureDebugUnitTest/TEST-com.battlelancer.seriesguide.util.ImageToolsTest.xml

3 tests were completed in 94ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.battlelancer.seriesguide.util.ImageToolsTest 3✅ 94ms

✅ com.battlelancer.seriesguide.util.ImageToolsTest

✅ posterUrl_withLegacyCachePath
✅ posterUrlOrResolve
✅ posterUrl

✅ app/build/test-results/testPureDebugUnitTest/TEST-com.battlelancer.seriesguide.util.TextToolsTest.xml

6 tests were completed in 205ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.battlelancer.seriesguide.util.TextToolsTest 6✅ 205ms

✅ com.battlelancer.seriesguide.util.TextToolsTest

✅ dotSeparate
✅ splitPipeSeparatedStrings
✅ trimLeadingArticle
✅ getWatchedButtonText
✅ getEpisodeNumber
✅ buildPipeSeparatedString