aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2021-01-24Merge pull request #5074 from jellyfin/covBond-009
100% branch coverage for Jellyfin.Naming
2021-01-24Fix GetOrderBy and add testsBond_009
2021-01-23Merge pull request #5031 from crobibero/5.0.2Joshua M. Boniface
Update to dotnet 5.0.2
2021-01-23Process actor type in nfo filesDavid
2021-01-23Bump Moq from 4.15.2 to 4.16.0dependabot[bot]
Bumps [Moq](https://github.com/moq/moq4) from 4.15.2 to 4.16.0. - [Release notes](https://github.com/moq/moq4/releases) - [Changelog](https://github.com/moq/moq4/blob/main/CHANGELOG.md) - [Commits](https://github.com/moq/moq4/compare/v4.15.2...v4.16.0) Signed-off-by: dependabot[bot] <support@github.com>
2021-01-23Merge pull request #5053 from jellyfin/dependabot/nuget/coverlet.collector-3.0.1Bond-009
Bump coverlet.collector from 3.0.0 to 3.0.1
2021-01-21100% branch coverage for Jellyfin.NamingBond_009
2021-01-20Add music album nfo parser testDavid
2021-01-20Add season nfo parser testDavid
2021-01-20Add episode nfo parser testDavid
2021-01-20Move existing tests to correct namespaceDavid
2021-01-19Merge pull request #4978 from BaronGreenback/MultipeProxiesClaus Vium
2021-01-19renamed func in testBaronGreenback
2021-01-19Removed systemIp6 functionality.BaronGreenback
2021-01-19Changed testBaronGreenback
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