summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Test/TestBase.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/DotNetOpenAuth.Test/TestBase.cs')
-rw-r--r--src/DotNetOpenAuth.Test/TestBase.cs12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/DotNetOpenAuth.Test/TestBase.cs b/src/DotNetOpenAuth.Test/TestBase.cs
index 9ec0858..0d84a0d 100644
--- a/src/DotNetOpenAuth.Test/TestBase.cs
+++ b/src/DotNetOpenAuth.Test/TestBase.cs
@@ -5,6 +5,7 @@
//-----------------------------------------------------------------------
namespace DotNetOpenAuth.Test {
+ using System.IO;
using System.Reflection;
using DotNetOpenAuth.OAuth.Messages;
using log4net;
@@ -15,9 +16,16 @@ namespace DotNetOpenAuth.Test {
/// </summary>
public class TestBase {
/// <summary>
- /// The logger that tests should use.
+ /// The full path to the directory that contains the test ASP.NET site.
/// </summary>
- internal static readonly ILog TestLogger = LogManager.GetLogger("DotNetOpenAuth.Test");
+ internal static readonly string TestWebDirectory = Path.GetFullPath(Path.Combine(Directory.GetCurrentDirectory(), @"..\..\..\..\src\DotNetOpenAuth.TestWeb"));
+
+ /// <summary>
+ /// Gets the logger that tests should use.
+ /// </summary>
+ internal static ILog TestLogger {
+ get { return TestUtilities.TestLogger; }
+ }
/// <summary>
/// Gets or sets the test context which provides