Commit Graph

33324 Commits

Author SHA1 Message Date
Emma Garland
fcb24abb77 Console.WriteLine as TestContext may not always work in all VS versions 2020-04-15 15:33:37 +01:00
Emma Garland
3e7404eab0 Auto property for default settings. We needed the defaults for testing, but removed comment re appveyor because these tests failed on my local too, since these were not being set accurately as the default settings had no whitelist and therefore the logic was altered from false to true. Write to TestContext not debug. 2020-04-15 15:30:26 +01:00
Emma Garland
0c77450222 Specified hostingenvironment and databaseproviders after unit tests not picking up Umbraco.Core namespaces
Migrated into integrations project configurations, as files are being read
2020-04-14 16:55:54 +01:00
Emma Garland
b4dbe1302c Moved all UmbracoSettings tests into new unit tests configuration project
Added InternalVisibleTo for new Unit Tests project Umbraco.Configuration, so the internals can be tested
Moved TestHelpers for specific case into separate helper file, as independent helper, as this is the only method used. Changed from TestHelperBase to TestHelper.
Subsequently changed path for testing
2020-04-14 14:07:01 +01:00
Bjarke Berg
030668a8d1 Merge pull request #7896 from AndyButland/feature/netcore-model-unit-tests-2
Netcore: Further model unit test migrations into new project and builder pattern (2)
2020-04-10 18:18:38 +02:00
Andy Butland
f4ad8176c4 Removed references to moved projects introduced by merge. 2020-04-10 17:51:57 +02:00
Andy Butland
766826f462 Merge branch 'netcore/dev' into feature/netcore-model-unit-tests-2
# Conflicts:
#	src/Umbraco.Tests.Common/Builders/MemberTypeBuilder.cs
2020-04-10 17:11:41 +02:00
Andy Butland
82feb93243 Merge branch 'netcore/dev' into feature/netcore-model-unit-tests-2 2020-04-10 17:05:46 +02:00
Andy Butland
650126cfc8 Amended PropertyBuilder to return IProperty and removed some unnecessary default properties from built test class. 2020-04-10 17:01:47 +02:00
Bjarke Berg
8aaff38a6d Merge pull request #7895 from AndyButland/feature/netcore-model-unit-tests
Netcore: Further model unit test migrations into new project and builder pattern
2020-04-10 16:28:19 +02:00
Shannon
f19e18e160 Removes new namespaces: Umbraco.Core.Cookie, Umbraco.Core.Session, Umbraco.Core.Request, these are web things and should be part of one namespace 2020-04-08 15:56:19 +10:00
Shannon Deminick
b23686e87e Merge pull request #7909 from rustybox/bugfix/case-sensitive-fs-fixes
Netcore: Alter ResXFileRef to match filesystem
2020-04-08 10:21:20 +10:00
Paul Johnson
b2f1c728fb Alter resx to match filesystem 2020-04-07 16:54:54 +01:00
Andy Butland
09b18c0227 Removed some properties unnecessarily set in tests as they will be set by default by the builder. 2020-04-05 09:31:56 +02:00
Andy Butland
d9f9a166a6 Migrated property, property type and property group tests into new project and builder pattern. 2020-04-04 16:49:01 +02:00
Andy Butland
f10971efaa Migrated relation tests into new project and builder pattern. 2020-04-04 12:21:41 +02:00
Andy Butland
58a1bc0a8f Migrated stylesheet and template tests into new project and builder pattern. 2020-04-04 09:32:23 +02:00
Bjarke Berg
59997252a2 Merge pull request #7838 from umbraco/netcore/feature/AB5822-smidge-implementation
Netcore: Smidge implementation
2020-04-03 10:58:08 +02:00
Bjarke Berg
2c1d94cb11 AB#5822 - removed IIOHelper.DirSepChar and uses Path.DirectorySeparatorChar instead 2020-04-03 10:09:08 +02:00
Bjarke Berg
eba1b90976 AB#5822 - removed wrong xmldoc 2020-04-03 10:05:38 +02:00
Bjarke Berg
440ebf6f18 AB#5822 - Small changes 2020-04-03 10:04:43 +02:00
Shannon
d711796c59 Fixing tests 2020-04-03 17:05:50 +11:00
Shannon
4920268ec8 combines application builder extensions to one class 2020-04-03 15:56:34 +11:00
Shannon
604797d339 fixes DisableAttribute implementation when looking for a type 2020-04-03 15:54:25 +11:00
Shannon
c48f36f6a2 Even more IOHelper reduction, fixes some tests 2020-04-03 15:36:57 +11:00
Shannon
b3da9a904b Fix build 2020-04-03 15:24:40 +11:00
Shannon
859546f5a4 Fixes deadlock issues and concurrent index drop issues 2020-04-03 13:54:28 +11:00
Shannon
60abdd60b5 Starts fixing up integration tests 2020-04-03 13:16:01 +11:00
Shannon
4349115f0d Fixes up some errors 2020-04-03 11:47:38 +11:00
Shannon
7e2d0902af Huge IIOHelper cleanup, removes some overlap with IHostingEnvironment, much less usages of IIOHelper and instead just use what is already available on IHostingEnvironment 2020-04-03 11:03:06 +11:00
Shannon
1224c97f07 Don't pass in Root to ToAbsolute there's no need 2020-04-03 09:17:40 +11:00
Shannon
fa2e9c3715 Fixing AspNetCoreHostingEnvironment, cleaning up more IOHelper, adds notes 2020-04-03 09:13:55 +11:00
Shannon
9d320f79da New IRuntimeHash to fix type scanning in netcore in order to look at the right runtime bits to creaet a hash for 2020-04-03 01:08:52 +11:00
Shannon
f0579714e9 Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB5822-smidge-implementation
# Conflicts:
#	.gitignore
#	src/Umbraco.Core/IO/IIOHelper.cs
2020-04-02 22:32:02 +11:00
Shannon
4fddb94462 Fixes up preview paths, adds more docs and ensures we throw exceptions when not absolute paths 2020-04-02 22:11:57 +11:00
Shannon
4eb116d4ac removes CssInitialization and JsInitialization and merges/simplifies code 2020-04-02 21:29:48 +11:00
Shannon
95a36b3064 Changes namesspace, fixes cdf registrations, fixes bundle registrations, cleanup 2020-04-02 21:19:42 +11:00
Bjarke Berg
f9ce924e85 Merge pull request #7865 from umbraco/netcore/bugfix/integration-tests-running
Getting Integration tests running on Devops
2020-04-02 11:42:21 +02:00
Bjarke Berg
01957b7c64 Merge remote-tracking branch 'origin/netcore/dev' into netcore/bugfix/integration-tests-running 2020-04-02 10:01:57 +02:00
Shannon
a67bb197b7 Merge branch 'netcore/feature/AB5822-smidge-implementation' of https://github.com/umbraco/Umbraco-CMS into netcore/feature/AB5822-smidge-implementation 2020-04-02 17:41:19 +11:00
Shannon
32deaa12d2 Removes unneeded methods/properties in abstraction, removes unneeded usages of it, changes everything to pre-defined bundles, fixes cdf implementation and reduces reflection, renames namespace 2020-04-02 17:41:00 +11:00
Bjarke Berg
b1d214a13d Merge remote-tracking branch 'origin/netcore/dev' into netcore/feature/AB5822-smidge-implementation
# Conflicts:
#	src/Umbraco.Web.Common/Extensions/UmbracoCoreServiceCollectionExtensions.cs
#	src/Umbraco.Web.UI.NetCore/Startup.cs
#	src/Umbraco.Web.UI/Umbraco/PartialViewMacros/Templates/Gallery.cshtml
2020-04-01 15:52:23 +02:00
Bjarke Berg
400fa1ccd4 Initialize Current 2020-04-01 14:19:41 +02:00
Bjarke Berg
e3ac778fc9 Merge remote-tracking branch 'origin/v8/dev' into netcore/dev
# Conflicts:
#	src/Umbraco.Core/Cache/WebCachingAppCache.cs
#	src/Umbraco.Core/StringExtensions.cs
#	src/Umbraco.Infrastructure/PropertyEditors/UploadFileTypeValidator.cs
#	src/Umbraco.Tests/Configurations/UmbracoSettings/ContentElementTests.cs
#	src/Umbraco.Tests/PublishedContent/NuCacheChildrenTests.cs
#	src/Umbraco.Web.UI.Client/package-lock.json
#	src/Umbraco.Web.UI/Umbraco/js/navigation.controller.js
#	src/Umbraco.Web/Macros/MacroRenderer.cs
#	src/Umbraco.Web/Security/Providers/UsersMembershipProvider.cs
2020-04-01 12:44:53 +02:00
Bjarke Berg
407d26635c Merge pull request #7872 from umbraco/netcore/feature/builders
NetCore: Aligned User and UserGroup builders to the other builders
2020-04-01 12:09:50 +02:00
Bjarke Berg
944042ad61 Updated builders 2020-04-01 12:07:54 +02:00
Bjarke Berg
6012d6749e Fix views 2020-04-01 11:31:21 +02:00
Bjarke Berg
9e38ed045f Aligned builders 2020-04-01 08:18:56 +02:00
Bjarke Berg
b45c2f9412 Merge pull request #7855 from AndyButland/netcore/unit-test-migration-member-models
Netcore: Migrated member unit tests into new project/builder pattern
2020-04-01 06:33:09 +02:00
Shannon
5fc889a8a5 Merge tag 'release-8.6.0' into v8/dev
# Conflicts:
#	src/SolutionInfo.cs
2020-04-01 10:40:35 +11:00