aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2021-01-19Simplified CodeBaronGreenback
2021-01-18Bump coverlet.collector from 3.0.0 to 3.0.1dependabot[bot]
Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet) from 3.0.0 to 3.0.1. - [Release notes](https://github.com/coverlet-coverage/coverlet/releases) - [Commits](https://github.com/coverlet-coverage/coverlet/commits) Signed-off-by: dependabot[bot] <support@github.com>
2021-01-17adjust episode path expression to allow digits in series namessenritsu
The previous expression was too greedy to consume digits, because the hyphen was optional. This lead to incorrect episode numbers for certain series with digits in their names, in those cases each episode was recognized as the same episode number (the digit from the series name). The rule, which matches most standard anime filenames, also had a lower priority than one of the Kodi rules, leading to incorrect recognition for absolute numbered episodes with triple digits and higher (first digit was used as season number, rest of digits as episode number). This also resolves one of the TODO test cases. Additional test cases were added to ensure that both hyphens in different parts of the filename, as well as names without hyphens, still work correctly. All previous test cases still pass. Unfortunately another TODO (EpisodeNumberTests.cs@L76, Uchuu Senkan Yamato 2199) with the same issue (digits in the series name) could not be trivially fixed in the same change, due to the significantly different formatting. Attempts to resolve this case did not work out for now.
2021-01-17revertedBaronGreenback
2021-01-16Merge pull request #4970 from BaronGreenback/networkTestCorrectionJoshua M. Boniface
2021-01-16dotnet 5.0.2crobibero
2021-01-13Assert.TrueBaronGreenback
2021-01-13Improve WebSocket DeserializationBond_009
2021-01-12Fixed test on MacBaronGreenback
2021-01-12Impliments KnownNetworks and KnownProxiesBaronGreenback
2021-01-11Bump coverlet.collector from 1.3.0 to 3.0.0dependabot[bot]
Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet) from 1.3.0 to 3.0.0. - [Release notes](https://github.com/coverlet-coverage/coverlet/releases) - [Commits](https://github.com/coverlet-coverage/coverlet/commits/v3.0.0) Signed-off-by: dependabot[bot] <support@github.com>
2021-01-09Add tests for artist nfoBond_009
2021-01-09Add tests for series nfoBond_009
2021-01-09Merge pull request #4989 from Bond-009/nfotestsBond-009
2021-01-09Merge pull request #4899 from jellyfin/nullableguidBond-009
Cover all branches in JsonNullableGuidConverter
2021-01-09Merge pull request #4945 from obradovichv/fix-string-culture-specificityBond-009
2021-01-09Add tests for NFO parsersBond_009
2021-01-08Merge pull request #4877 from jellyfin/assBond-009
2021-01-08Merge pull request #4878 from jellyfin/srtBond-009
Add tests for srt parser
2021-01-06Update NetworkParseTests.csBaronGreenback
2021-01-06Add serialize testcrobibero
2021-01-04Fix serialization loopcrobibero
2021-01-03Fix string culture specificityobradovichv
Fix bug in SsaParser.cs primary color {\1c} formatting that would leave behind the {\1c} closing token and instead append </font> token unconditionally to the dialogue text. Add tests. Change AlphanumComparatorTests.cs complementary test data generation from an array shuffle to an array reversal. Although it was previously using a seeded Random, the shuffle itself could result in no rearrangement of elements if the seed or test data changed over time. The reversal guarantees reordering of elements and has the added benefit of simplifying the test code since no special handling is needed for arrays of 2 elements. Change DailyTrigger.cs logging of TriggerDate format to "yyyy-MM-dd HH:mm:ss.fff zzz" for consistency with configured log timestamp format and change DueTime format to culture-invariant "c" format.
2020-12-31Bump AutoFixture.AutoMoq from 4.14.0 to 4.15.0dependabot[bot]
Bumps [AutoFixture.AutoMoq](https://github.com/AutoFixture/AutoFixture) from 4.14.0 to 4.15.0. - [Release notes](https://github.com/AutoFixture/AutoFixture/releases) - [Commits](https://github.com/AutoFixture/AutoFixture/compare/v4.14.0...v4.15.0) Signed-off-by: dependabot[bot] <support@github.com>
2020-12-31Cover all branches in JsonNullableGuidConverterBond_009
2020-12-31Bump AutoFixture.Xunit2 from 4.14.0 to 4.15.0dependabot[bot]
Bumps [AutoFixture.Xunit2](https://github.com/AutoFixture/AutoFixture) from 4.14.0 to 4.15.0. - [Release notes](https://github.com/AutoFixture/AutoFixture/releases) - [Commits](https://github.com/AutoFixture/AutoFixture/compare/v4.14.0...v4.15.0) Signed-off-by: dependabot[bot] <support@github.com>
2020-12-31Merge pull request #4839 from jellyfin/dependabot/nuget/AutoFixture-4.15.0dkanada
Bump AutoFixture from 4.14.0 to 4.15.0
2020-12-30Merge pull request #4884 from crobibero/json-nullable-guid-converterJoshua M. Boniface
Add JsonConverter for Nullable Guids
2020-12-29Add JsonConverter for Nullable Guidscrobibero
2020-12-29Use Theory instead of Fact for unit testsDavid
2020-12-28Add tests for srt parserBond_009
2020-12-28Add tests for ass parserBond_009
2020-12-25Remove attributesDavid
2020-12-25Merge branch 'servicestack-json' of github.com:Ullmie02/jellyfin into ↵David
servicestack-json
2020-12-25Add more testsDavid
2020-12-25Update tests/Jellyfin.Common.Tests/Jellyfin.Common.Tests.csprojDavid
Co-authored-by: Bond-009 <bond.009@outlook.com>
2020-12-25Add targeted testscrobibero
2020-12-25Add tests for special Omdb jsoncrobibero
2020-12-21Bump AutoFixture from 4.14.0 to 4.15.0dependabot[bot]
Bumps [AutoFixture](https://github.com/AutoFixture/AutoFixture) from 4.14.0 to 4.15.0. - [Release notes](https://github.com/AutoFixture/AutoFixture/releases) - [Commits](https://github.com/AutoFixture/AutoFixture/compare/v4.14.0...v4.15.0) Signed-off-by: dependabot[bot] <support@github.com>
2020-12-13Merge pull request #4718 from ↵Joshua M. Boniface
jellyfin/dependabot/nuget/Microsoft.NET.Test.Sdk-16.8.3 Bump Microsoft.NET.Test.Sdk from 16.8.0 to 16.8.3
2020-12-10Merge pull request #4749 from crobibero/guid-standardBond-009
2020-12-10Bump Microsoft.NET.Test.Sdk from 16.8.0 to 16.8.3dependabot[bot]
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.8.0 to 16.8.3. - [Release notes](https://github.com/microsoft/vstest/releases) - [Commits](https://github.com/microsoft/vstest/compare/v16.8.0...v16.8.3) Signed-off-by: dependabot[bot] <support@github.com>
2020-12-09Add nullable guid testcrobibero
2020-12-09Update to dotnet 5.0.1crobibero
2020-12-08Serialize GUID without dashescrobibero
2020-12-09Add tests for HdHomerunHost.TryGetTunerHostInfoBond_009
2020-12-09Add tests for HdHomerunHost.GetLineupBond_009
2020-12-08Merge pull request #4738 from jellyfin/tests8Claus Vium
Add tests for HdHomerunHost.GetModelInfo
2020-12-08Add tests for HdHomerunHost.GetModelInfoBond_009
2020-12-08Merge pull request #4730 from crobibero/base-item-dto-guid-nullableClaus Vium
Don't serialize empty GUID to null