Shannon
|
d1b35deb43
|
Migrates remaining backofficecontroller but still a bunch of work to do , streamlines Backoffice to BackOffice (but is that what we want?)
|
2020-10-21 16:51:00 +11:00 |
|
Bjarke Berg
|
15897f1736
|
Migrated ContentTypeRepositoryTest
|
2020-10-09 11:37:25 +02:00 |
|
Andy Butland
|
a331e6db30
|
Removed Mocked entity static helpers from new test projects, so they are only used for legacy tests.
Created equivalent methods as static builder methods, that use the builders to construct the model objects.
|
2020-10-07 11:28:09 +02:00 |
|
Bjarke Berg
|
8dc1c9768c
|
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/migrate-logging
# Conflicts:
# src/Umbraco.Tests.UnitTests/Umbraco.Core/Components/ComponentTests.cs
# src/Umbraco.Tests/Testing/UmbracoTestBase.cs
|
2020-09-29 08:58:24 +02:00 |
|
Bjarke Berg
|
ee4de08653
|
Migrated more tests
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
|
2020-09-28 15:43:28 +02:00 |
|
Mole
|
d750d2c2c1
|
Use generic logger more places and clean up
|
2020-09-28 14:59:17 +02:00 |
|
Mole
|
b5aedde616
|
Do some ILogger cleaning
|
2020-09-28 08:48:49 +02:00 |
|
Bjarke Berg
|
f413f279eb
|
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/migrate-logging
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
# Conflicts:
# src/Umbraco.ModelsBuilder.Embedded/LiveModelsProvider.cs
# src/Umbraco.ModelsBuilder.Embedded/PureLiveModelFactory.cs
# src/Umbraco.Tests.Integration/Implementations/TestHelper.cs
# src/Umbraco.Tests.Integration/Persistence/Repositories/TemplateRepositoryTest.cs
# src/Umbraco.Tests.Integration/RuntimeTests.cs
# src/Umbraco.Tests.UnitTests/Umbraco.Core/PropertyEditors/ColorListValidatorTest.cs
# src/Umbraco.Tests.UnitTests/Umbraco.Core/PropertyEditors/EnsureUniqueValuesValidatorTest.cs
# src/Umbraco.Tests.UnitTests/Umbraco.Core/PropertyEditors/MultiValuePropertyEditorTests.cs
# src/Umbraco.Tests.UnitTests/Umbraco.Core/Published/NestedContentTests.cs
# src/Umbraco.Tests.UnitTests/Umbraco.Core/Published/PropertyCacheLevelTests.cs
# src/Umbraco.Tests/Components/ComponentTests.cs
# src/Umbraco.Tests/IO/ShadowFileSystemTests.cs
# src/Umbraco.Tests/Models/VariationTests.cs
# src/Umbraco.Tests/Packaging/PackageDataInstallationTests.cs
# src/Umbraco.Tests/Persistence/DatabaseContextTests.cs
# src/Umbraco.Tests/Persistence/Repositories/MediaRepositoryTest.cs
# src/Umbraco.Tests/Persistence/Repositories/MediaTypeRepositoryTest.cs
# src/Umbraco.Tests/Persistence/Repositories/MemberRepositoryTest.cs
# src/Umbraco.Tests/Persistence/Repositories/MemberTypeRepositoryTest.cs
# src/Umbraco.Tests/Persistence/Repositories/PublicAccessRepositoryTest.cs
# src/Umbraco.Tests/Persistence/Repositories/TagRepositoryTest.cs
# src/Umbraco.Tests/Persistence/Repositories/UserRepositoryTest.cs
# src/Umbraco.Tests/Persistence/SqlCeTableByTableTest.cs
# src/Umbraco.Tests/Published/ConvertersTests.cs
# src/Umbraco.Tests/PublishedContent/SolidPublishedSnapshot.cs
# src/Umbraco.Tests/Routing/ContentFinderByIdTests.cs
# src/Umbraco.Tests/Routing/ContentFinderByUrlAndTemplateTests.cs
# src/Umbraco.Tests/Routing/DomainsAndCulturesTests.cs
# src/Umbraco.Tests/Routing/UmbracoModuleTests.cs
# src/Umbraco.Tests/Scoping/ScopeEventDispatcherTests.cs
# src/Umbraco.Tests/Scoping/ScopedNuCacheTests.cs
# src/Umbraco.Tests/Services/ContentServicePerformanceTest.cs
# src/Umbraco.Tests/Services/ContentTypeServiceVariantsTests.cs
|
2020-09-23 07:59:10 +02:00 |
|
Bjarke Berg
|
25c7418d66
|
Merge remote-tracking branch 'origin/netcore/netcore' into feature/8651-config-options-validation
# Conflicts:
# src/Umbraco.Tests.UnitTests/Umbraco.Core/PropertyEditors/PropertyEditorValueEditorTests.cs
# src/Umbraco.Tests.UnitTests/Umbraco.Core/ShortStringHelper/CmsHelperCasingTests.cs
# src/Umbraco.Tests.UnitTests/Umbraco.Core/ShortStringHelper/DefaultShortStringHelperTestsWithoutSetup.cs
# src/Umbraco.Tests.UnitTests/Umbraco.Web.Website/Controllers/SurfaceControllerTests.cs
# src/Umbraco.Tests/Models/MediaXmlTest.cs
# src/Umbraco.Tests/PublishedContent/NuCacheChildrenTests.cs
# src/Umbraco.Tests/PublishedContent/NuCacheTests.cs
# src/Umbraco.Tests/TestHelpers/TestWithDatabaseBase.cs
# src/Umbraco.Web.Common/Extensions/UmbracoCoreServiceCollectionExtensions.cs
# src/Umbraco.Web.UI.NetCore/appsettings.json
|
2020-09-22 20:25:28 +02:00 |
|
Bjarke Berg
|
0ea251945b
|
Netcore: migrate more unittests (#8939)
* Migrated unit tests
* Migrated CoreThings tests
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
* Migrated Property Editor unit tests
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
* Migrated CoreXml tests
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
* Moved more tests
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
* revert some IsSZArray test code
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
* Renamed bad named test
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
* removed unnecessary file mentions in csproj file
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
Co-authored-by: Elitsa Marinovska <elm@umbraco.dk>
|
2020-09-22 15:59:37 +02:00 |
|
Mole
|
c0616d516a
|
Merge remote-tracking branch 'origin/netcore/netcore' into netcore/feature/migrate-logging
# Conflicts:
# src/Umbraco.Infrastructure/Scheduling/ScheduledPublishing.cs
# src/Umbraco.Infrastructure/Scheduling/SchedulerComponent.cs
# src/Umbraco.Tests.Integration/Umbraco.Web.BackOffice/Filters/ContentModelValidatorTests.cs
# src/Umbraco.Web.BackOffice/Controllers/BackOfficeController.cs
# src/Umbraco.Web.BackOffice/Controllers/CurrentUserController.cs
# src/Umbraco.Web.BackOffice/Controllers/MacrosController.cs
# src/Umbraco.Web.BackOffice/Controllers/PackageInstallController.cs
# src/Umbraco.Web.BackOffice/Controllers/RedirectUrlManagementController.cs
# src/Umbraco.Web.BackOffice/Controllers/UsersController.cs
# src/Umbraco.Web.BackOffice/Filters/ContentModelValidator.cs
# src/Umbraco.Web.BackOffice/Filters/ContentSaveModelValidator.cs
# src/Umbraco.Web.BackOffice/Filters/ContentSaveValidationAttribute.cs
# src/Umbraco.Web.BackOffice/Filters/MediaItemSaveValidationAttribute.cs
# src/Umbraco.Web.BackOffice/Filters/MediaSaveModelValidator.cs
# src/Umbraco.Web.BackOffice/Filters/MemberSaveModelValidator.cs
# src/Umbraco.Web.BackOffice/Filters/MemberSaveValidationAttribute.cs
# src/Umbraco.Web.BackOffice/Trees/ContentTreeController.cs
# src/Umbraco.Web.BackOffice/Trees/ContentTreeControllerBase.cs
# src/Umbraco.Web.BackOffice/Trees/MediaTreeController.cs
# src/Umbraco.Web.Common/Install/InstallController.cs
|
2020-09-22 13:44:22 +02:00 |
|
Mole
|
beb0d038a7
|
Move InernalsVisibleTo into AssemblyInfo instead of TestControllerFactory
|
2020-09-22 10:35:58 +02:00 |
|
Bjarke Berg
|
96facc4d35
|
Netcore: Introduce BackofficeSecurityAccessor (#8871)
* Introduced IWebSecurityAccessor
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
* Fixed tests
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
* Renamed WebSecurity to BackofficeSecurity and all related names
* Fixes typos
Co-authored-by: Elitsa Marinovska <elm@umbraco.dk>
|
2020-09-22 10:01:00 +02:00 |
|
Mole
|
6cce7ef3f2
|
Make internals visible to Moq, otherwise we cannot mock ILogger<InternalClass>
For some reason adding the assembly attribute doesn't work for the test project, I need to look into this.
|
2020-09-22 09:27:32 +02:00 |
|
Andy Butland
|
1bd22d72c2
|
Removed configuration model builders.
|
2020-09-21 21:06:24 +02:00 |
|
Mole
|
5c9a681566
|
Use typed logger for XmlPublishedSnapshotService
|
2020-09-21 15:11:40 +02:00 |
|
Mole
|
d512a43ba6
|
Make majority of unit tests pass
|
2020-09-21 14:35:28 +02:00 |
|
Mole
|
d3ae921293
|
Remove most of the last references and rename LoggerFactory_ to LoggerFactory in UmbracoTestBase
|
2020-09-21 13:04:57 +02:00 |
|
Mole
|
894abdd183
|
Remove a bunch of references to the old logger
|
2020-09-21 09:41:18 +02:00 |
|
Mole
|
7ad8cd2bf8
|
Use loggerfactory in both constuctors in UmbracoDatabaseFactory
|
2020-09-21 08:03:27 +02:00 |
|
Mole
|
578e8c4f9e
|
Use MS ILogger for DataEditor
|
2020-09-18 14:37:19 +02:00 |
|
Mole
|
d61b9f54fa
|
Merge options
|
2020-09-18 12:53:06 +02:00 |
|
Nikolaj
|
c89659c597
|
Use MS ILogger in database stuff
|
2020-09-17 12:52:25 +02:00 |
|
Nikolaj
|
4b254a02a8
|
Use MS Ilogger for FileSystem
|
2020-09-17 11:35:29 +02:00 |
|
Nikolaj
|
ccf63bac5b
|
Use ILoggerFactory in GetScopeProvider in TestObjects
|
2020-09-17 10:57:03 +02:00 |
|
Nikolaj
|
87774b789c
|
Add LoggerFactory to TestHelper and fix a bunch of tests
|
2020-09-16 15:17:42 +02:00 |
|
Nikolaj
|
120e163682
|
Begin trying to replace logger in Current
|
2020-09-16 13:46:45 +02:00 |
|
Nikolaj
|
dda6fb12a3
|
Remove LogError<T> from LoggerExtensions
|
2020-09-16 09:40:49 +02:00 |
|
Nikolaj
|
80ee2356d5
|
Fix a bunch of tests and try to add ILoggerFactory to Current
|
2020-09-16 08:57:06 +02:00 |
|
Nikolaj
|
633d42039e
|
Fix a whole bunch of other errors
|
2020-09-15 15:14:44 +02:00 |
|
Nikolaj
|
0238d6eb02
|
Start using LoggerFactory
|
2020-09-15 12:40:35 +02:00 |
|
Bjarke Berg
|
b4353585c3
|
Simplifyed the ConnectionStrings config
|
2020-09-15 09:11:36 +02:00 |
|
Bjarke Berg
|
e74570c0ac
|
More clean up of old configs
|
2020-09-14 14:12:38 +02:00 |
|
Bjarke Berg
|
acb46119be
|
More clean up of old configs
|
2020-09-14 12:57:47 +02:00 |
|
Bjarke Berg
|
1b4b17cbae
|
More clean up of old configs
|
2020-09-14 11:56:22 +02:00 |
|
Nikolaj
|
d7e3bce741
|
Rename Error to align it with MS ILogger
|
2020-09-14 09:10:53 +02:00 |
|
Bjarke Berg
|
a4e5029912
|
Refactored to remove Configs
|
2020-09-10 13:51:59 +02:00 |
|
Bjarke Berg
|
7f89299150
|
Fixed tests
|
2020-09-10 09:04:17 +02:00 |
|
Bjarke Berg
|
e079bd5a50
|
Cleanup usages of Configs
|
2020-09-08 13:03:43 +02:00 |
|
Bjarke Berg
|
c8669b18c2
|
Merge remote-tracking branch 'origin/netcore/netcore' into feature/8651-config-options-patten
Signed-off-by: Bjarke Berg <mail@bergmania.dk>
|
2020-09-04 14:30:48 +02:00 |
|
Shannon
|
1c83c68862
|
Fixes integration tests localization text
|
2020-09-04 01:30:47 +10:00 |
|
Shannon
|
f84a93ae20
|
Adds IUmbracoBuilder to build the config so it's easier to split apart, ensures background tasks don't run in integration tests, uses a custom CoreRuntime to ensure we use SimpleMainDom, re-wires the UmbracoWebApplicationFactory so that duplicate Hosts are not running at the same time, fixes issues with overriding/shadowing, uses RAMDirectory in lucene for tests, fixes CoreRuntime's events that we're moved incorrectly and not backwards compat, adds new real non static events which we can use in integration tests to install the DB before the runtime state is calculated
|
2020-09-02 18:10:29 +10:00 |
|
Andy Butland
|
8638419088
|
Fixed dependency resolution issue in PackagingService.
|
2020-09-02 08:41:41 +02:00 |
|
Andy Butland
|
f1bda37a64
|
Updates following PR review.
|
2020-09-01 18:10:12 +02:00 |
|
Andy Butland
|
1d124ea0ac
|
Merge branch 'netcore/netcore' into feature/8651-config-options-patten
# Conflicts:
# src/Umbraco.Tests.Integration/Persistence/Repositories/DictionaryRepositoryTest.cs
# src/Umbraco.Tests.Integration/Persistence/Repositories/LanguageRepositoryTest.cs
# src/Umbraco.Tests.Integration/Persistence/Repositories/TemplateRepositoryTest.cs
# src/Umbraco.Tests/Persistence/Repositories/UserRepositoryTest.cs
# src/Umbraco.Tests/Services/ContentServiceTests.cs
# src/Umbraco.Tests/Services/UserServiceTests.cs
|
2020-08-27 18:58:12 +02:00 |
|
Bjarke Berg
|
cbe06e11b2
|
Merge pull request #8645 from umbraco/netcore/feature/AB7481-umbraco-tests-migration
NetCore: Migrating some Repository tests
|
2020-08-27 10:45:59 +02:00 |
|
Andy Butland
|
2a59a8385c
|
Merge branch 'netcore/netcore' into feature/8651-config-options-patten
# Conflicts:
# src/Umbraco.Tests.Common/Builders/GlobalSettingsBuilder.cs
# src/Umbraco.Tests/TEMP/DatabaseContextTests.sdf
# src/Umbraco.Web.BackOffice/Controllers/ImagesController.cs
|
2020-08-27 09:03:01 +02:00 |
|
Andy Butland
|
c0134b0b74
|
Added files missing from previous commit.
|
2020-08-26 12:30:20 +02:00 |
|
Bjarke Berg
|
3d55dcd3c4
|
Merge remote-tracking branch 'netcore/dev' into netcore/netcore
|
2020-08-26 08:05:15 +02:00 |
|
Andy Butland
|
8fd59d546e
|
Fixed failing tests.
|
2020-08-26 07:55:23 +02:00 |
|