Stephan
cdd064ba08
Upgrade Dependencies
2018-04-03 14:54:01 +02:00
Stephan
c0439b3c4e
DataTypes refactoring - troubleshooting
2018-02-08 16:08:52 +01:00
Stephan
b5856803e1
DataType refactoring preparation - Entity refactoring
2018-01-10 12:48:51 +01:00
Stephan
ec6ba01cbf
So long Facade
2017-10-31 12:48:24 +01:00
Stephan
14eb4fe6e0
Refactor PublishedContentTypes
2017-10-19 12:00:55 +02:00
Stephan
9ed6576908
Port 7.7 - WIP
2017-09-19 15:51:47 +02:00
Stephan
c76403077f
Normalize cr/lf/tab
2017-07-20 11:21:28 +02:00
Stephan
a7e5759526
Fix tests and cleanup
2016-12-14 18:40:16 +01:00
Stephan
2967add41a
Keep structuring tests
2016-11-07 19:12:09 +01:00
Stephan
224986d56c
Trying to cleanup and refactor tests
2016-11-07 18:32:44 +01:00
Stephan
341e817fd5
Get tests to run, troubleshoot
2016-10-17 11:00:18 +02:00
Stephan
3c698cbf8c
Refactor UmbracoContext, PublishedContentRequest...
2016-10-17 11:00:14 +02:00
Stephan
06574b8b40
U4-8447 - prepare for NuCache (work-in-progress)
2016-05-26 17:12:04 +02:00
Shannon
de776f86a4
Lots of code cleanup, lots of unused/obsolete classes & files removed.
2015-12-22 19:25:10 +01: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
6cf510a9be
More tests fixed
2013-11-04 19:47:09 +11:00
Stephan
69367e0cda
Merge remote-tracking branch 'origin/6.2.0-pubcontent' into 7.0.0-pubcontent
...
Conflicts:
src/Umbraco.Core/Models/DataTypeDefinition.cs
src/Umbraco.Core/Persistence/Repositories/Interfaces/IMemberRepository.cs
src/Umbraco.Core/Persistence/Repositories/MemberRepository.cs
src/Umbraco.Core/Properties/AssemblyInfo.cs
src/Umbraco.Core/Umbraco.Core.csproj
src/Umbraco.Tests/TestHelpers/BaseWebTest.cs
src/Umbraco.Web/Security/Providers/MembersMembershipProvider.cs
src/umbraco.providers/members/MembersMembershipProvider.cs
2013-10-11 10:24:24 +02:00
Stephan
8a8b09141f
Merge remote-tracking branch 'origin/7.0.0' into 7.0.0-pubcontent
...
Conflicts:
src/Umbraco.Tests/TestHelpers/BaseWebTest.cs
src/Umbraco.Web.UI/Umbraco/create/PartialView.ascx
src/Umbraco.Web.UI/Umbraco/create/PartialView.ascx.designer.cs
src/Umbraco.Web.UI/packages.config
src/Umbraco.Web.UI/umbraco/config/create/UI.xml
src/Umbraco.Web/Umbraco.Web.csproj
src/Umbraco.Web/UmbracoHelper.cs
src/Umbraco.Web/umbraco.presentation/umbraco/create/DLRScripting.ascx
src/Umbraco.Web/umbraco.presentation/umbraco/create/PartialViewTasks.cs
src/Umbraco.Web/umbraco.presentation/umbraco/create/xslt.ascx
2013-10-10 16:15:23 +02:00
Stephan
18ea5b3768
Merge remote-tracking branch 'origin/6.2.0' into 6.2.0-pubcontent
...
Conflicts:
src/Umbraco.Tests/TestHelpers/BaseWebTest.cs
2013-10-10 15:52:09 +02:00
Shannon
c6389852ea
Adds public ctors for ApplicationContext, ServiceContext, DatabaseContext, RepositoryFactory, makes IDatabaseFactory public, makes an interfaces for IEntityService, adds EnsureContext methods for ApplicationContext - to set the singleton.
2013-10-09 13:17:19 +11:00
Stephan
0415a31d0e
PublishedContent - the big refactoring
2013-09-16 17:17:45 +02:00
Shannon Deminick
182107286c
Fixes merge issues
2013-04-02 23:08:43 +06:00
Shannon Deminick
a7e939e71f
Merge with 6.0.4
2013-04-02 22:39:39 +06:00
Shannon Deminick
3d76614a78
Merge with 4.11.7
2013-04-02 21:31:21 +06:00
Shannon Deminick
a638488eb7
Fixes unit tests which require the ApplicationContext.Current singleton to be setup
2013-04-01 23:30:19 +06:00
Shannon Deminick
2b750843c5
Fixed up base web test, removes RequiresDbSetup in place of new database behavior - NoDatabasePerFixture.
...
Fixed issue with another test... no idea how it didn't show up failing before.
Fixes issue with string extensions and an infinite loop when the string to strip is empty/null.
2013-03-15 11:28:05 +06:00
Shannon Deminick
a2ea20de70
un-ignores PublishedMedia tests. Streamlines BaseWebTest so now we only have one place for database init logic (will
...
enhance this more today). Changed ExamineEvents to not delete indexes on trashed and changed PublishedMediaStore to ignore
nodes in the recycle bin path... and now to write unit tests for that.
2013-02-19 22:46:44 +06:00
Stephan
c3ccf3a609
Tests - cleanup settings handling for more reliable tests
2013-02-19 18:01:52 -01:00
Morten Christensen
0312caa166
Ensuring closed connections in unit tests using either the legacy or PetaPoco datalayer.
2013-01-02 10:44:28 -01:00
Shannon Deminick
a9cb337a96
Changes ApplicationContext to expect arguments of DatabaseContext and ServiceContext for it to be
...
constructed. Changes DatabaseContext to not be a singleton. Changes ServiceContext not to be a singleton.
Removed ServicesFactory. Updated unit tests to support new changes.
2012-12-14 08:06:32 +05:00
Sebastiaan Janssen
c6c5839373
Move directory creation to TestHelper and reference from a few places
2012-11-29 09:07:14 -01:00
Sebastiaan Janssen
4d008f1755
No need to delete the directories, just the data in them
2012-11-29 08:27:59 -01:00
Sebastiaan Janssen
079d6e49e9
Creating and deleting required folders automatically for tests
2012-11-29 07:52:12 -01:00
Morten Christensen
f9328af55f
Merge with 4.11.0
2012-11-17 14:41:54 -01:00
Shannon Deminick
a7a38478db
Working on #U4-1174 - issue with TypedMedia in MVC, fixes a few things and ensures Children() works
...
as expected, adds unit tests.
2012-11-15 04:18:23 +05:00
sitereactor
bfdc204d08
A bit of refactoring and moving the services back and forth
2012-11-07 13:56:52 -01:00
sitereactor
de9c373626
Adding some initial work for Membership related classes and interfaces, but only using IProfile and Profile as the rest are not part of the roadmap.
...
Adding a UserService, which should be fully implemented in a later release.
Refactoring usage of the ServiceContext, which is now loosely tied to the HttpContext as its used by the UserService.
Refactoring User/Writer on the Content class and interface.
Simplifying events and delegates in the publishing strategy.
2012-11-05 14:42:21 -01:00
sitereactor
278d3087a4
Removing Service- and DatabaseContexts from UmbracoContext as its not the proper place to have them.
...
Adding extension method to ApplicationContext to attach the two contexts here instead.
Refactoring BaseWhereClause as there were problems formatting the sql.
Adding unit tests for MacroRepository and ContentRepository.
2012-11-05 09:03:48 -01:00
sitereactor
16bb9df623
Refactoring usage of the DatabaseContext
2012-10-30 15:20:54 -01:00
sitereactor
137a54b193
Refactoring DTOs for Identity seed, which is used by Sql Ce.
...
Updating unit tests and Contexts to include the ServiceContext and DatabaseContext.
2012-10-30 15:03:58 -01:00
Sebastiaan Janssen
7a4ccc825d
Only reset the DataDirectory path after clearing the database, else it will
...
never clear as it can't find a database at path null
Updated PublishedContentTests with correct amount of expected results
2012-10-12 14:45:13 -02:00
Shannon Deminick
b6f7d99039
Fixed why all the unit tests were failing. Ported over a couple of unit tests from the legacy test project to see how
...
easy it would be and it looks pretty easy, just need the propery initialization data for the tests. Currently ported over the
Dictionary biz logic tests.... most fail but pretty sure it's due to init data.
2012-10-11 08:32:06 +05:00
Shannon Deminick
56c93891a8
Fixes the ClearDatabase call in SqlCEHelper... pretty flukey that unit tests were even working with this bug for so long.
...
Fixes the RenderRouteHandlerTests.
2012-10-02 02:33:19 +05:00
Stephan
656c61d1e2
fix xpath for finding default node because sortOrder may not start at zero
2012-10-01 06:55:44 -02:00
Stephan
8cd49749ec
fix routing, more unit tests
2012-09-30 14:02:11 -02:00
Shannon Deminick
0ed15db408
Fixed the NiceUrlProvider as it some refactor on a previous commit broke some stuff.
...
Fixed up some unit tests with NiceUrlProvider to ensure that the second node under the root get's
the correct URL assigned.
Added unit test to ensure that route caches are persisted correctly.
2012-09-13 11:45:06 +07:00
Shannon Deminick
c742c6c249
Created new GlobalSettings unit tests to validate reserved paths as well as updated the umbraco module tests with an install path without
...
the suffixed '/'. Fixed a bug with the reserved paths which was caused by code written in 4.9 to the new code written in 4.10 and the combined
effort was not working. Added more logic to cleanup the URL before comparing too.
Cleaned up GlobalSettings to not have any reliance whatsoever on httpcontext (which of course it shouldn't and not sure why it even did before).
Obsoleted a few methods on the legacy GlobalSettings that aren't used anywhere and should be removed in the future.
Cleaned up a bit of the UmbracoModule with the URLs used.
2012-09-13 09:00:21 +07:00
Shannon Deminick
529c52844d
Started writing NiceUrlProvider unit tests as there are a bunch of issues with it. Have fixed one of them.
...
Updated unit test hierarchy of classes so that if one doesn't require a db it can opt out and thus it runs much much faster.
2012-09-01 08:11:40 +07:00
Shannon Deminick
d0ab7e505d
Updated unit tests for the module to inherit from proper base classes.
...
Updated default.aspx to support more backwards compatible features that had been removed, there
was a lot of breaking changes there!
2012-08-31 07:19:54 +07:00