HttpClient

This commit is contained in:
Keivan Beigi 2014-09-11 16:49:41 -07:00
parent 3a287bf7e7
commit 2c1d3339d0
55 changed files with 995 additions and 582 deletions

View file

@ -8,14 +8,12 @@ namespace NzbDrone.Test.Common
{
public abstract class LoggingTest
{
protected static Logger TestLogger;
protected static readonly Logger TestLogger = LogManager.GetLogger("TestLogger");
protected static void InitLogging()
{
new StartupContext();
TestLogger = LogManager.GetLogger("TestLogger");
if (LogManager.Configuration == null || LogManager.Configuration is XmlLoggingConfiguration)
{
LogManager.Configuration = new LoggingConfiguration();
@ -44,8 +42,6 @@ namespace NzbDrone.Test.Common
[TearDown]
public void LoggingDownBase()
{
//can't use because of a bug in mono with 2.6.2,
//https://bugs.launchpad.net/nunitv2/+bug/1076932
if (BuildInfo.IsDebug && TestContext.CurrentContext.Result.State == TestState.Success)