summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Test/OpenId/OpenIdTestBase.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2009-01-30 21:04:20 -0800
committerAndrew <andrewarnott@gmail.com>2009-01-30 21:05:28 -0800
commite57dd7acc21239b0b8cc5e03298376570ffa8f5e (patch)
treef432320ff8e90c3fab1a902d8150ee8a093f11b8 /src/DotNetOpenAuth.Test/OpenId/OpenIdTestBase.cs
parent65fbd52b372c1322fc03ffbac79d3e1dd9ab102b (diff)
downloadDotNetOpenAuth-e57dd7acc21239b0b8cc5e03298376570ffa8f5e.zip
DotNetOpenAuth-e57dd7acc21239b0b8cc5e03298376570ffa8f5e.tar.gz
DotNetOpenAuth-e57dd7acc21239b0b8cc5e03298376570ffa8f5e.tar.bz2
StyleCop fixes
Diffstat (limited to 'src/DotNetOpenAuth.Test/OpenId/OpenIdTestBase.cs')
-rw-r--r--src/DotNetOpenAuth.Test/OpenId/OpenIdTestBase.cs25
1 files changed, 12 insertions, 13 deletions
diff --git a/src/DotNetOpenAuth.Test/OpenId/OpenIdTestBase.cs b/src/DotNetOpenAuth.Test/OpenId/OpenIdTestBase.cs
index b12d4c9..6db5d1b 100644
--- a/src/DotNetOpenAuth.Test/OpenId/OpenIdTestBase.cs
+++ b/src/DotNetOpenAuth.Test/OpenId/OpenIdTestBase.cs
@@ -6,6 +6,8 @@
namespace DotNetOpenAuth.Test.OpenId {
using System;
+ using System.IO;
+ using System.Reflection;
using DotNetOpenAuth.Configuration;
using DotNetOpenAuth.Messaging;
using DotNetOpenAuth.Messaging.Bindings;
@@ -14,15 +16,13 @@ namespace DotNetOpenAuth.Test.OpenId {
using DotNetOpenAuth.OpenId.RelyingParty;
using DotNetOpenAuth.Test.Mocks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
- using System.Reflection;
- using System.IO;
public class OpenIdTestBase : TestBase {
internal IDirectWebRequestHandler RequestHandler;
internal MockHttpRequest MockResponder;
- protected const string IdentifierSelect = "http://specs.openid.net/auth/2.0/identifier_select";
+ protected internal const string IdentifierSelect = "http://specs.openid.net/auth/2.0/identifier_select";
protected internal static readonly Uri BaseMockUri = new Uri("http://localhost/");
protected internal static readonly Uri BaseMockUriSsl = new Uri("https://localhost/");
@@ -48,6 +48,15 @@ namespace DotNetOpenAuth.Test.OpenId {
this.AutoProviderScenario = Scenarios.AutoApproval;
}
+ public enum Scenarios {
+ AutoApproval,
+ AutoApprovalAddFragment,
+ ApproveOnSetup,
+ AlwaysDeny,
+ }
+
+ internal Scenarios AutoProviderScenario { get; set; }
+
protected RelyingPartySecuritySettings RelyingPartySecuritySettings { get; private set; }
protected ProviderSecuritySettings ProviderSecuritySettings { get; private set; }
@@ -64,16 +73,6 @@ namespace DotNetOpenAuth.Test.OpenId {
this.AutoProviderScenario = Scenarios.AutoApproval;
}
- public enum Scenarios {
- AutoApproval,
- AutoApprovalAddFragment,
- ApproveOnSetup,
- AlwaysDeny,
- }
-
- internal Scenarios AutoProviderScenario { get; set; }
-
-
/// <summary>
/// Forces storage of an association in an RP's association store.
/// </summary>