Bond_009
a9a5fcde81
Use ArgumentNullException.ThrowIfNull helper method
...
Did a simple search/replace on the whole repo (except the RSSDP project)
This reduces LOC and should improve performance (methods containing a throw statement don't get inlined)
```
if \((\w+) == null\)
\s+\{
\s+throw new ArgumentNullException\((.*)\);
\s+\}
```
```
ArgumentNullException.ThrowIfNull($1);
```
2022-10-06 20:21:23 +02:00
dependabot[bot]
266fb2f81c
Bump Microsoft.NET.Test.Sdk from 17.3.1 to 17.3.2
...
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 17.3.1 to 17.3.2.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Commits](https://github.com/microsoft/vstest/compare/v17.3.1...v17.3.2 )
---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-26 12:01:34 +00:00
dependabot[bot]
62ef93e2ce
Bump xunit from 2.4.1 to 2.4.2
...
Bumps [xunit](https://github.com/xunit/xunit ) from 2.4.1 to 2.4.2.
- [Release notes](https://github.com/xunit/xunit/releases )
- [Commits](https://github.com/xunit/xunit/compare/2.4.1...2.4.2 )
---
updated-dependencies:
- dependency-name: xunit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-09 07:44:12 -06:00
dependabot[bot]
1be9eb13ef
Bump Moq from 4.18.1 to 4.18.2
...
Bumps [Moq](https://github.com/moq/moq4 ) from 4.18.1 to 4.18.2.
- [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.18.1...v4.18.2 )
---
updated-dependencies:
- dependency-name: Moq
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-09 10:49:52 +00:00
dependabot[bot]
a0f873692e
Bump Microsoft.NET.Test.Sdk from 17.2.0 to 17.3.1
...
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 17.2.0 to 17.3.1.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Commits](https://github.com/microsoft/vstest/compare/v17.2.0...v17.3.1 )
---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-05 15:52:18 +00:00
luz paz
9ec2870b10
Fix various typos
...
Found via `codespell -q 3 -S ./Emby.Server.Implementations/Localization -L allready,doesnt,inh,receivedfrom,whoknows`
2022-08-15 06:48:34 -04:00
Cody Robibero
a7b1132c92
Merge pull request #7842 from crobibero/dependency-backport
...
(cherry picked from commit df6c5b6d42
)
Signed-off-by: crobibero <cody@robibe.ro>
2022-06-06 09:20:07 -04:00
dependabot[bot]
7ac06429d9
Bump Moq from 4.17.2 to 4.18.1 ( #7820 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-04 00:27:45 +02:00
dependabot[bot]
0f6bd264ae
Bump Microsoft.NET.Test.Sdk from 17.1.0 to 17.2.0 ( #7760 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-25 19:06:17 +02:00
dependabot[bot]
812841d01e
Bump StyleCop.Analyzers from 1.2.0-beta.406 to 1.2.0-beta.435 ( #7726 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-09 15:24:09 +02:00
dependabot[bot]
37b87bc231
Bump xunit.runner.visualstudio from 2.4.3 to 2.4.5 ( #7727 )
...
Bumps [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit ) from 2.4.3 to 2.4.5.
- [Release notes](https://github.com/xunit/visualstudio.xunit/releases )
- [Commits](https://github.com/xunit/visualstudio.xunit/commits )
---
updated-dependencies:
- dependency-name: xunit.runner.visualstudio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-09 15:23:45 +02:00
dependabot[bot]
dde984bd0e
Bump StyleCop.Analyzers from 1.2.0-beta.376 to 1.2.0-beta.406
...
Bumps [StyleCop.Analyzers](https://github.com/DotNetAnalyzers/StyleCopAnalyzers ) from 1.2.0-beta.376 to 1.2.0-beta.406.
- [Release notes](https://github.com/DotNetAnalyzers/StyleCopAnalyzers/releases )
- [Commits](https://github.com/DotNetAnalyzers/StyleCopAnalyzers/compare/1.2.0-beta.376...1.2.0-beta.406 )
---
updated-dependencies:
- dependency-name: StyleCop.Analyzers
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-21 12:22:11 +00:00
Bond_009
edeb198313
Add tests for BaseUrl normalization
2022-03-11 15:44:16 +01:00
dependabot[bot]
4c4f5dfe81
Bump Moq from 4.17.1 to 4.17.2 ( #7416 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-07 14:23:43 +01:00
dependabot[bot]
ee24b85f49
Bump Moq from 4.16.1 to 4.17.1
...
Bumps [Moq](https://github.com/moq/moq4 ) from 4.16.1 to 4.17.1.
- [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.16.1...v4.17.1 )
---
updated-dependencies:
- dependency-name: Moq
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-28 12:01:22 +00:00
dependabot[bot]
06f259001c
Bump Microsoft.NET.Test.Sdk from 17.0.0 to 17.1.0
...
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 17.0.0 to 17.1.0.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Commits](https://github.com/microsoft/vstest/compare/v17.0.0...v17.1.0 )
---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-21 12:01:10 +00:00
dependabot[bot]
7649391b9d
Bump coverlet.collector from 3.1.1 to 3.1.2
...
Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet ) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/coverlet-coverage/coverlet/releases )
- [Commits](https://github.com/coverlet-coverage/coverlet/commits )
---
updated-dependencies:
- dependency-name: coverlet.collector
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-07 12:01:11 +00:00
dependabot[bot]
6af7d5445f
Bump coverlet.collector from 3.1.0 to 3.1.1 ( #7266 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-01 22:29:41 +01:00
Bond_009
2dcb2f8a9f
Ban the usage of Task.Result
...
If the calling function can't be made async easily you can still use
.GetAwaiter().GetResult(), which is way easier to find in the future
2022-01-22 16:48:31 +01:00
dependabot[bot]
88e02c5290
Bump FsCheck.Xunit from 2.16.3 to 2.16.4
...
Bumps [FsCheck.Xunit](https://github.com/fsharp/FsCheck ) from 2.16.3 to 2.16.4.
- [Release notes](https://github.com/fsharp/FsCheck/releases )
- [Changelog](https://github.com/fscheck/FsCheck/blob/master/FsCheck%20Release%20Notes.md )
- [Commits](https://github.com/fsharp/FsCheck/compare/2.16.3...2.16.4 )
---
updated-dependencies:
- dependency-name: FsCheck.Xunit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-10 12:01:16 +00:00
Bond_009
cbfa355e31
Update StyleCop
2021-12-24 18:28:27 +01:00
cvium
f03e77a4d5
Merge branch 'master' into TVFix
2021-11-08 10:38:08 +01:00
dependabot[bot]
baafa10e87
Bump Microsoft.NET.Test.Sdk from 16.11.0 to 17.0.0
...
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 16.11.0 to 17.0.0.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Commits](https://github.com/microsoft/vstest/compare/v16.11.0...v17.0.0 )
---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-01 12:00:53 +00:00
KonH
6cbfdea4c0
Fix warning: Type cast is redundant ( #2149 )
2021-10-03 11:05:18 +07:00
Bond_009
13fbfe6091
Target net6.0
2021-09-24 20:15:46 +02:00
cvium
be9663ae89
Use GetSmartApiUrl instead (hopefully it works)
2021-09-07 10:27:55 +02:00
dependabot[bot]
c52fc714aa
Bump FsCheck.Xunit from 2.16.1 to 2.16.3
...
Bumps [FsCheck.Xunit](https://github.com/fsharp/FsCheck ) from 2.16.1 to 2.16.3.
- [Release notes](https://github.com/fsharp/FsCheck/releases )
- [Changelog](https://github.com/fscheck/FsCheck/blob/master/FsCheck%20Release%20Notes.md )
- [Commits](https://github.com/fsharp/FsCheck/compare/2.16.1...2.16.3 )
---
updated-dependencies:
- dependency-name: FsCheck.Xunit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-06 12:01:04 +00:00
cvium
ffe5ae8056
Merge branch 'master' into TVFix
2021-09-05 10:11:17 +02:00
dependabot[bot]
e40fde04d6
Bump FsCheck.Xunit from 2.16.0 to 2.16.1
...
Bumps [FsCheck.Xunit](https://github.com/fsharp/FsCheck ) from 2.16.0 to 2.16.1.
- [Release notes](https://github.com/fsharp/FsCheck/releases )
- [Changelog](https://github.com/fscheck/FsCheck/blob/master/FsCheck%20Release%20Notes.md )
- [Commits](https://github.com/fsharp/FsCheck/compare/2.16.0...2.16.1 )
---
updated-dependencies:
- dependency-name: FsCheck.Xunit
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-08-30 12:00:52 +00:00
Bond-009
d9f7b84156
Merge pull request #6438 from jellyfin/dependabot/nuget/FsCheck.Xunit-2.16.0
...
Bump FsCheck.Xunit from 2.15.3 to 2.16.0
2021-08-16 14:53:56 +02:00
dependabot[bot]
ee37784a35
Bump Microsoft.NET.Test.Sdk from 16.10.0 to 16.11.0
...
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 16.10.0 to 16.11.0.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Commits](https://github.com/microsoft/vstest/compare/v16.10.0...v16.11.0 )
---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-08-16 12:01:04 +00:00
dependabot[bot]
4077cb2648
Bump FsCheck.Xunit from 2.15.3 to 2.16.0
...
Bumps [FsCheck.Xunit](https://github.com/fsharp/FsCheck ) from 2.15.3 to 2.16.0.
- [Release notes](https://github.com/fsharp/FsCheck/releases )
- [Changelog](https://github.com/fscheck/FsCheck/blob/master/FsCheck%20Release%20Notes.md )
- [Commits](https://github.com/fsharp/FsCheck/compare/2.15.3...2.16.0 )
---
updated-dependencies:
- dependency-name: FsCheck.Xunit
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-08-16 12:00:55 +00:00
Rich Lander
c07e83fdf8
Invert code and style analysis configuration ( #6334 )
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
2021-07-30 09:49:28 +02:00
dependabot[bot]
33359d45be
Bump coverlet.collector from 3.0.3 to 3.1.0
...
Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet ) from 3.0.3 to 3.1.0.
- [Release notes](https://github.com/coverlet-coverage/coverlet/releases )
- [Commits](https://github.com/coverlet-coverage/coverlet/commits/v3.1.0 )
---
updated-dependencies:
- dependency-name: coverlet.collector
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-07-26 12:00:45 +00:00
Bond_009
915855e422
Add property based testing
2021-06-05 13:32:22 +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
Bill Thornton
7d8fca92f9
Merge pull request #5762 from BaronGreenback/networkTestHardening
...
Fix network test on dns failure
2021-05-05 00:10:11 -04:00
BaronGreenback
7936ea59eb
Changed selection method
2021-05-03 17:27:23 +01:00
BaronGreenback
2e01fb3cda
Update tests/Jellyfin.Networking.Tests/NetworkParseTests.cs
...
Co-authored-by: David Ullmer <davidullmer@outlook.de>
2021-05-01 17:16:25 +01:00
BaronGreenback
975d1537d4
Update tests/Jellyfin.Networking.Tests/NetworkParseTests.cs
...
Co-authored-by: David Ullmer <davidullmer@outlook.de>
2021-05-01 16:29:28 +01:00
BaronGreenback
b4ab75cd69
Update tests/Jellyfin.Networking.Tests/NetworkParseTests.cs
...
Co-authored-by: David Ullmer <davidullmer@outlook.de>
2021-05-01 16:29:22 +01:00
BaronGreenback
a49ded84c6
Update tests/Jellyfin.Networking.Tests/NetworkParseTests.cs
...
Co-authored-by: David Ullmer <davidullmer@outlook.de>
2021-05-01 16:29:13 +01:00
BaronGreenback
f30bbef781
Fixed test
2021-04-26 17:28:32 +01:00
BaronGreenback
2b85f43cab
removed unused usings
2021-04-26 17:17:48 +01:00
BaronGreenback
5741fa7dfa
Fix url for LiveTV
2021-04-26 17:13:45 +01:00
BaronGreenback
0b774eac12
Enables the ability to bind to loopback address. ( #5773 )
2021-04-14 11:26:05 +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
BaronGreenback
1fe26fe352
Work through dns failure on test.
2021-04-10 19:44:09 +01:00
Bond-009
9f21dd63ae
Merge pull request #5684 from jellyfin/dependabot/nuget/Microsoft.NET.Test.Sdk-16.9.4
...
Bump Microsoft.NET.Test.Sdk from 16.9.1 to 16.9.4
2021-04-03 19:25:25 +02:00