[PR #6403] [MERGED] Adding tests for AiredEpisodeOrderComparer. #10951

Closed
opened 2026-02-07 06:29:43 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/6403
Author: @ankenyr
Created: 8/7/2021
Status: Merged
Merged: 8/16/2021
Merged by: @cvium

Base: masterHead: master


📝 Commits (10+)

  • 14a53fe Adding tests for AiredEpisodeOrderComparer.
  • 8b4d933 Changing namespace to be within Jellyfin.Server.Implementations.Tests
  • 8e6436d Removing moved files.
  • 5eac267 Reverting sln file.
  • 579ed5c Update tests/Jellyfin.Server.Implementations.Tests/Sorting/AiredEpisodeOrderComparerTests.cs
  • 67f81e8 Changing test name to be more descrptive.
  • 78bbfca Separating out error cases from good cases.
  • 10fbb4d Update tests/Jellyfin.Server.Implementations.Tests/Sorting/AiredEpisodeOrderComparerTests.cs
  • 9220682 Update tests/Jellyfin.Server.Implementations.Tests/Sorting/AiredEpisodeOrderComparerTests.cs
  • 0f9e95b Breaking up the test theory so episodes and the results are on their own lines.

📊 Changes

1 file changed (+180 additions, -0 deletions)

View changed files

tests/Jellyfin.Server.Implementations.Tests/Sorting/AiredEpisodeOrderComparerTests.cs (+180 -0)

📄 Description

Changes
Creates tests with >80% code coverage for AiredEpisodeOrderComparer.

Issues
First step in addressing https://github.com/jellyfin/jellyfin/issues/6269


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/6403 **Author:** [@ankenyr](https://github.com/ankenyr) **Created:** 8/7/2021 **Status:** ✅ Merged **Merged:** 8/16/2021 **Merged by:** [@cvium](https://github.com/cvium) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (10+) - [`14a53fe`](https://github.com/jellyfin/jellyfin/commit/14a53fe402feb62bef99eaf8100dba822c500e3f) Adding tests for AiredEpisodeOrderComparer. - [`8b4d933`](https://github.com/jellyfin/jellyfin/commit/8b4d9339cf73d0d227f76866205b917546c152e0) Changing namespace to be within Jellyfin.Server.Implementations.Tests - [`8e6436d`](https://github.com/jellyfin/jellyfin/commit/8e6436d8dda7640db6a02fd669bbbd03b7c29c03) Removing moved files. - [`5eac267`](https://github.com/jellyfin/jellyfin/commit/5eac2675696b7774e212983bf18d56f62ad1a7ba) Reverting sln file. - [`579ed5c`](https://github.com/jellyfin/jellyfin/commit/579ed5c1fc771f5598747ad3bdfdb5e025aac051) Update tests/Jellyfin.Server.Implementations.Tests/Sorting/AiredEpisodeOrderComparerTests.cs - [`67f81e8`](https://github.com/jellyfin/jellyfin/commit/67f81e8c07d57186e8ef28e9caa40dab552f1ffe) Changing test name to be more descrptive. - [`78bbfca`](https://github.com/jellyfin/jellyfin/commit/78bbfca990de552427317260dcdb02f515e2db1c) Separating out error cases from good cases. - [`10fbb4d`](https://github.com/jellyfin/jellyfin/commit/10fbb4d48d772e287cc3a03045b22e1225681935) Update tests/Jellyfin.Server.Implementations.Tests/Sorting/AiredEpisodeOrderComparerTests.cs - [`9220682`](https://github.com/jellyfin/jellyfin/commit/9220682fd11e1dc9872959eb1dcf2f1dac38066c) Update tests/Jellyfin.Server.Implementations.Tests/Sorting/AiredEpisodeOrderComparerTests.cs - [`0f9e95b`](https://github.com/jellyfin/jellyfin/commit/0f9e95b4c5ad15c6779c3241bc581313a234b357) Breaking up the test theory so episodes and the results are on their own lines. ### 📊 Changes **1 file changed** (+180 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `tests/Jellyfin.Server.Implementations.Tests/Sorting/AiredEpisodeOrderComparerTests.cs` (+180 -0) </details> ### 📄 Description **Changes** Creates tests with >80% code coverage for AiredEpisodeOrderComparer. **Issues** First step in addressing https://github.com/jellyfin/jellyfin/issues/6269 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 06:29:43 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#10951