mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #6025] [MERGED] Test LocalizationManager #10779
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/6025
Author: @daullmer
Created: 5/10/2021
Status: ✅ Merged
Merged: 8/11/2021
Merged by: @cvium
Base:
master← Head:localization-test📝 Commits (9)
88bfd1bAdd tests for LocalizationManagerdb2b53aRefactor LocalizationManager and remove dead methode33e3baMake localizationManager local instead of field77aee51Use correct string comparison6b61b50Revert "Refactor LocalizationManager and remove dead method"b5880c2Minor improvements45e0f78Merge remote-tracking branch 'upstream/master' into localization-testd7c9b14Apply suggestions from code review3a47ad1Apply suggestions from code review📊 Changes
2 files changed (+246 additions, -74 deletions)
View changed files
📝
Emby.Server.Implementations/Localization/LocalizationManager.cs(+67 -74)➕
tests/Jellyfin.Server.Implementations.Tests/Localization/LocalizationManagerTests.cs(+179 -0)📄 Description
Changes
Test coverage only goes one way 📈
Order LocalizationManager so public methods are before private methods
Use using declarations
Add 1 to index instead of using
TrimStart(':')Issues
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.