Lars-Erik
2bb56f1b81
Implementors using Umbraco.Tests.Integration won't have to override GetLocalizedTextService
...
(cherry picked from commit b0016687eb )
2024-04-09 12:56:15 +02:00
Bjarke Berg
bf498b411c
RebuildOnStartupHandler should not inject ExamineIndexRebuilder, but only the interface ( #15465 )
2023-12-18 06:58:12 +01:00
Nikolaj Geisle
487e85cacd
Entity Framework Core Support ( #14109 )
...
* Add UmbracoEFCore project
* Add EFCore composer
* Add Locking Mechanisms
* Add scope interfaces
* Add excecute scalar extension method
* fix up query in locking mechanism
* Add scoping
* Add scoping
* Add test DbContext classes
* add locking test of EFCore
* Creat ScopedFileSystemsTests
* Add EFCoreScopeInfrastructureScopeLockTests
* Add EFCoreScopeInfrastructureScopeTests
* Add EFCoreScopeNotificationsTest.cs
* Add EFCoreScopeTest.cs
* Remake AddUmbracoEFCoreContext to use connection string
* Remove unused code from extension method
* Reference EFCore reference to Cms.csproj
* Remove unused parameter
* Dont have default implementation, breaking change instead
* Add compatability suppression file
* Updated EFCore packages
* Use timespan for timeout
* Allow overriding default EF Core actions
* Option lifetime needs to be singleton
* Use given timeout in database call
* dont use timespan.zero, use null instead
* Use variable timeout
* Update test to use locking mechanism
* Remove unneccesary duplicate code
* Change to catch proper exception number
---------
Co-authored-by: Zeegaan <nge@umbraco.dk >
Co-authored-by: Bjarke Berg <mail@bergmania.dk >
2023-05-12 09:25:19 +02:00
Nikolaj Geisle
7aeb400fce
V10: fix build warnings in test projects ( #12509 )
...
* Run code cleanup
* Dotnet format benchmarks project
* Fix up Test.Common
* Run dotnet format + manual cleanup
* Run code cleanup for unit tests
* Run dotnet format
* Fix up errors
* Manual cleanup of Unit test project
* Update tests/Umbraco.Tests.Benchmarks/HexStringBenchmarks.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update tests/Umbraco.Tests.Integration/Testing/TestDbMeta.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update tests/Umbraco.Tests.Benchmarks/TypeFinderBenchmarks.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update tests/Umbraco.Tests.Integration/Testing/UmbracoIntegrationTest.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Update tests/Umbraco.Tests.Integration/Umbraco.Core/Events/EventAggregatorTests.cs
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
* Fix according to review
* Fix after merge
* Fix errors
Co-authored-by: Nikolaj Geisle <niko737@edu.ucl.dk >
Co-authored-by: Mole <nikolajlauridsen@protonmail.ch >
Co-authored-by: Zeegaan <nge@umbraco.dk >
2022-06-21 08:09:38 +02:00
Bjarke Berg
13f6d4791c
Move umbraco views to static assets and make that an RCL + Embedded language files ( #12324 )
...
* RCL for static assets to replace the nuspec
* Fix build
* Fix unit tests
* clean up in build.ps1
* Removed test (lang files will be removed later anyway)
* Fixed namespaces.. + Ensure we set web root path if missing (e.g. wwwroot folder do not exist) + Added StaticWebAssetBasePath
* fixed namespace
* cleanup
* Set root variable
* Added static assets
* Experimenting with StaticWebAssetBasePath
* Embedded lang files into Umbraco.Core
* Removed legacy test. New test can be implemented instead
* Fixed tests
* clean up
* Fix merge issue
2022-05-02 19:38:33 +02:00
Paul Johnson
c1fddd98be
Additional refactoring I have been meaning to get around to for a while.
2022-02-11 20:39:57 +00:00
Paul Johnson
00133e880d
Move test projects from src/ to tests/ ( #11357 )
...
* Update gitignore
* Move csproj
* Update project references
* Update solutions
* Update build scripts
* Tests used to share editorconfig with projects in src
* Fix broken tests.
* Stop copying around .editorconfig
merged root one with linting
* csharp_style_expression_bodied -> suggestion
* Move StyleCop rulesets to matching directories and update shared build properties
* Remove legacy build files, update NuGet.cofig and solution files
* Restore myget source
* Clean up .gitignore
* Update .gitignore
* Move new test classes to tests after merge
* Gitignore + nuget config
* Move new test
Co-authored-by: Ronald Barendse <ronald@barend.se >
2021-10-18 08:14:04 +01:00