diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2008-10-23 19:52:59 -0700 |
---|---|---|
committer | Andrew <andrewarnott@gmail.com> | 2008-10-23 19:52:59 -0700 |
commit | 38c7d25878550429583558f5c907e34fb094fb68 (patch) | |
tree | c6edc9ee32d6d2031202040ac18cd2d288b3bb83 /src/DotNetOAuth.Test/Messaging/MessagingTestBase.cs | |
parent | 7ba9649126a7b802e348fbe210383fabc2898659 (diff) | |
download | DotNetOpenAuth-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.cs | 16 |
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;
}
|