Adding null check for logging config file name. Using complete filename for logging file suffix dictionary. Adding logging message on log file attempt fail.

--HG--
branch : 1.x
This commit is contained in:
Andre Rodrigues
2011-05-09 14:16:04 -07:00
parent 9d95dd542d
commit 797a7a2261
3 changed files with 14 additions and 10 deletions

View File

@@ -30,14 +30,14 @@ namespace Orchard.Tests.Caching {
[Test]
public void ComponentsAtHostLevelHaveAccessToCache() {
var alpha = _hostContainer.Resolve<Alpha>();
Assert.That(alpha.CacheManager, Is.Not.Null);
Assert.That(alpha.CacheManager, Is.Not.Null);
}
[Test]
public void HostLevelHasAccessToGlobalVolatileProviders() {
Assert.That(_hostContainer.Resolve<IWebSiteFolder>(), Is.Not.Null);
Assert.That(_hostContainer.Resolve<IAppDataFolder>(), Is.Not.Null);
Assert.That(_hostContainer.Resolve<IClock>(), Is.Not.Null);
Assert.That(_hostContainer.Resolve<IWebSiteFolder>(), Is.Not.Null);
Assert.That(_hostContainer.Resolve<IAppDataFolder>(), Is.Not.Null);
Assert.That(_hostContainer.Resolve<IClock>(), Is.Not.Null);
}
}