Shannon
|
c76be66028
|
starts fixing up all the tests
|
2015-02-23 00:02:12 +01:00 |
|
Shannon
|
3e18c93cf5
|
More singleton reduction, created new IMappingResolver which is used by the Query<T> object instead of relying on a singleton, creates a new QueryFactory to create Query<T>, removes all standalone stuff (will create that again later). It builds, but most tests will still be failing.
|
2015-02-22 23:09:20 +01:00 |
|
Shannon
|
905e58e3b6
|
Completes: U4-6104 Remove SqlSyntaxContext - quite a large refactor and cleanup since the SqlSyntaxContext was used everywhere :( haven't run tests, etc... yet but the project builds now.
|
2015-02-22 21:36:02 +01:00 |
|
Shannon
|
bd34193cfd
|
Completes: U4-6186 Remove all support for legacy xml schema
|
2015-01-27 15:18:58 +11:00 |
|
Shannon
|
64787f8576
|
Fixes tests, decouples the UrlSegmentProviderResolver a little bit, removes lots of obsoleted ctors
|
2015-01-27 14:58:33 +11:00 |
|
Shannon
|
3e410e6a41
|
starts fixing up tests
|
2015-01-23 20:09:42 +11:00 |
|
Shannon
|
887ccaae83
|
WIP - Updates property editor resolver to use IoC, updates base prop editor class to require an ILogger which now get's ctor injected. This is a WIP because even though it builds there's a bunch of stuff not working, need to run/fix all tests (soon)
|
2015-01-23 20:00:44 +11:00 |
|
Shannon
|
c94eff9089
|
Merge remote-tracking branch 'origin/7.3.0' into dev-v8
Conflicts:
src/Umbraco.Core/Umbraco.Core.csproj
src/Umbraco.Tests/Persistence/Repositories/MediaRepositoryTest.cs
src/Umbraco.Tests/Routing/ContentFinderByAliasTests.cs
src/Umbraco.Tests/Routing/ContentFinderByAliasWithDomainsTests.cs
src/Umbraco.Tests/Routing/ContentFinderByNiceUrlWithDomainsTests.cs
src/Umbraco.Tests/Routing/DomainsAndCulturesTests.cs
src/Umbraco.Tests/Routing/UrlsWithNestedDomains.cs
src/Umbraco.Tests/Routing/uQueryGetNodeIdByUrlTests.cs
src/Umbraco.Web/Cache/CacheRefresherEventHandler.cs
src/umbraco.MacroEngines/packages.config
src/umbraco.MacroEngines/umbraco.MacroEngines.csproj
src/umbraco.cms/businesslogic/Property/Property.cs
src/umbraco.cms/businesslogic/datatype/DataTypeDefinition.cs
|
2015-01-23 12:25:07 +11:00 |
|
Shannon
|
b892f98834
|
Fixes up remaining routing tests, all tests passing (apart from arbitrary plugin mgr ones)
|
2015-01-22 15:42:29 +11:00 |
|
Shannon
|
2f86813a21
|
Migrating usages of old domain object to new IDomainService, this also involves updated quite a lot of unit tests. I've updated quite a few of the routing tests to be pure mocking tests which works much nicer than before so there's no db access, this also means they run a million times faster (need to clean them up further still though). Still more tests failing which need fixing.
|
2015-01-22 15:16:10 +11:00 |
|
Shannon
|
7545c0c1da
|
Adds the DomainRepository with tests
|
2015-01-21 17:03:56 +11:00 |
|
Shannon
|
f6a547d681
|
Merge remote-tracking branch 'origin/7.3.0' into dev-v8
|
2015-01-19 19:10:56 +11:00 |
|
Shannon
|
631c8e3944
|
fixes up some tests
|
2015-01-19 19:03:58 +11:00 |
|
Shannon
|
d4b718d615
|
Creates common base class for services, this streamlines all ctors and exposes correct services. Gets the TaskRepository working with a test, now to get it fully implemented.
|
2015-01-19 18:37:48 +11:00 |
|
Shannon
|
6ad895d7db
|
Fixes merge issues - proj now builds (not sure if it works yet though)
|
2015-01-19 13:38:51 +11:00 |
|
Shannon
|
f9159a0afc
|
Merge remote-tracking branch 'origin/7.3.0' into dev-v8
Conflicts:
build/UmbracoVersion.txt
src/Umbraco.Core/Configuration/UmbracoVersion.cs
src/Umbraco.Core/CoreBootManager.cs
src/Umbraco.Core/DataTypesResolver.cs
src/Umbraco.Core/PropertyEditors/PropertyEditorValueConvertersResolver.cs
src/Umbraco.Core/Umbraco.Core.csproj
src/Umbraco.Tests/CodeFirst/Definitions/ContentTypeDefinitionFactory.cs
src/Umbraco.Tests/CodeFirst/TypeInheritanceTest.cs
src/Umbraco.Tests/Macros/MacroTests.cs
src/Umbraco.Tests/Persistence/Repositories/ContentRepositoryTest.cs
src/Umbraco.Tests/Persistence/Repositories/MediaRepositoryTest.cs
src/Umbraco.Tests/Plugins/PluginManagerTests.cs
src/Umbraco.Tests/Plugins/TypeFinderTests.cs
src/Umbraco.Tests/Services/ThreadSafetyServiceTest.cs
src/Umbraco.Tests/TestHelpers/BaseDatabaseFactoryTest.cs
src/Umbraco.Tests/TestHelpers/BaseSeleniumTest.cs
src/Umbraco.Web.UI/Umbraco.Web.UI.csproj
src/Umbraco.Web.UI/config/ClientDependency.config
src/Umbraco.Web/umbraco.presentation/umbraco/Trees/loadStylesheetProperty.cs
src/Umbraco.Web/umbraco.presentation/umbraco/Trees/loadStylesheets.cs
src/Umbraco.Web/umbraco.presentation/umbraco/Trees/loadTemplates.cs
src/Umbraco.Web/umbraco.presentation/umbraco/settings/stylesheet/property/EditStyleSheetProperty.aspx.cs
src/umbraco.cms/businesslogic/CMSNode.cs
src/umbraco.cms/businesslogic/propertytype/propertytype.cs
src/umbraco.cms/businesslogic/web/StyleSheet.cs
src/umbraco.editorControls/tinyMCE3/TinyMCE.cs
|
2015-01-19 13:16:56 +11:00 |
|
Shannon
|
02a903f77b
|
Merge remote-tracking branch 'origin/dev-v7' into dev-v8
Conflicts:
build/UmbracoVersion.txt
src/Umbraco.Core/Configuration/UmbracoVersion.cs
src/Umbraco.Core/Umbraco.Core.csproj
src/Umbraco.Web.UI/Umbraco.Web.UI.csproj
src/Umbraco.Web.UI/packages.config
src/Umbraco.Web/Umbraco.Web.csproj
src/Umbraco.Web/UmbracoHelper.cs
src/Umbraco.Web/umbraco.presentation/CompatibilityHelper.cs
src/Umbraco.Web/umbraco.presentation/library.cs
src/Umbraco.Web/umbraco.presentation/macro.cs
src/Umbraco.Web/umbraco.presentation/umbraco/controls/ContentTypeControlNew.ascx.cs
src/umbraco.MacroEngines/RazorDynamicNode/DynamicBackingItem.cs
src/umbraco.MacroEngines/app.config
src/umbraco.MacroEngines/packages.config
src/umbraco.MacroEngines/umbraco.MacroEngines.csproj
src/umbraco.cms/businesslogic/Packager/Installer.cs
src/umbraco.editorControls/app.config
src/umbraco.editorControls/packages.config
src/umbraco.editorControls/umbraco.editorControls.csproj
src/umbraco.providers/app.config
|
2015-01-19 13:11:51 +11:00 |
|
Shannon
|
d41035cb2d
|
fixes tests and DebugDiagnosticsLogger
|
2015-01-16 16:57:32 +11:00 |
|
Shannon
|
1cb0cd296c
|
Decoupling more things, mostly to do with the PluginManager and logging which now requires an IServiceProvider so have created a simple instance of that.
|
2015-01-16 15:47:44 +11:00 |
|
Shannon
|
8f100a7e9f
|
decouples more of LogHelper and DisposableTimer
|
2015-01-16 12:29:27 +11:00 |
|
Shannon
|
cc396c8b96
|
Removes more unecessary singletons and simplifies/refactors some internal parts like the ctors for the ServiceContext, DatabaseContext. No more RepositoryResolver or SqlSyntaxProvidersResolver these are entirely uncessary and complicate things.
|
2015-01-13 18:19:52 +11:00 |
|
Shannon
|
e3acdbe85b
|
Fixes up dictionary and language repositories to have underlying simple get repositories since they support getting by id, unique id and string variations but we want to have native repository enabled caching for these items so these get methods now use private repositories based on these keys. Adds more tests, removes N+1 queries for languages and dictionary items. Removes RuntimeCacheProvider, we only want one type of cache, this simplifies things a lot.
|
2015-01-13 13:25:36 +11:00 |
|
Shannon
|
5bef3593dd
|
More dependency cleanup, less singleton usages, better testing implementations
|
2015-01-09 15:27:47 +11:00 |
|
Shannon
|
3f233ad4a4
|
test fixed
|
2015-01-09 13:38:43 +11:00 |
|
Shannon
|
9252dc222a
|
still unweaving more of this singleton mess, makes unit testing much easier
|
2015-01-09 13:35:32 +11:00 |
|
Shannon
|
fafe056db0
|
More refactoring with ILogger and reducing the dependencies on all of these singletons. Created new DatabaseSchemaHelper to be used instead of the extension methods that require singletons to be set.
|
2015-01-09 13:00:26 +11:00 |
|
Shannon
|
9f30a9b0fc
|
Removes more singletons and reliance on singletons/statics
|
2015-01-09 12:04:33 +11:00 |
|
Shannon
|
97c18980d8
|
fixes some tests
|
2015-01-09 11:07:38 +11:00 |
|
Shannon
|
defc9d3bc2
|
Updated all repo's to have their correct ctor's with their correct dependencies. Updated them all to accept ILogger updated all other dependencies with the same without breaking anything since all is internal, or obsoleted other public methods. Updates lots of the tests with mock instances instead, now more tests have less singleton dependencies, easier to test, much clearer and more IoC driven. Updated unit tests to supply the ILogger for required objects, tests should run faster now since most things are just mocked.
|
2015-01-09 10:51:15 +11:00 |
|
Morten Christensen
|
ed899ec73d
|
Adding additional test coverage for Compositions and updating PropertyTypes and PropertyGroups
|
2014-12-12 17:04:11 +01:00 |
|
Morten Christensen
|
a446cc224d
|
Refactoring the logic in the validation method for when ContentTypes are saved
|
2014-12-11 17:14:01 +01:00 |
|
Morten Christensen
|
504c1f7254
|
Updating tests related to #U4-5986
Conflicts:
src/Umbraco.Tests/TestHelpers/Entities/MockedContentTypes.cs
|
2014-12-11 10:55:21 +01:00 |
|
Sebastiaan Janssen
|
899d325ca1
|
Updates unit tests to use the newer new ContentType method and obsoletes the old one
|
2014-12-10 11:52:03 +01:00 |
|
Shannon
|
3cd949d49c
|
Completes: U4-5861 and removes the very old legacy umbraco context, server, request, etc... stuff
|
2014-11-21 17:19:06 +11:00 |
|
Shannon
|
c3523a09ec
|
WIP WIP WIP. Started working on U4-5648 which led to quite a lot of other things, once IDataType was removed (U4-5858), this lead to U4-5546, U4-5416, U4-5484, U4-5805. So much of this stuff is etched deep into the codebase, so nice to get rid of it. Had to remove the codefirst tests too for now since they relied on old apis and we don't really support it/use it. Commented out all of the code relating to the document type editor UI bits since they need to be rewritten and removed.
|
2014-11-21 16:34:47 +11:00 |
|
Shannon
|
6d33cf6c69
|
Merge branch '7.1.9' into 7.2.0
Conflicts:
src/Umbraco.Tests/PublishedContent/PublishedMediaTests.cs
|
2014-11-19 11:50:10 +11:00 |
|
Shannon
|
2850c8aa05
|
Fixes build and fixes how published media cache gets root nodes - if people have done this in the past it would have been horrible for site performance
|
2014-11-19 11:35:37 +11:00 |
|
Shannon
|
87a9a57e6d
|
Fixes media tests and updates how the IPublishedContent is created from the xpath iterator
|
2014-11-19 11:11:14 +11:00 |
|
Shannon
|
d0b409341e
|
Fixes media tests and updates how the IPublishedContent is created from the xpath iterator
|
2014-11-19 10:21:08 +11:00 |
|
Morten Christensen
|
a699f32178
|
Correcting invalid tests related to Compositions
|
2014-11-18 12:40:31 +01:00 |
|
Shannon
|
d7948a79e2
|
working on U4-5648 Remove legacy razor macro's entirely - removes old config section, bumps version to 8
|
2014-11-14 15:11:46 +11:00 |
|
Shannon
|
5aeecf7701
|
working on U4-5648 Remove legacy razor macro's entirely
|
2014-11-14 14:05:46 +11:00 |
|
Shannon
|
bfb411a280
|
Merge branch '7.1.5' into 7.1.5-perf
Conflicts:
src/Umbraco.Tests/packages.config
|
2014-08-20 19:37:44 -06:00 |
|
Stephan
|
43ae301683
|
U4-4931 - fix tests
|
2014-08-15 09:50:55 +02:00 |
|
Shannon
|
e60b621110
|
Huge perf enhancement to GetByQuery on the content repo, so much more like this is easy to fix with massive benefit. For example, the Retrieving_All_Content_In_Site used to run for 143795ms and now runs at 14249ms which is 90% savings.
|
2014-07-01 18:07:00 +10:00 |
|
Shannon
|
f25463babe
|
Merge remote-tracking branch 'origin/6.2.1' into 7.1.5
|
2014-06-17 19:05:22 +10:00 |
|
Shannon
|
b8575ef158
|
Started writing test implementation to mimic what developers might test in their controllers to expose the pitfalls of umbraco testing so we can make this simpler - identifying what needs to be public and how to re-strcuture some objects constructors, etc... to simplify and make this possible.
|
2014-06-17 18:53:23 +10:00 |
|
Shannon
|
fd14065f14
|
Merge remote-tracking branch 'origin/6.2.0' into 7.1.0
Conflicts:
src/Umbraco.Core/Models/Member.cs
src/Umbraco.Core/Models/Membership/MembershipUserExtensions.cs
src/Umbraco.Core/Persistence/Factories/MemberFactory.cs
src/Umbraco.Core/Persistence/Factories/MemberReadOnlyFactory.cs
src/Umbraco.Core/Persistence/Mappers/MemberMapper.cs
src/Umbraco.Core/Persistence/Repositories/MemberRepository.cs
src/Umbraco.Core/Services/IMembershipUserService.cs
src/Umbraco.Core/Services/UserService.cs
src/Umbraco.Tests/Persistence/Repositories/MemberRepositoryTest.cs
src/Umbraco.Tests/Persistence/Repositories/UserRepositoryTest.cs
src/Umbraco.Tests/Services/ContentServiceTests.cs
src/Umbraco.Tests/TestHelpers/Entities/MockedMember.cs
src/Umbraco.Tests/TestHelpers/Entities/MockedUser.cs
src/Umbraco.Web.UI/install/steps/DefaultUser.ascx.cs
src/Umbraco.Web/Controllers/UmbProfileController.cs
src/Umbraco.Web/Routing/PublishedContentRequestEngine.cs
src/Umbraco.Web/Security/WebSecurity.cs
src/Umbraco.Web/umbraco.presentation/LegacyClasses.cs
src/Umbraco.Web/umbraco.presentation/install/steps/LegacyClasses.cs
src/Umbraco.Web/umbraco.presentation/umbraco/channels/UmbracoMetaWeblogAPI.cs
src/Umbraco.Web/umbraco.presentation/umbraco/create/member.ascx.cs
src/Umbraco.Web/umbraco.presentation/umbraco/create/memberTasks.cs
src/Umbraco.Web/umbraco.presentation/umbraco/create/userTasks.cs
src/Umbraco.Web/umbraco.presentation/umbraco/dashboard/ChangePassword.ascx.cs
src/Umbraco.Web/umbraco.presentation/umbraco/login.aspx.cs
src/Umbraco.Web/umbraco.presentation/umbraco/members/EditMember.aspx.cs
src/Umbraco.Web/umbraco.presentation/umbraco/webservices/MediaUploader.ashx.cs
|
2014-03-18 18:47:49 +11:00 |
|
Shannon
|
e2881e07d1
|
Ensures that all calls to the members membership provider are done so explicitly with the membership provider alias - this decouples the need to have the umbraco membership provider declared as the default, we were doing both before.
|
2014-03-18 17:08:21 +11:00 |
|
Shannon
|
9e466971af
|
fixes some test logic
|
2014-03-18 14:18:34 +11:00 |
|