cvium
7d69c2550c
fix copy/paste error in test
4 years ago
cvium
b0af11c34e
make the eligibility check more strict wrt. brackets
4 years ago
cvium
3824c09e77
fix multiversion eligibility check for complex folder names
4 years ago
Bond_009
d202df6e8a
Remove useless line
4 years ago
Bond_009
9ed7f429c0
FxCop -> Net Analyzers (part 1)
4 years ago
Bond_009
5241bd41ef
Add code analysis attributes where appropriate
4 years ago
cvium
e0db17a935
do not throw ArgumentNullException in TryCleanString
4 years ago
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>
4 years ago
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>
4 years ago
Bond_009
54eee41207
Fix broken test
4 years ago
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
4 years ago
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>
4 years ago
Bond-009
3806cc5b3f
Merge pull request #5074 from jellyfin/cov
...
100% branch coverage for Jellyfin.Naming
4 years ago
Bond_009
956ca0e5aa
100% branch coverage for Jellyfin.Naming
4 years ago
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>
4 years ago
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.
4 years ago
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>
4 years ago
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>
4 years ago
crobibero
f512d5167d
Remove broken CleanDateTimes regex
4 years ago
crobibero
5b8e248d72
Merge remote-tracking branch 'upstream/master' into video-resolver
4 years ago
BaronGreenback
2bbfcc264d
Merge branch 'master' into emby-namig-nullable
4 years ago
Stepan
3bca1181b3
Taken suggestions from code review and created test for ExtraRuleType.Regex instead of throwing exception there.
4 years ago
Stepan
195a6261c4
Dummy test case explanation.
4 years ago
Stepan
158eff62d7
Xml-doc part2
4 years ago
crobibero
83629ab6f2
Update packages to net5
4 years ago
dependabot[bot]
e15891df51
Bump Microsoft.NET.Test.Sdk from 16.7.1 to 16.8.0
...
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 16.7.1 to 16.8.0.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Commits](https://github.com/microsoft/vstest/compare/v16.7.1...v16.8.0 )
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
Stepan
3d1076ae42
Rest of tests for Emby.Naming code coverage
4 years ago
Stepan
f22e0800e2
Episode parsing coverage
4 years ago
Stepan
3466dc5581
Finish coverage for Emby.Naming.Video
4 years ago
Stepan
5741150367
Enable MultiVersion video tests and added support for naming based on tests 11 & 8
4 years ago
Stepan
c96aa0551d
Added NamingOptions tests
4 years ago
Stepan
aef1fe62c2
Complete test coverage for Emby.Naming.Subtitles
4 years ago
Stepan
c060ed1a18
Added resolving of alternative files and extras for audibooks.
4 years ago
Stepan
7b6363b09a
Update test for detecting audiobooks extras and alternative files
4 years ago
Stepan
1e71775688
Add Name and Year parsing for audiobooks
4 years ago
Stepan
50a2ef9d8a
Simplify Resolve_InvalidExtension Test and created tests for Alternative Versions parsing & Year Extraction for audiobooks
4 years ago
Stepan
f39775dc3a
Written test to finish coverage for AudioBookListResolver & AudioBookResolver and corrected some logical erros / unhandled exception
4 years ago
Stepan
60b49e67ea
Re-Sharper inspection issues
4 years ago
Stepan
59619b6ea7
Enable nullable in Emby.Naming
4 years ago
BaronGreenback
d42bb515ce
Merge branch 'master' into video-resolver
4 years ago
Bond_009
74f4affcda
Fix AudioBookListResolver test coverage
4 years ago
Bond_009
228b33a23b
Minor improvements
4 years ago
Keridos
ba777039ef
remove unnecessary nullchecks
4 years ago
Keridos
8eb1eedc8d
implement suggested changes
4 years ago
Keridos
b9c7cce696
some testing for AudioBook
...
fix PartNumber detection
4 years ago
Bond-009
6d154041b9
Merge pull request #3880 from DirtyRacer1337/datetime
...
Fix year parsing
4 years ago
crobibero
b216b91e21
Bump Microsoft.NET.Test.Sdk and add missing reference
4 years ago
crobibero
6709645ec9
bump deps
4 years ago
DirtyRacer1337
6ac8955715
Add tests
4 years ago
dependabot[bot]
4fd2b7a879
Bump Microsoft.NET.Test.Sdk from 16.6.1 to 16.7.0
...
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 16.6.1 to 16.7.0.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Commits](https://github.com/microsoft/vstest/compare/v16.6.1...v16.7.0 )
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
dependabot[bot]
979137f567
Bump coverlet.collector from 1.2.1 to 1.3.0
...
Bumps [coverlet.collector](https://github.com/coverlet-coverage/coverlet ) from 1.2.1 to 1.3.0.
- [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>
4 years ago
telans
bf5b21e67b
enable code analyzers for tests
4 years ago
dependabot[bot]
a4de0bb373
Bump Microsoft.NET.Test.Sdk from 16.5.0 to 16.6.1
...
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 16.5.0 to 16.6.1.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Commits](https://github.com/microsoft/vstest/compare/v16.5.0...v16.6.1 )
Signed-off-by: dependabot[bot] <support@github.com>
5 years ago
Erik Rigtorp
82ff3fa75d
Add additional resolver tests
5 years ago
aled
3ff6e3ff65
Add code analyzers to Jellyfin.Naming.Tests and fix resulting warnings
5 years ago
aled
2849d2b134
Fix compile warnings in Jellyfin.Naming.Tests
5 years ago
Anthony Lavado
0e11646107
Merge pull request #2950 from Bond-009/videoresolver
...
Fix VideoResolver and tests
5 years ago
Vasily
aff65adca9
Merge pull request #2917 from Bond-009/tests
...
Improved tests
5 years ago
Bond_009
99fe8dbe62
Remove BaseVideoTest
5 years ago
Bond_009
da17a1201f
Please roslyn
5 years ago
Bond_009
a273ed9a57
Address comments
5 years ago
Bond-009
c0b3c11b2e
Merge pull request #2846 from jellyfin/azure
...
Remove requirement to build web during server builds
5 years ago
Mark Monteiro
c5f163293f
Add <ProjectGuid> properties to all project files
...
This is required for SonarCloud analysis to run
5 years ago
Bond_009
851dda097e
Minor improvement
5 years ago
Bond_009
735e7c3f7d
Fix VideoResolver and tests
5 years ago
Bond_009
e21d6160c1
Address comments
5 years ago
Bond_009
fc3e2baccc
Address comments
5 years ago
Bond_009
d99536e99f
Improved tests
5 years ago
Delgan
be6cc9644f
Another iteration
5 years ago
Delgan
90d289f946
Fix failing tests?
5 years ago
dtparr
41f6fa0ae8
Whitespace fix
...
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
dtparr
e027f4645f
Whitespace fix
...
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
dtparr
8e67cb541e
Refactor the NamingOptions instantiations from both new and pre-existing facts/theories to be a readonly field to save instantiation costs
5 years ago
dtparr
8e42d0063d
Fix tab/space issue causing github oddity
5 years ago
dtparr
ce86455747
Update to use the Theory/InlineData method to parameterize unit tests
5 years ago
dtparr
1f33c51977
Add Unit Test for the Extras directories.
...
Parameterize the valid extras as well as the null conditions.
5 years ago
dependabot-preview[bot]
b80c2a532e
Bump coverlet.collector from 1.2.0 to 1.2.1
...
Bumps [coverlet.collector](https://github.com/tonerdo/coverlet ) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/tonerdo/coverlet/releases )
- [Commits](https://github.com/tonerdo/coverlet/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years ago
dependabot-preview[bot]
b10f268c43
Bump Microsoft.NET.Test.Sdk from 16.4.0 to 16.5.0
...
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 16.4.0 to 16.5.0.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Commits](https://github.com/microsoft/vstest/compare/v16.4.0...v16.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
5 years ago
Narfinger
107974e3f8
moves shows tests to Theory and InlineData format
5 years ago
dkanada
fd3ee279de
Merge pull request #2448 from Narfinger/tests-fix2
...
adds names from the episodenumber tests to path tests
5 years ago
Narfinger
496bdc65f3
adds names from the episodenumber tests to path tests
5 years ago
Narfinger
fd5f0c54a6
fixes formatting and enabling another test
5 years ago
Narfinger
b306b8b881
add todos and fixes some todo tests
5 years ago
Narfinger
4dabc50f09
fixes last tests and cleanup
5 years ago
Narfinger
c2fe628c79
removed failing tests
5 years ago
Narfinger
21f11c600a
converted tests to inlinedata
5 years ago
Bond-009
7df6d4e7a0
Update EpisodeNumberTests.cs
5 years ago
Bond_009
dfd74adc15
Add test
5 years ago
Bond_009
620047ab9a
Fix episode parsing
5 years ago
dkanada
8ee917143f
Merge pull request #2358 from Bond-009/tests
...
Enable TreatWarningsAsErrors and Nullable for test projects
5 years ago
Bond-009
22510909fb
Update Jellyfin.Naming.Tests.csproj
5 years ago
Bond-009
d5fcca3d05
Merge branch 'master' into naming
5 years ago
Bond_009
71abf1d3ce
Enable TreatWarningsAsErrors and Nullable for test projects
5 years ago
Bond_009
87d2479b78
Fix warnings
5 years ago
Bond_009
2186df8ac4
Update deps
5 years ago
Bond_009
dc62e436c4
Clean up Emby.Naming
5 years ago
Vasily
f23434f4f7
Merge pull request #2299 from dkanada/testing
...
Fix a few more tests for music and episodes
5 years ago
dkanada
11c758b6be
remove unsupported test cases
5 years ago
dkanada
e700fc8a07
fix and remove a few more tests
5 years ago
Bond_009
cd0592ea8f
Improve parsers
5 years ago