Commit graph

691 commits

Author SHA1 Message Date
Bond_009
abbcf5e4f7 Add tests for Playback/BitrateTest endpoint 2021-07-10 15:09:56 +02:00
Bond_009
e19dce3c53 Add test for RobotsRedirectionMiddleware 2021-07-06 01:07:10 +02:00
Bond_009
5bd8ba886a Add tests for QuickConnectManager 2021-07-06 00:02:54 +02:00
crobibero
39e84ba4ab Suggestions from review 2021-06-21 16:06:54 -06:00
crobibero
ac76519081 Enhance BaseItemKindTests 2021-06-20 07:15:46 -06:00
crobibero
23dd6e2d9f Merge remote-tracking branch 'upstream/master' into baseitemkind-fixes 2021-06-20 07:09:24 -06:00
Bond_009
6f8ccab788 Move non-jellyfin extensions to separate project 2021-06-19 18:04:46 +02:00
Joshua M. Boniface
c791c3a215
Merge pull request #6191 from crobibero/5.0.7
Update to dotnet 5.0.7
2021-06-18 11:29:55 -04:00
crobibero
e021a0e9ce Update to dotnet 5.0.7 2021-06-14 06:44:55 -06:00
crobibero
d32bbf181a Ignore all test controllers 2021-06-13 06:32:28 -06:00
Bond_009
5fb72951a0 Add test for ReadOnlySpan.Count extension 2021-06-12 00:56:09 +02:00
Bond-009
cfad97ff28
Merge pull request #6096 from cvium/saving_private_ram 2021-06-12 00:20:54 +02:00
Bond_009
06401ffa0d Fix duplicate keys causing an exception 2021-06-09 09:59:30 +02:00
Bond_009
2fc14375f8 Fix index out of range and add reg tests 2021-06-08 15:35:49 +02:00
Claus Vium
ed2f08d05f
Merge pull request #6156 from Bond-009/minor14
Minor fixes
2021-06-07 23:09:50 +02:00
Claus Vium
93387ba235
Merge pull request #5990 from BaronGreenback/UrlDecoding 2021-06-07 23:07:59 +02:00
BaronGreenback
133ce65e28
Update tests/Jellyfin.Server.Integration.Tests/Controllers/EncoderController.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-06-07 16:21:30 +01:00
BaronGreenback
e71c10df46
Update tests/Jellyfin.Server.Integration.Tests/Controllers/EncoderController.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-06-07 16:21:22 +01:00
Bond_009
c78457e6d3 Minor fixes 2021-06-06 18:11:51 +02:00
Bond_009
915855e422 Add property based testing 2021-06-05 13:32:22 +02:00
cvium
cfba7daa50 revert test change 2021-05-31 14:27:26 +02:00
dependabot[bot]
38ebd6147a
Bump Microsoft.NET.Test.Sdk from 16.9.4 to 16.10.0
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.9.4 to 16.10.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.9.4...v16.10.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-31 12:01:11 +00:00
cvium
0835b26889 review 2021-05-31 13:55:54 +02:00
Claus Vium
b12f509de3
Merge pull request #5696 from Maxr1998/fix-music-video-metadata-probing 2021-05-27 10:20:22 +02:00
David Ullmer
e33e3ba610 Make localizationManager local instead of field 2021-05-25 12:33:55 +02:00
Claus Vium
8a58d552a6
Update tests/Jellyfin.Api.Tests/Jellyfin.Api.Tests.csproj 2021-05-25 00:35:16 +02:00
cvium
42a2cc1747 Remove some unnecessary allocations 2021-05-24 00:30:41 +02:00
Bond-009
a937a854f2
Merge pull request #6013 from Bond-009/minor13 2021-05-21 01:29:36 +02:00
Bond-009
a7b7ff000b
Merge branch 'master' into tmdb-person-language 2021-05-20 22:46:40 +02:00
Bond-009
e8790bfa96
Merge pull request #6054 from cvium/allocationz_2_extreme_db_plsdonthurtme 2021-05-20 22:40:25 +02:00
cvium
1027792b16 Review changes 2021-05-19 08:51:46 +02:00
Joshua M. Boniface
24ddcd5955
Merge pull request #6047 from crobibero/dotnet-5.0.6
Update to Dotnet 5.0.6
2021-05-17 19:56:14 -04:00
Bond-009
c64bdbb4ff
Merge pull request #6051 from Bond-009/tests7
Add tests for Recordinghelper
2021-05-18 00:05:33 +02:00
David Ullmer
96e05e5b66 Add tests for NoralizeLanguage 2021-05-17 12:55:27 +02:00
cvium
1b49435a0e Reduce some allocations 2021-05-16 14:49:11 +02:00
Bond_009
a9f44c21eb Add tests for Recordinghelper 2021-05-16 01:24:49 +02:00
BaronGreenback
53bfe0e77d Changes as requested 2021-05-15 20:24:41 +01:00
crobibero
66b185898f Update to dotnet5.0.6 2021-05-14 17:28:36 -06:00
BaronGreenback
85ecea7722 corrected tests 2021-05-11 21:45:15 +01:00
David Ullmer
88bfd1bcf4 Add tests for LocalizationManager 2021-05-10 17:58:21 +02:00
BaronGreenback
cb74a86975 Moved test 2021-05-08 13:33:47 +01:00
BaronGreenback
bd71de131c Changed to use span 2021-05-08 12:52:25 +01:00
BaronGreenback
7185de970c Merge remote-tracking branch 'upstream/master' into UrlDecoding 2021-05-08 12:22:09 +01:00
Bond_009
56ac64e70a Minor improvements
* properly dispose CancellationTokenSource
* rewrite DynamicHlsController.GetSegmentLengths
* remove dead code
2021-05-08 00:33:24 +02:00
BaronGreenback
dca0298710 changed 2021-05-07 20:11:32 +01:00
BaronGreenback
5f70b4ead1
Update tests/Jellyfin.Api.Tests/Controllers/EncodedQueryStringTest.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-05-07 18:50:38 +01:00
BaronGreenback
043e69d252
Update tests/Jellyfin.Api.Tests/Controllers/EncodedQueryStringTest.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-05-07 18:49:57 +01:00
BaronGreenback
af1fe1af6f Moved into test controller. 2021-05-07 14:37:26 +01:00
BaronGreenback
4f5c9e9504 tests and small fix. 2021-05-07 14:02:42 +01:00
Bond_009
ead4e1e977 Add support for legacy HDhomerun DUAl 2021-05-06 23:54:42 +02:00
Bond_009
47e7c1356c PathExtensions: Fix index out of bounds in TryReplaceSubPath
Fixes #5977
2021-05-05 16:45:04 +02:00
Bond-009
b6df851363
Merge pull request #5984 from Bond-009/container
Add regression test for ContainerProfile.ContainsContainer
2021-05-05 13:51:34 +02:00
Bond_009
39931fe3ad Add regression test for ContainerProfile.ContainsContainer 2021-05-05 13:33:34 +02:00
David Ullmer
e57b80b8e2 Add support for fanart aspect in thumb tag 2021-05-05 10:11:31 +02:00
Bond-009
48e81e65e8
Merge pull request #5938 from cvium/allocationz 2021-05-05 09:35:30 +02:00
Bill Thornton
7d8fca92f9
Merge pull request #5762 from BaronGreenback/networkTestHardening
Fix network test on dns failure
2021-05-05 00:10:11 -04:00
cvium
ad3e835bcf remove redundant code 2021-05-04 19:57:03 +02:00
cvium
c0feb3694b rename to SplitEnumerator and fix test 2021-05-03 23:51:45 +02:00
Bond-009
f6d967ded6
Merge pull request #5954 from Bond-009/tests5
Add tests for SqliteItemRepository.(De)SerializeProviderIds
2021-05-02 21:18:33 +02:00
Bond_009
bdd7a37794 Don't run integration tests in parallel
* Easier to debug failing tests when the logs aren't scrambled
* Static properties could cause issues
2021-05-02 13:04:35 +02:00
Bond_009
874f92e93a Add tests for SqliteItemRepository.(De)SerializeProviderIds 2021-05-02 12:45:02 +02:00
Bond_009
8a6b9e1fb6 Add tests for SqliteItemRepository.(De)SerializeImages 2021-05-02 00:26:30 +02:00
Bond-009
360d80c873
Merge pull request #5890 from Bond-009/filesystem
Reduce string allocations/fs lookups in resolve code
2021-04-30 20:45:43 +02:00
dependabot[bot]
182117d0a7
Bump AutoFixture.AutoMoq from 4.16.0 to 4.17.0
Bumps [AutoFixture.AutoMoq](https://github.com/AutoFixture/AutoFixture) from 4.16.0 to 4.17.0.
- [Release notes](https://github.com/AutoFixture/AutoFixture/releases)
- [Commits](https://github.com/AutoFixture/AutoFixture/compare/v4.16.0...v4.17.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-30 08:47:38 +00:00
Bond-009
a4837475d3
Merge pull request #5913 from jellyfin/dependabot/nuget/AutoFixture.Xunit2-4.17.0
Bump AutoFixture.Xunit2 from 4.16.0 to 4.17.0
2021-04-30 10:32:26 +02:00
Bond-009
78e66325fd
Merge pull request #5891 from Bond-009/filesystem2 2021-04-29 21:14:14 +02:00
dependabot[bot]
c1563d9303
Bump AutoFixture.Xunit2 from 4.16.0 to 4.17.0
Bumps [AutoFixture.Xunit2](https://github.com/AutoFixture/AutoFixture) from 4.16.0 to 4.17.0.
- [Release notes](https://github.com/AutoFixture/AutoFixture/releases)
- [Commits](https://github.com/AutoFixture/AutoFixture/compare/v4.16.0...v4.17.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-27 13:35:13 +00:00
dependabot[bot]
eee3b385da
Bump AutoFixture from 4.16.0 to 4.17.0
Bumps [AutoFixture](https://github.com/AutoFixture/AutoFixture) from 4.16.0 to 4.17.0.
- [Release notes](https://github.com/AutoFixture/AutoFixture/releases)
- [Commits](https://github.com/AutoFixture/AutoFixture/compare/v4.16.0...v4.17.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-26 12:00:42 +00:00
Bond_009
81209258ab ManagedFileSystem: Rewrite GetValidFilename and more improvements 2021-04-22 03:11:21 +02:00
Bond_009
b323044139 Reduce string allocations/fs lookups in resolve code 2021-04-22 01:24:21 +02:00
BaronGreenback
20e19ae9b3 Moved Assert 2021-04-21 12:08:02 +01:00
BaronGreenback
53e1b302cc Changes as requested 2021-04-21 10:18:29 +01:00
BaronGreenback
39eb5da44f
Update tests/Jellyfin.Dlna.Tests/ProfileTester.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-04-21 10:09:21 +01:00
BaronGreenback
740e5ec167
Update tests/Jellyfin.Dlna.Tests/ProfileTester.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-04-21 10:09:14 +01:00
BaronGreenback
2559ceffab
Update tests/Jellyfin.Dlna.Tests/ProfileTester.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-04-21 10:09:05 +01:00
BaronGreenback
f8b717e7c5
Merge branch 'master' into ProfileMatch 2021-04-20 18:10:38 +01:00
BaronGreenback
a99caa0daa Changed testing 2021-04-20 18:05:38 +01:00
dependabot[bot]
dc628d1e1c
Bump AutoFixture.Xunit2 from 4.15.0 to 4.16.0
Bumps [AutoFixture.Xunit2](https://github.com/AutoFixture/AutoFixture) from 4.15.0 to 4.16.0.
- [Release notes](https://github.com/AutoFixture/AutoFixture/releases)
- [Commits](https://github.com/AutoFixture/AutoFixture/compare/v4.15.0...v4.16.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-19 13:07:31 +00:00
BaronGreenback
95b733ad4c reworked code 2021-04-19 14:07:14 +01:00
dependabot[bot]
442bc8671b
Bump AutoFixture.AutoMoq from 4.15.0 to 4.16.0
Bumps [AutoFixture.AutoMoq](https://github.com/AutoFixture/AutoFixture) from 4.15.0 to 4.16.0.
- [Release notes](https://github.com/AutoFixture/AutoFixture/releases)
- [Commits](https://github.com/AutoFixture/AutoFixture/compare/v4.15.0...v4.16.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-19 12:08:51 +00:00
Bond-009
8536418553
Merge pull request #5809 from jellyfin/dependabot/nuget/AutoFixture-4.16.0
Bump AutoFixture from 4.15.0 to 4.16.0
2021-04-19 14:07:57 +02:00
BaronGreenback
c68f616377 Flip fields 2021-04-19 12:36:30 +01:00
BaronGreenback
bc1cc2d04a Remove unused using directives 2021-04-17 11:37:55 +01:00
Bond-009
159431ad2a
Merge pull request #5612 from Bond-009/passwordhash 2021-04-14 15:41:23 +02:00
BaronGreenback
0b774eac12
Enables the ability to bind to loopback address. (#5773) 2021-04-14 11:26:05 +02:00
dependabot[bot]
27202ae8aa
Bump AutoFixture from 4.15.0 to 4.16.0
Bumps [AutoFixture](https://github.com/AutoFixture/AutoFixture) from 4.15.0 to 4.16.0.
- [Release notes](https://github.com/AutoFixture/AutoFixture/releases)
- [Commits](https://github.com/AutoFixture/AutoFixture/compare/v4.15.0...v4.16.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-13 17:11:34 +00:00
Bond-009
7c9772ac81
Merge pull request #5713 from Bond-009/websocketauth
Add tests for unauthenticated websocket access
2021-04-13 18:29:29 +02:00
Bond-009
8a73e19f5e
Merge pull request #5768 from Bond-009/dangling 2021-04-12 22:43:26 +02:00
BaronGreenback
10d358c8da
Update tests/Jellyfin.Networking.Tests/NetworkParseTests.cs
Co-authored-by: Odd Stråbø <oddstr13@openshell.no>
2021-04-12 10:28:24 +01:00
Joshua M. Boniface
19e7ebb279
Merge pull request #5416 from BaronGreenback/SubnetOverlappFix 2021-04-11 13:29:00 -04:00
Bond_009
5fc664fd4f Add test for handling dangling symlinks 2021-04-11 00:35:32 +02:00
BaronGreenback
1fe26fe352 Work through dns failure on test. 2021-04-10 19:44:09 +01:00
Bond_009
391554d391 Add tests for UserController 2021-04-09 01:04:49 +02:00
Bond-009
a19a97ca42
Merge pull request #5721 from Bond-009/authenticatedtests
Add code to test authenticated endpoints
2021-04-08 23:33:18 +02:00
Bond-009
631df8c560
Merge pull request #5520 from Bond-009/hdhomerun2 2021-04-08 00:27:58 +02:00
Bond_009
45a16c19a7 Add code to test authenticated endpoints 2021-04-07 21:35:54 +02:00
Bond_009
fbd9141ecd Add tests for unauthenticated websocket access 2021-04-06 22:46:54 +02:00
dependabot[bot]
3651ee5ed3
Bump Microsoft.AspNetCore.Mvc.Testing from 5.0.3 to 5.0.5
Bumps [Microsoft.AspNetCore.Mvc.Testing](https://github.com/dotnet/aspnetcore) from 5.0.3 to 5.0.5.
- [Release notes](https://github.com/dotnet/aspnetcore/releases)
- [Commits](https://github.com/dotnet/aspnetcore/compare/v5.0.3...v5.0.5)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-06 18:35:51 +00:00
Maxr1998
a7c8bc632f
Fix typo in test data filename 2021-04-06 15:34:29 +02:00
Maxr1998
07751768f4
Add tests for music video metadata 2021-04-06 15:34:29 +02:00