Got ApplicationTests working with new unit test project.

Had to fix the ApplicationTree and Application classes to lazily call the Cache method
(which is no renamed to EnsureCache) so that we could set the config location in the unit tests.
This should also improve performance a teeny bit and allow for better error handling if required.
This commit is contained in:
shannon@ShandemVaio
2012-07-17 03:14:22 +06:00
parent 96cc9a1f35
commit ddbde6e15f
20 changed files with 11298 additions and 270 deletions

View File

@@ -18,3 +18,5 @@ using System.Runtime.InteropServices;
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("04436b0a-1dc6-4ee1-9d96-4c04f1a9f429")]
[assembly: InternalsVisibleTo("Umbraco.Tests")]