Commit Graph

508 Commits

Author SHA1 Message Date
dtparr
41f6fa0ae8
Whitespace fix
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2020-04-11 13:33:16 -05:00
dtparr
e027f4645f
Whitespace fix
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2020-04-11 13:33:06 -05:00
dtparr
8e67cb541e Refactor the NamingOptions instantiations from both new and pre-existing facts/theories to be a readonly field to save instantiation costs 2020-04-10 23:00:30 +00:00
dtparr
8e42d0063d Fix tab/space issue causing github oddity 2020-04-10 21:21:22 +00:00
dtparr
ce86455747 Update to use the Theory/InlineData method to parameterize unit tests 2020-04-10 21:18:41 +00:00
dtparr
1f33c51977 Add Unit Test for the Extras directories.
Parameterize the valid extras as well as the null conditions.
2020-04-10 03:50:17 +00:00
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>
2020-04-03 10:44:33 +00:00
Bond-009
f31efce52d
Merge branch 'master' into usings 2020-04-01 22:42:43 +02:00
Bond-009
ddd5d3aaec
Merge branch 'master' into usings 2020-04-01 18:51:44 +02:00
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>
2020-03-26 17:15:35 +00:00
Mark Monteiro
aa9737afb3 Update .NET Core to 3.1.3 2020-03-25 20:09:48 +01:00
Bond_009
e9d1eabd53 Remove unused usings 2020-03-24 16:12:06 +01:00
Mark Monteiro
debab44870 Update all packages to .NET Core 3.1.2 2020-03-22 02:03:07 +01:00
Bond-009
375cf212dd
Update AlphanumComparatorTests.cs 2020-03-05 12:24:12 +01:00
Bond_009
ada3f96668 Add tests for alpha numeric sorting 2020-03-05 00:54:46 +01:00
Narfinger
107974e3f8 moves shows tests to Theory and InlineData format 2020-02-27 11:35:01 +09:00
dkanada
fd3ee279de
Merge pull request #2448 from Narfinger/tests-fix2
adds names from the episodenumber tests to path tests
2020-02-27 02:05:16 +09:00
Narfinger
496bdc65f3 adds names from the episodenumber tests to path tests 2020-02-23 19:45:29 +09:00
Narfinger
fd5f0c54a6 fixes formatting and enabling another test 2020-02-23 18:50:33 +09:00
Narfinger
b306b8b881 add todos and fixes some todo tests 2020-02-23 18:46:10 +09:00
Narfinger
4dabc50f09 fixes last tests and cleanup 2020-02-23 18:31:23 +09:00
Narfinger
c2fe628c79 removed failing tests 2020-02-23 18:19:19 +09:00
Narfinger
21f11c600a converted tests to inlinedata 2020-02-23 12:12:48 +09:00
Bond-009
7df6d4e7a0
Update EpisodeNumberTests.cs 2020-02-20 12:02:45 +01:00
Bond_009
dfd74adc15 Add test 2020-02-19 22:51:30 +01:00
Bond_009
620047ab9a Fix episode parsing 2020-02-19 22:35:40 +01:00
dkanada
8ee917143f
Merge pull request #2358 from Bond-009/tests
Enable TreatWarningsAsErrors and Nullable for test projects
2020-02-14 00:31:00 +09:00
Bond-009
22510909fb
Update Jellyfin.Naming.Tests.csproj 2020-02-06 13:00:15 +01:00
Bond-009
d5fcca3d05
Merge branch 'master' into naming 2020-02-05 23:28:00 +01:00
Bond_009
71abf1d3ce Enable TreatWarningsAsErrors and Nullable for test projects 2020-01-31 22:46:10 +01:00
Bond_009
87d2479b78 Fix warnings 2020-01-31 22:26:53 +01:00
Bond_009
2186df8ac4 Update deps 2020-01-28 22:42:07 +01:00
Bond_009
dc62e436c4 Clean up Emby.Naming 2020-01-22 22:18:56 +01:00
Vasily
f23434f4f7
Merge pull request #2299 from dkanada/testing
Fix a few more tests for music and episodes
2020-01-21 13:21:24 +03:00
dkanada
11c758b6be remove unsupported test cases 2020-01-21 00:20:24 +09:00
dkanada
e700fc8a07 fix and remove a few more tests 2020-01-19 00:18:55 +09:00
dkanada
c618f3f8eb
Merge pull request #2257 from Bond-009/cleantests
Fix a couple of tests
2020-01-19 00:08:37 +09:00
dkanada
1e65cc4695
Merge pull request #2269 from EraYaN/azp-coverlet-reports
Split CI YAML files and update code coverage collection
2020-01-18 23:53:55 +09:00
Erwin de Haan
da91b4fa4c Split CI testing files
Switch to cobertura for code coverage
Switch to dotnet test for tests
Add matrix run for different platforms
Add extra variables for easier maintenance
2020-01-15 11:05:57 +01:00
Vasily
c6484c0220
Merge pull request #2181 from BnMcG/2179-authentication-tests
Test Jellyfin.Api authentication handling
2020-01-14 18:03:25 +03:00
dkanada
b1e76db21e
Merge pull request #2266 from Bond-009/nullref2
Try to fix nullreff
2020-01-14 18:46:09 +09:00
dkanada
536237c35d move the split usage to the proper location 2020-01-13 17:37:07 +09:00
dkanada
d461f46bef ignore drive name in windows environments 2020-01-13 17:31:14 +09:00
dkanada
d00fd7ca82 switch two incorrectly used variables 2020-01-13 15:43:06 +09:00
dkanada
65e9a705d3 check operating system for absolute path test 2020-01-13 15:34:50 +09:00
dkanada
c3efcbf77e
Merge pull request #2245 from BnMcG/1874-regression-test
Add a test to prevent a regression of absolute path generation behaviour
2020-01-13 14:18:11 +09:00
Bond_009
56f580cdf6 Add test to prevent regressions 2020-01-12 23:57:13 +01:00
Bond_009
cd0592ea8f Improve parsers 2020-01-11 22:17:05 +01:00
Bond_009
b1dc595be1 Fix a couple of tests 2020-01-11 22:17:05 +01:00
Bond_009
a647dc5705 Cleanup tests 2020-01-11 22:17:05 +01:00
dkanada
bca48b5d5c
Merge pull request #2248 from jellyfin/azp-vstest-fix
Fix the VSTest runner
2020-01-11 15:34:22 +09:00
Ben Magee
64baca9fac
Renamed project and namespace 2020-01-09 22:03:57 +00:00
Bond_009
b50c4938e1 Merge branch 'master' into namingtests 2020-01-09 18:26:22 +01:00
Erwin de Haan
1ea613a9bd
Update Jellyfin.Api.Test to 3.1 2020-01-09 17:26:42 +01:00
Ben Magee
140673fcf6
Add a test case which doesn't specify the parent directory. 2020-01-08 23:03:17 +00:00
Ben Magee
43c76b48c9
Added a test to prevent a regression of the issue seen in #1874. This issue was fixed in PR#2240 2020-01-08 22:52:33 +00:00
Joshua M. Boniface
d3bce6e380
Merge pull request #2107 from Bond-009/dotnet3.1
Move to .Net Core 3.1
2020-01-01 13:30:20 -05:00
Ben Magee
d1461b4238
Changed cast style as suggested, improved some member names to make them less ambiguous 2019-12-22 23:21:20 +00:00
Ben Magee
00c6d392a1
Added tests for FirstTimeSetupOrElevatedHandler 2019-12-22 23:18:42 +00:00
Ben Magee
ef75455178
Test RequiresElevationHandler for all roles 2019-12-22 22:54:46 +00:00
Ben Magee
8d06d0dbdf
Removed unneeded dependency 2019-12-22 22:39:29 +00:00
Ben Magee
8c4e679ff4
PR style comments 2019-12-22 22:36:11 +00:00
Ben Magee
f47c7959af
Wrote tests to cover CustomAuthenticationHandler 2019-12-22 09:46:09 +00:00
Bond-009
a1ca50fd5a Merge branch 'namingtests' of https://github.com/Bond-009/jellyfin into namingtests 2019-12-18 11:53:41 +01:00
Bond-009
8723bdbb4f Fix tests 2019-12-18 11:52:32 +01:00
Bond-009
6b185119aa
Merge branch 'master' into namingtests 2019-12-17 17:35:27 +01:00
Bond_009
c8f403238e Move to .Net Core 3.1 2019-12-06 21:28:47 +01:00
Bond_009
35151553e3 Add back all old emby tests 2019-12-06 20:41:39 +01:00
Bond_009
3221e837f9 * Add support for multi segment base urls
* Make baseurl case-insensitive
2019-11-25 11:55:24 +01:00
Bond_009
a2df6e0e36 Fix naming tests 2019-11-08 19:59:48 +01:00
dkanada
61b9b4046a
Merge pull request #1929 from Narfinger/parser-fix4
[Draft][Help wanted] Fix parsing of certain names and adds a default season if no season was found
2019-11-08 02:14:01 +09:00
Bond_009
a245f5a0d4 Rewrite hex encoder/decoder 2019-11-01 17:52:29 +01:00
Narfinger
4a20260a27 add another parser case and allow parsing of seasonless
Add another parser case and we now allow parsing of seasonless series which hopefully should cover more cases of directory structure
2019-10-22 15:46:35 +09:00
Bond_009
516933aab5 Move to netcore3.0 2019-10-11 18:32:13 +02:00
Narfinger
45f906c556 added a couple more tests 2019-10-11 11:46:51 +09:00
Narfinger
8da012c8c5 add tests for Emby.Naming/TV/EpisodePathParser.cs
This should in the future help to detect working and non working name matchings
2019-10-10 13:22:42 +09:00
Joshua M. Boniface
e183a14933
Merge pull request #1814 from Bond-009/ffmpeg_fix
Fix ffmpeg version check for unknown versions
2019-09-29 16:16:58 -04:00
Bond_009
d1a6e8c99e Fix tests 2019-09-29 13:57:43 +02:00
Bond_009
3e1aab6b29 Fix ffmpeg version check for unknown versions 2019-09-29 13:43:47 +02:00
Bond_009
05a1510b31 Add more test data 2019-09-28 19:49:41 +02:00
Bond_009
1b01a6ece1 Add tests for EncoderValidator
* Add support for ffmpeg 4.2
* Parse the complete ffmpeg version instead of only the first 2 digits
* Make max and min version optional
* Remove max limitation (for now)
* Style improvements
2019-09-28 19:41:34 +02:00
Bond-009
6f17a0b7af Remove legacy auth code (#1677)
* Remove legacy auth code

* Adds tests so we don't break PasswordHash (again)
* Clean up interfaces
* Remove duplicate code

* Use auto properties

* static using

* Don't use 'this'

* Fix build
2019-09-17 12:07:15 -04:00
Joshua M. Boniface
f2fa780629 Revert "Test Projects" 2018-12-12 22:11:25 -05:00
Ben Magee
8a7f0b6695 Imported XmlTv tests 2018-12-12 23:06:18 +00:00
Ben Magee
757d3e7c7d Load data files 2018-12-12 22:37:15 +00:00
Ben Magee
6ce4672b10 Import tests from old project tests 2018-12-12 22:10:44 +00:00
Ben Magee
e7b6deb181 Project references 2018-12-12 21:54:30 +00:00
Ben Magee
3dc0985bbd Jellyfin.XbmcMetadata.Test 2018-12-12 21:48:53 +00:00
Ben Magee
b5ad16c863 Jellyfin.WebDashboard.Test 2018-12-12 21:44:36 +00:00
Ben Magee
a0dfa60d5c Jellyfin.Providers.Test 2018-12-12 21:41:44 +00:00
Ben Magee
86270b43df Jellyfin.Model.Test 2018-12-12 21:39:00 +00:00
Ben Magee
1e6272ce3a Jellyfin.LocalMetadata.Test 2018-12-12 21:35:34 +00:00
Ben Magee
95f4af1534 Jellyfin.Controller.Test 2018-12-12 21:33:40 +00:00
Ben Magee
1f47fece57 Jellyfin.Common.Test 2018-12-12 21:16:58 +00:00
Ben Magee
cd86fd767a Jellyfin.Api.Test 2018-12-12 21:15:04 +00:00
Ben Magee
a0507c2e44 IsoMounter.Test project 2018-12-12 21:09:42 +00:00
Ben Magee
84678ba7ba Jellyfin.Test project 2018-12-12 21:06:56 +00:00
Ben Magee
53c4b03e1b Jellyfin.XmlTv.Test project 2018-12-12 21:02:59 +00:00
Ben Magee
4cfe5b018e Jellyfin.Server.Implementations.Test project 2018-12-12 21:00:19 +00:00
Ben Magee
96c28eadbe Jellyfin.Photos.Test project 2018-12-12 20:58:24 +00:00
Ben Magee
4b888fa59e Jellyfin.Notifications.Test project 2018-12-12 20:56:27 +00:00
Ben Magee
be36c494f6 Jellyfin.Naming.Test project 2018-12-12 20:52:01 +00:00
Ben Magee
2934c59080 Jellyfin.Drawing.Skia.Test project 2018-12-12 20:49:25 +00:00
Ben Magee
d2104aed2c Jellyfin.Drawing.ImageMagick.Test project 2018-12-12 20:44:24 +00:00
Ben Magee
b31725d7f2 Jellyfin.Drawing.Test project 2018-12-12 20:36:05 +00:00
Ben Magee
9c74e4f10e Jellyfin.Dlna tests 2018-12-12 20:29:39 +00:00
Ben Magee
9964d2ff93 DvdLib.Test 2018-12-12 20:25:46 +00:00
Ben Magee
78fd157450 BDInfo.Test 2018-12-12 20:23:27 +00:00