Shannon
|
5bef3593dd
|
More dependency cleanup, less singleton usages, better testing implementations
|
2015-01-09 15:27:47 +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 |
|
Shannon
|
c31ea7409f
|
Merge branch 'fix-u4-3839' of https://github.com/lars-erik/Umbraco-CMS into lars-erik-fix-u4-3839
|
2014-03-25 12:47:26 +11:00 |
|
Shannon
|
d19d1b3a18
|
Changes database behavior in integration tests to be opt-in, removes the db behavior to have a new schema per fixture, now we only deal in new files + schema per fixture/tests as it was taking longer to uninstall the db tables than just delete the file.
|
2014-03-17 19:38:29 +11:00 |
|
Lars-Erik Aabech
|
11a4a0436d
|
Proves LanguageRepository lines 37-38 to be useless, but probably intended
|
2014-01-07 15:55:49 +01:00 |
|
Shannon
|
8fe7c0da9e
|
Changed all repository tests to ensure they are not testing with cache enabled... now to fix the problems :(
|
2013-09-18 11:40:40 +10:00 |
|
Morten Christensen
|
439098e3d7
|
Adding unit tests for LanguageRepository
|
2012-11-08 12:21:40 -01:00 |
|
Morten Christensen
|
4afbd1c38e
|
Adding unit tests for DataTypeDefinitionRepository
|
2012-11-08 11:55:36 -01:00 |
|