Commit graph

203 commits

Author SHA1 Message Date
dkanada 4ef459033f
Merge pull request #3294 from jellyfin/dependabot/nuget/Microsoft.NET.Test.Sdk-16.6.1
Bump Microsoft.NET.Test.Sdk from 16.5.0 to 16.6.1
2020-06-11 21:17:03 +09:00
dependabot[bot] 98a0bfc505
Bump Moq from 4.13.1 to 4.14.1
Bumps [Moq](https://github.com/moq/moq4) from 4.13.1 to 4.14.1.
- [Release notes](https://github.com/moq/moq4/releases)
- [Changelog](https://github.com/moq/moq4/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moq/moq4/compare/v4.13.1...v4.14.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-06-11 10:30:20 +00:00
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>
2020-06-11 10:30:13 +00:00
crobibero 2476848dd3 Fix tests 2020-06-02 10:12:55 -06:00
Max Git e103d087d3 Try harder at detecting FFmpeg version and enable the validation 2020-06-01 07:10:15 +02:00
Patrick Barron 01ce56016a Merge branch 'master' into userdb-efcore
# Conflicts:
#	Emby.Server.Implementations/Library/UserManager.cs
#	Jellyfin.Data/Jellyfin.Data.csproj
#	MediaBrowser.Api/UserService.cs
#	MediaBrowser.Controller/Library/IUserManager.cs
2020-05-26 20:29:11 -04:00
Patrick Barron c464f700db Remove redundant qualifiers 2020-05-20 13:07:53 -04:00
Vasily 2d2c1d9473
Merge pull request #3099 from rigtorp/ignore-patterns
Use glob patterns to ignore files
2020-05-18 22:23:40 +03:00
Mark Monteiro 3ed76d7e08 Update to .NET Core 3.1.4 2020-05-17 13:33:38 -04:00
Erik Rigtorp f144acdc96 Use glob patterns to ignore files 2020-05-15 18:33:18 -07:00
aled 3ff6e3ff65 Add code analyzers to Jellyfin.Naming.Tests and fix resulting warnings 2020-05-14 18:59:10 +01:00
aled 2849d2b134 Fix compile warnings in Jellyfin.Naming.Tests 2020-05-13 23:59:19 +01:00
Patrick Barron c1360a1dc3 Merge branch 'master' into userdb-efcore
# Conflicts:
#	Emby.Server.Implementations/Data/SqliteUserDataRepository.cs
#	Emby.Server.Implementations/Library/UserManager.cs
#	Jellyfin.Data/Entities/User.cs
#	Jellyfin.Data/ISavingChanges.cs
#	Jellyfin.Server.Implementations/Jellyfin.Server.Implementations.csproj
#	Jellyfin.Server.Implementations/JellyfinDb.cs
#	Jellyfin.Server/Migrations/MigrationRunner.cs
#	MediaBrowser.Model/Notifications/NotificationOptions.cs
#	MediaBrowser.sln
2020-05-12 22:22:20 -04:00
Patrick Barron 9ad839c776 Initial migration code 2020-05-12 22:10:35 -04:00
Bond-009 ca2f9c7341
Merge pull request #2945 from mark-monteiro/integration-tests
Add Integration Tests For BrandingService
2020-05-04 19:01:02 +02:00
Anthony Lavado 0e11646107
Merge pull request #2950 from Bond-009/videoresolver
Fix VideoResolver and tests
2020-05-04 04:21:30 -04:00
Mark Monteiro 8322d412f0 Move ruleset up one directory so it can be shared by all test projects 2020-05-03 16:51:39 -04:00
Mark Monteiro e66b000183 Enable StyleCop and FxCop analyzers for integration tests project
Use a custom ruleset that derives from the base solution ruleset, overriding rules where necessary
2020-05-03 16:23:42 -04:00
Mark Monteiro ea82e2158c Make sure logger factories are disposed during integration tests 2020-05-03 15:31:17 -04:00
Mark Monteiro 1c06111497 Merge remote-tracking branch 'upstream/master' into integration-tests 2020-05-03 01:04:19 -04:00
Vasily aff65adca9
Merge pull request #2917 from Bond-009/tests
Improved tests
2020-04-29 12:17:39 +03:00
Vasily 5922c35d69
Merge pull request #2920 from Bond-009/tests2
Add some simple tests
2020-04-29 12:17:01 +03:00
Mark Monteiro 7e467f9faa Use the correct method to synchronously wait for tasks to complete 2020-04-25 18:36:09 -04:00
Bond_009 99fe8dbe62 Remove BaseVideoTest 2020-04-25 18:55:54 +02:00
Bond_009 da17a1201f Please roslyn 2020-04-25 15:49:53 +02:00
Bond_009 a273ed9a57 Address comments 2020-04-25 15:29:59 +02:00
Mark Monteiro 713f8b2f4b
Merge pull request #34 from crobibero/api-tests
Do not use the "Microsoft.NET.Sdk.Web" SDK in the test project
2020-04-23 20:06:03 -04:00
Mark Monteiro cd98938190 Merge remote-tracking branch 'upstream/master' into integration-tests 2020-04-23 19:32:40 -04:00
crobibero 6f20e2482f Fix build 2020-04-23 12:43:05 -06:00
Bond-009 c0b3c11b2e
Merge pull request #2846 from jellyfin/azure
Remove requirement to build web during server builds
2020-04-22 00:17:44 +02:00
Mark Monteiro c5f163293f Add <ProjectGuid> properties to all project files
This is required for SonarCloud analysis to run
2020-04-21 16:21:09 -04:00
Bond_009 851dda097e Minor improvement 2020-04-21 12:54:04 +02:00
Bond_009 735e7c3f7d Fix VideoResolver and tests 2020-04-21 12:11:55 +02:00
Bond_009 e21d6160c1 Address comments 2020-04-21 10:21:20 +02:00
Bond_009 c430a7ed8f Address comments 2020-04-21 10:18:26 +02:00
Mark Monteiro 24ed639725 Fix NuGet dependencies 2020-04-20 16:23:57 -04:00
Mark Monteiro e43e6af405 Create integration tests for the endpoints in BrandingService 2020-04-20 15:47:36 -04:00
Mark Monteiro 307754a0e0 Create a derived version of WebApplicationFactory<> that works with the Jellyfin server 2020-04-20 15:39:55 -04:00
Bond_009 958681cdff Cover more branches 2020-04-20 10:18:12 +02:00
Bond_009 7f4a229cd2 Add some simple tests 2020-04-20 10:18:12 +02:00
Bond_009 a8b59c5d21 Rename test 2020-04-20 09:53:36 +02:00
Bond_009 fc3e2baccc Address comments 2020-04-19 18:27:07 +02:00
Bond_009 d99536e99f Improved tests 2020-04-19 11:57:03 +02:00
Delgan be6cc9644f Another iteration 2020-04-13 16:11:02 +02:00
Delgan 90d289f946 Fix failing tests? 2020-04-13 15:55:18 +02:00
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