Bond_009
baadc48f43
Address comments
2021-02-22 16:27:02 +01:00
Bond_009
ec3237ba55
Fix tests
2021-02-22 13:46:40 +01:00
Bond_009
57102090d3
Add tests for DashboardController
2021-02-22 13:15:29 +01:00
dependabot[bot]
d033c30cd7
Bump coverlet.collector from 3.0.2 to 3.0.3
...
Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet ) from 3.0.2 to 3.0.3.
- [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-02-22 12:00:42 +00:00
Bond_009
ff10dd9e12
Update deps Jellyfin.Model.Tests
2021-02-22 09:58:23 +01:00
BaronGreenback
7bfc59b562
Fixed test data.
2021-02-21 13:41:37 +00:00
Bond_009
eba859e33e
Minor improvements
2021-02-21 02:49:52 +01:00
BaronGreenback
5756c6dbad
Merge branch 'master' into bindfix
2021-02-21 00:44:14 +00:00
BaronGreenback
b03bd7a299
Fix testing
2021-02-21 00:41:14 +00:00
Bond_009
141efafd3d
Enable TreatWarningsAsErrors for MediaBrowser.Model
2021-02-20 23:29:33 +01:00
Bond_009
2b131ddaac
Cover all branches
2021-02-19 17:26:34 +01:00
Bond_009
941d3f6217
Add tests for ProviderIdsExtensions
2021-02-19 17:01:52 +01:00
Bond-009
ae30eaf320
Merge pull request #5255 from cvium/fix_renameuser
2021-02-18 17:52:25 +01:00
cvium
2112d2a9a0
Restructure tests
2021-02-17 11:51:15 +01:00
cvium
442e770688
Validate the new username when renaming
2021-02-17 11:30:14 +01:00
Bond_009
54eee41207
Fix broken test
2021-02-17 10:38:44 +01:00
David
9379f535c2
Merge remote-tracking branch 'jellyfin/master' into nfo-tests
2021-02-15 12:00:51 +01:00
David
e924545ae2
Fix tests for UNIX
2021-02-15 11:39:00 +01:00
Bond-009
30372fcd68
Merge pull request #5194 from Ullmie02/nfo-watched
2021-02-14 18:25:41 +01:00
David
fc7377fb9b
Merge remote-tracking branch 'jellyfin/master' into nfo-tests
...
# Conflicts:
# tests/Jellyfin.XbmcMetadata.Tests/Parsers/EpisodeNfoProviderTests.cs
# tests/Jellyfin.XbmcMetadata.Tests/Parsers/SeriesNfoParserTests.cs
2021-02-13 22:55:33 +01:00
David
7f12b27319
Add nfo location tests
2021-02-13 22:48:29 +01:00
David
36d91a1601
Add test for music video nfo
2021-02-13 22:41:38 +01:00
David
eecdc3c110
Add more tags to nfo tests
2021-02-13 22:41:12 +01:00
Bond_009
dc9e2ad1a4
Add some more Crc32 tests
2021-02-13 11:46:38 +01:00
Bond_009
e1bc322b70
Add test for WriteGetMessage
2021-02-12 18:35:54 +01:00
Bond_009
3a9fcb6abd
Rewrite packet writing code for HdHomerun
2021-02-12 17:34:51 +01:00
Bond_009
97935d2cd2
Add tests for RequestHelpers.GetItemTypeStrings
2021-02-11 18:21:08 +01:00
David Ullmer
ab5fb1b1f2
Merge branch 'master' of github.com:jellyfin/jellyfin into nfo-watched
2021-02-11 13:48:58 +01:00
David Ullmer
ae57ed4ac7
Add nfo user data tests
2021-02-11 13:36:35 +01:00
crobibero
407c35f087
Update to dotnet 5.0.3
2021-02-09 19:02:02 -07:00
Bond_009
9e5c4439b9
Comment out broken tests
2021-02-09 15:12:43 +01:00
Bond_009
f81bcf7f35
Fix tests on windows
2021-02-09 15:12:43 +01:00
Bond_009
be965e35b6
Log subtitle errors
2021-02-09 15:12:43 +01:00
Bond_009
ed8fce2dce
Use SubtitleEdit to parse subtitles
2021-02-09 15:12:41 +01:00
David
3a4c33ca5f
Add nfo parsing for watched, playcount and lastplayed
2021-02-09 12:42:55 +01:00
David Ullmer
086254821f
Add test for generic nfo provider id parsing
2021-02-09 11:19:19 +01:00
Balázs Váradi
7ba53548a2
Fix typos in nfo tests
2021-02-09 07:21:08 +01:00
dkanada
7f1243978c
Merge pull request #5012 from jellyfin/ws
...
Improve WebSocket Message Deserialization
2021-02-09 11:10:52 +09:00
Balázs Váradi
351d61a318
Add test for multiepisode nfo parsing
2021-02-08 19:40:17 +01:00
Bond_009
13c1c2815f
Add regression test for PluginManager.SaveManifest
2021-02-08 17:10:20 +01:00
BaronGreenback
053063fd47
Fixed IP6 host parsing
2021-02-07 17:42:23 +00:00
dkanada
2e9661c415
Merge pull request #5043 from senritsu/improve-episode-number-parsing-with-digits-in-names
...
adjust episode path expression to allow digits in series names
2021-02-05 11:43:32 +09:00
dkanada
bfbbee0bc9
Merge pull request #5085 from Ullmie02/nfo-actor-type
...
Process actor type in nfo files
2021-02-04 23:27:34 +09:00
Bond_009
80e22d9670
Add test for ShuffleExtensions
2021-01-26 20:21:07 +01:00
dependabot[bot]
09471a206a
Bump coverlet.collector from 3.0.1 to 3.0.2
...
Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet ) from 3.0.1 to 3.0.2.
- [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-25 12:00:44 +00:00
Claus Vium
98a4e1b840
Merge pull request #5095 from Bond-009/sortorder
2021-01-24 19:04:12 +01:00
Bond_009
f6b293203a
Restore weird behaviour
2021-01-24 17:55:25 +01:00
Bond-009
3806cc5b3f
Merge pull request #5074 from jellyfin/cov
...
100% branch coverage for Jellyfin.Naming
2021-01-24 14:11:48 +01:00
Bond_009
d24e7f60c7
Fix GetOrderBy and add tests
2021-01-24 11:43:05 +01:00
Joshua M. Boniface
3bf7e18886
Merge pull request #5031 from crobibero/5.0.2
...
Update to dotnet 5.0.2
2021-01-23 14:41:03 -05:00
David
454d82c52c
Process actor type in nfo files
2021-01-23 18:06:26 +01:00
dependabot[bot]
1bc1d1c07b
Bump Moq from 4.15.2 to 4.16.0
...
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-23 13:43:41 +00:00
Bond-009
7c3db79535
Merge pull request #5053 from jellyfin/dependabot/nuget/coverlet.collector-3.0.1
...
Bump coverlet.collector from 3.0.0 to 3.0.1
2021-01-23 14:43:11 +01:00
Bond_009
956ca0e5aa
100% branch coverage for Jellyfin.Naming
2021-01-21 15:46:10 +01:00
David
d71dce50ca
Add music album nfo parser test
2021-01-20 20:02:35 +01:00
David
ccea02fbb2
Add season nfo parser test
2021-01-20 20:02:03 +01:00
David
dbd70bd394
Add episode nfo parser test
2021-01-20 19:47:31 +01:00
David
0279af5f6b
Move existing tests to correct namespace
2021-01-20 19:46:44 +01:00
Claus Vium
14bd4a110f
Merge pull request #4978 from BaronGreenback/MultipeProxies
2021-01-19 20:55:21 +01:00
BaronGreenback
25eaf21a8f
renamed func in test
2021-01-19 19:32:46 +00:00
BaronGreenback
82d365045a
Removed systemIp6 functionality.
2021-01-19 12:50:11 +00:00
BaronGreenback
dd089fd27a
Changed test
2021-01-19 10:50:17 +00:00
BaronGreenback
6a7623da02
Simplified Code
2021-01-19 10:36:37 +00:00
dependabot[bot]
0cb80d3815
Bump coverlet.collector from 3.0.0 to 3.0.1
...
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-18 12:01:03 +00:00
senritsu
4e21b49994
adjust episode path expression to allow digits in series names
...
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-17 20:24:23 +01:00
BaronGreenback
b9f0f4f53b
reverted
2021-01-17 13:35:30 +00:00
Joshua M. Boniface
fe9096be94
Merge pull request #4970 from BaronGreenback/networkTestCorrection
2021-01-16 13:28:34 -05:00
crobibero
a087ab389a
dotnet 5.0.2
2021-01-16 10:17:33 -07:00
BaronGreenback
bced1eab54
Assert.True
2021-01-13 21:16:04 +00:00
Bond_009
9a5ceb34d1
Improve WebSocket Deserialization
2021-01-13 01:11:25 +01:00
BaronGreenback
2979c8dd37
Fixed test on Mac
2021-01-12 13:23:10 +00:00
BaronGreenback
35a30c9d09
Impliments KnownNetworks and KnownProxies
2021-01-12 13:07:34 +00:00
dependabot[bot]
b00f3334f2
Bump coverlet.collector from 1.3.0 to 3.0.0
...
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-11 12:01:03 +00:00
Bond_009
4c3fa21e97
Add tests for artist nfo
2021-01-09 21:49:36 +01:00
Bond_009
585821954d
Add tests for series nfo
2021-01-09 20:15:16 +01:00
Bond-009
8d4312d739
Merge pull request #4989 from Bond-009/nfotests
2021-01-09 19:35:24 +01:00
Bond-009
2e33e14bb2
Merge pull request #4899 from jellyfin/nullableguid
...
Cover all branches in JsonNullableGuidConverter
2021-01-09 17:37:23 +01:00
Bond-009
2c74262f7c
Merge pull request #4945 from obradovichv/fix-string-culture-specificity
2021-01-09 16:21:19 +01:00
Bond_009
d07eef4f25
Add tests for NFO parsers
2021-01-09 15:00:59 +01:00
Bond-009
45c6d79dc9
Merge pull request #4877 from jellyfin/ass
2021-01-08 21:43:45 +01:00
Bond-009
efa2dc6829
Merge pull request #4878 from jellyfin/srt
...
Add tests for srt parser
2021-01-08 21:43:36 +01:00
BaronGreenback
8044f1f72f
Update NetworkParseTests.cs
2021-01-06 20:30:57 +00:00
crobibero
75ed532fca
Add serialize test
2021-01-06 07:07:38 -07:00
crobibero
c1d1b6e9f4
Fix serialization loop
2021-01-04 07:52:44 -07:00
obradovichv
0282a1ed09
Fix string culture specificity
...
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.
2021-01-03 20:17:27 +02:00
dependabot[bot]
6717b8c91a
Bump AutoFixture.AutoMoq from 4.14.0 to 4.15.0
...
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-31 14:13:22 +00:00
Bond_009
45331ad83a
Cover all branches in JsonNullableGuidConverter
2020-12-31 11:32:32 +01:00
dependabot[bot]
79227fcfef
Bump AutoFixture.Xunit2 from 4.14.0 to 4.15.0
...
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-31 06:43:16 +00:00
dkanada
72f1bcb742
Merge pull request #4839 from jellyfin/dependabot/nuget/AutoFixture-4.15.0
...
Bump AutoFixture from 4.14.0 to 4.15.0
2020-12-31 15:33:30 +09:00
Joshua M. Boniface
0de45d8724
Merge pull request #4884 from crobibero/json-nullable-guid-converter
...
Add JsonConverter for Nullable Guids
2020-12-30 19:56:04 -05:00
crobibero
cae38f3a7e
Add JsonConverter for Nullable Guids
2020-12-29 16:08:16 -07:00
David
8ac1ed16ca
Use Theory instead of Fact for unit tests
2020-12-29 00:15:36 +01:00
Bond_009
5ac36a8b58
Add tests for srt parser
2020-12-28 15:43:55 +01:00
Bond_009
07cc28946b
Add tests for ass parser
2020-12-28 15:33:36 +01:00
David
e0499f8769
Remove attributes
2020-12-25 19:37:38 +01:00
David
dfd5a118ca
Merge branch 'servicestack-json' of github.com:Ullmie02/jellyfin into servicestack-json
2020-12-25 19:22:30 +01:00
David
aacda01ca5
Add more tests
2020-12-25 19:21:58 +01:00
David
af62ab490c
Update tests/Jellyfin.Common.Tests/Jellyfin.Common.Tests.csproj
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
2020-12-25 15:21:57 +01:00
crobibero
e09dd5aa87
Add targeted tests
2020-12-25 14:43:10 +01:00
crobibero
6ddbe8420f
Add tests for special Omdb json
2020-12-25 14:43:10 +01:00