Bond_009
52194f56b5
Replace != null with is not null
2 years ago
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);
```
2 years ago
luz paz
9ec2870b10
Fix various typos
...
Found via `codespell -q 3 -S ./Emby.Server.Implementations/Localization -L allready,doesnt,inh,receivedfrom,whoknows`
2 years ago
cvium
f03e77a4d5
Merge branch 'master' into TVFix
3 years ago
KonH
6cbfdea4c0
Fix warning: Type cast is redundant ( #2149 )
3 years ago
cvium
be9663ae89
Use GetSmartApiUrl instead (hopefully it works)
3 years ago
cvium
ffe5ae8056
Merge branch 'master' into TVFix
3 years ago
Bond_009
915855e422
Add property based testing
3 years ago
Bill Thornton
7d8fca92f9
Merge pull request #5762 from BaronGreenback/networkTestHardening
...
Fix network test on dns failure
4 years ago
BaronGreenback
7936ea59eb
Changed selection method
4 years ago
BaronGreenback
2e01fb3cda
Update tests/Jellyfin.Networking.Tests/NetworkParseTests.cs
...
Co-authored-by: David Ullmer <davidullmer@outlook.de>
4 years ago
BaronGreenback
975d1537d4
Update tests/Jellyfin.Networking.Tests/NetworkParseTests.cs
...
Co-authored-by: David Ullmer <davidullmer@outlook.de>
4 years ago
BaronGreenback
b4ab75cd69
Update tests/Jellyfin.Networking.Tests/NetworkParseTests.cs
...
Co-authored-by: David Ullmer <davidullmer@outlook.de>
4 years ago
BaronGreenback
a49ded84c6
Update tests/Jellyfin.Networking.Tests/NetworkParseTests.cs
...
Co-authored-by: David Ullmer <davidullmer@outlook.de>
4 years ago
BaronGreenback
f30bbef781
Fixed test
4 years ago
BaronGreenback
2b85f43cab
removed unused usings
4 years ago
BaronGreenback
5741fa7dfa
Fix url for LiveTV
4 years ago
BaronGreenback
0b774eac12
Enables the ability to bind to loopback address. ( #5773 )
4 years ago
BaronGreenback
10d358c8da
Update tests/Jellyfin.Networking.Tests/NetworkParseTests.cs
...
Co-authored-by: Odd Stråbø <oddstr13@openshell.no>
4 years ago
Joshua M. Boniface
19e7ebb279
Merge pull request #5416 from BaronGreenback/SubnetOverlappFix
4 years ago
BaronGreenback
1fe26fe352
Work through dns failure on test.
4 years ago
Bond-009
ec0ef1530c
Merge pull request #5602 from Ullmie02/IP-string-IP
4 years ago
BaronGreenback
aae2aad0f2
changed split to single quotes
4 years ago
David
c2af50c51d
Add tests for IsInNetwork
4 years ago
BaronGreenback
6765f6ab17
fix compilation
4 years ago
BaronGreenback
7fa525c83b
Added more tests
4 years ago
BaronGreenback
4c7680e186
Merge remote-tracking branch 'upstream/master' into SubnetOverlappFix
4 years ago
BaronGreenback
b7fb152faf
Update tests/Jellyfin.Networking.Tests/NetworkParseTests.cs
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
4 years ago
BaronGreenback
e5914fd28c
split tests
4 years ago
BaronGreenback
3fdf0de6e3
Fix remote access
4 years ago
Bond_009
9ed7f429c0
FxCop -> Net Analyzers (part 1)
4 years ago