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.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/DotNetOpenAuth.Test/TestBase.cs b/src/DotNetOpenAuth.Test/TestBase.cs
index db37c58..d21691b 100644
--- a/src/DotNetOpenAuth.Test/TestBase.cs
+++ b/src/DotNetOpenAuth.Test/TestBase.cs
@@ -7,6 +7,7 @@
namespace DotNetOpenAuth.Test {
using System.IO;
using System.Reflection;
+ using DotNetOpenAuth.Messaging.Reflection;
using DotNetOpenAuth.OAuth.Messages;
using log4net;
using Microsoft.VisualStudio.TestTools.UnitTesting;
@@ -20,6 +21,8 @@ namespace DotNetOpenAuth.Test {
/// </summary>
internal static readonly string TestWebDirectory = Path.GetFullPath(Path.Combine(Directory.GetCurrentDirectory(), @"..\..\..\..\src\DotNetOpenAuth.TestWeb"));
+ private MessageDescriptionCollection messageDescriptions = new MessageDescriptionCollection();
+
/// <summary>
/// Gets or sets the test context which provides
/// information about and functionality for the current test run.
@@ -33,6 +36,10 @@ namespace DotNetOpenAuth.Test {
get { return TestUtilities.TestLogger; }
}
+ internal MessageDescriptionCollection MessageDescriptions {
+ get { return this.messageDescriptions; }
+ }
+
/// <summary>
/// The TestInitialize method for the test cases.
/// </summary>
@@ -40,6 +47,7 @@ namespace DotNetOpenAuth.Test {
public virtual void SetUp() {
log4net.Config.XmlConfigurator.Configure(Assembly.GetExecutingAssembly().GetManifestResourceStream("DotNetOpenAuth.Test.Logging.config"));
MessageBase.LowSecurityMode = true;
+ this.messageDescriptions = new MessageDescriptionCollection();
}
/// <summary>