summaryrefslogtreecommitdiffstats
path: root/src/DotNetOAuth.Test/Messaging/MessagingTestBase.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2008-10-23 19:52:59 -0700
committerAndrew <andrewarnott@gmail.com>2008-10-23 19:52:59 -0700
commit38c7d25878550429583558f5c907e34fb094fb68 (patch)
treec6edc9ee32d6d2031202040ac18cd2d288b3bb83 /src/DotNetOAuth.Test/Messaging/MessagingTestBase.cs
parent7ba9649126a7b802e348fbe210383fabc2898659 (diff)
downloadDotNetOpenAuth-38c7d25878550429583558f5c907e34fb094fb68.zip
DotNetOpenAuth-38c7d25878550429583558f5c907e34fb094fb68.tar.gz
DotNetOpenAuth-38c7d25878550429583558f5c907e34fb094fb68.tar.bz2
Applied FxCop fixes.
Diffstat (limited to 'src/DotNetOAuth.Test/Messaging/MessagingTestBase.cs')
-rw-r--r--src/DotNetOAuth.Test/Messaging/MessagingTestBase.cs16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/DotNetOAuth.Test/Messaging/MessagingTestBase.cs b/src/DotNetOAuth.Test/Messaging/MessagingTestBase.cs
index aa4f350..403cd25 100644
--- a/src/DotNetOAuth.Test/Messaging/MessagingTestBase.cs
+++ b/src/DotNetOAuth.Test/Messaging/MessagingTestBase.cs
@@ -78,30 +78,30 @@ namespace DotNetOAuth.Test {
return request;
}
- internal static Channel CreateChannel(MessageProtection capabilityAndRecognition) {
+ internal static Channel CreateChannel(MessageProtections capabilityAndRecognition) {
return CreateChannel(capabilityAndRecognition, capabilityAndRecognition);
}
- internal static Channel CreateChannel(MessageProtection capability, MessageProtection recognition) {
+ internal static Channel CreateChannel(MessageProtections capability, MessageProtections recognition) {
var bindingElements = new List<IChannelBindingElement>();
- if (capability >= MessageProtection.TamperProtection) {
+ if (capability >= MessageProtections.TamperProtection) {
bindingElements.Add(new MockSigningBindingElement());
}
- if (capability >= MessageProtection.Expiration) {
+ if (capability >= MessageProtections.Expiration) {
bindingElements.Add(new StandardExpirationBindingElement());
}
- if (capability >= MessageProtection.ReplayProtection) {
+ if (capability >= MessageProtections.ReplayProtection) {
bindingElements.Add(new MockReplayProtectionBindingElement());
}
bool signing = false, expiration = false, replay = false;
- if (recognition >= MessageProtection.TamperProtection) {
+ if (recognition >= MessageProtections.TamperProtection) {
signing = true;
}
- if (recognition >= MessageProtection.Expiration) {
+ if (recognition >= MessageProtections.Expiration) {
expiration = true;
}
- if (recognition >= MessageProtection.ReplayProtection) {
+ if (recognition >= MessageProtections.ReplayProtection) {
replay = true;
}