Commit Graph

83 Commits

Author SHA1 Message Date
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
dependabot[bot] 7c70205326
Bump Microsoft.NET.Test.Sdk from 16.9.1 to 16.9.4
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.9.1 to 16.9.4.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.9.1...v16.9.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-02 22:42:12 +00:00
Bond_009 11f7ab4dd4 Add tests for CopyToExtensions 2021-04-01 19:13:03 +02:00
Bond-009 b49d50e634
Merge pull request #5467 from Ullmie02/nfo-fixes 2021-03-30 15:35:56 +02:00
David 1669cb6618 Split valid and invalid tests 2021-03-29 10:35:29 +02:00
David 78f7fdeacc Rename methods and optimize allocations 2021-03-26 17:16:29 +01:00
Bond_009 c2cd7fa0b2 Add more PasswordHash tests 2021-03-24 18:39:33 +01:00
Bond_009 d77507ba09 Rewrite PasswordHash.Parse to work with ReadOnlySpans 2021-03-24 18:21:14 +01:00
Bond-009 1a0ce16f4d
Merge pull request #5504 from crobibero/json-string-converter 2021-03-20 00:48:41 +01:00
David 840eeff2af Apply suggestions from code review 2021-03-18 11:25:58 +01:00
David 14cbd22fbe Use Helper Methods for provider url parsing 2021-03-16 21:45:12 +01:00
Bond-009 b755c25217
Merge pull request #5220 from Bond-009/hdhomerun 2021-03-13 15:05:18 +01:00
crobibero e814d8e2cf Add JsonStringConverter 2021-03-12 06:43:57 -07:00
Bond_009 d202df6e8a Remove useless line 2021-03-09 03:22:51 +01:00
Bond_009 9ed7f429c0 FxCop -> Net Analyzers (part 1) 2021-03-09 03:04:47 +01:00
Cody Robibero df1951cfe2
Apply suggestions from code review
Co-authored-by: dkanada <dkanada@users.noreply.github.com>
2021-03-05 08:30:49 -07:00
crobibero fd0b3ca5ef Add JsonVersionConverter and tests 2021-03-05 07:48:45 -07:00
Bond-009 c2af32d035
Merge pull request #5299 from Bond-009/tests13 2021-03-01 18:51:09 +01:00
dependabot[bot] 829442c419
Bump Microsoft.NET.Test.Sdk from 16.8.3 to 16.9.1
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.8.3 to 16.9.1.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.8.3...v16.9.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-01 12:00:38 +00:00
Bond_009 aff0aea60f Improve branch coverage 2021-02-23 14:14:02 +01:00
Joshua M. Boniface c0c4aff8a6
Merge pull request #5276 from Bond-009/minor12 2021-02-22 21:00:34 -05: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 eba859e33e Minor improvements 2021-02-21 02:49:52 +01:00
Bond_009 dc9e2ad1a4 Add some more Crc32 tests 2021-02-13 11:46:38 +01:00
Bond_009 3a9fcb6abd Rewrite packet writing code for HdHomerun 2021-02-12 17:34:51 +01: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
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
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 2e33e14bb2
Merge pull request #4899 from jellyfin/nullableguid
Cover all branches in JsonNullableGuidConverter
2021-01-09 17:37:23 +01: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
Bond_009 45331ad83a Cover all branches in JsonNullableGuidConverter 2020-12-31 11:32:32 +01: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
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
Joshua M. Boniface adf3ee9eeb
Merge pull request #4718 from 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-13 16:55:47 -05:00
dependabot[bot] 3e062bc0cd
Bump Microsoft.NET.Test.Sdk from 16.8.0 to 16.8.3
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-10 12:57:44 +00:00
crobibero 681a0f3e75 Add nullable guid test 2020-12-09 19:57:25 -07:00
crobibero c955f19634 Serialize GUID without dashes 2020-12-08 19:33:26 -07:00
Claus Vium b6ecaccf92
Merge pull request #4730 from crobibero/base-item-dto-guid-nullable
Don't serialize empty GUID to null
2020-12-08 18:22:18 +01:00
crobibero 26e5aacb90 Fix JsonConverter recursion 2020-12-08 07:18:25 -07:00
crobibero 8517b28eba Make BaseItemDto Guids nullable 2020-12-07 15:23:40 -07:00