summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2011-09-02 08:40:05 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2011-09-02 16:49:26 -0700
commitf6db00c14a8e280dccd83953536edb468fbaca14 (patch)
treea31ce24aab45d8904a2916fb0de35b30af0c6c42 /src
parent7bfb3fe53424cb7e2b8e4b67d6b636ac8a46d44d (diff)
downloadDotNetOpenAuth-f6db00c14a8e280dccd83953536edb468fbaca14.zip
DotNetOpenAuth-f6db00c14a8e280dccd83953536edb468fbaca14.tar.gz
DotNetOpenAuth-f6db00c14a8e280dccd83953536edb468fbaca14.tar.bz2
Fixed failing OAuth Appendix test.
Diffstat (limited to 'src')
-rw-r--r--src/DotNetOpenAuth.Test/Mocks/CoordinatingOAuthConsumerChannel.cs10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/DotNetOpenAuth.Test/Mocks/CoordinatingOAuthConsumerChannel.cs b/src/DotNetOpenAuth.Test/Mocks/CoordinatingOAuthConsumerChannel.cs
index 2fc5348..3ea8647 100644
--- a/src/DotNetOpenAuth.Test/Mocks/CoordinatingOAuthConsumerChannel.cs
+++ b/src/DotNetOpenAuth.Test/Mocks/CoordinatingOAuthConsumerChannel.cs
@@ -18,8 +18,6 @@ namespace DotNetOpenAuth.Test.Mocks {
/// </summary>
internal class CoordinatingOAuthConsumerChannel : OAuthConsumerChannel {
private EventWaitHandle incomingMessageSignal = new AutoResetEvent(false);
- private IProtocolMessage incomingMessage;
- private OutgoingWebResponse incomingRawResponse;
/// <summary>
/// Initializes a new instance of the <see cref="CoordinatingOAuthConsumerChannel"/> class.
@@ -111,15 +109,15 @@ namespace DotNetOpenAuth.Test.Mocks {
private IProtocolMessage AwaitIncomingMessage() {
this.incomingMessageSignal.WaitOne();
- IProtocolMessage response = this.incomingMessage;
- this.incomingMessage = null;
+ IProtocolMessage response = this.IncomingMessage;
+ this.IncomingMessage = null;
return response;
}
private OutgoingWebResponse AwaitIncomingRawResponse() {
this.incomingMessageSignal.WaitOne();
- OutgoingWebResponse response = this.incomingRawResponse;
- this.incomingRawResponse = null;
+ OutgoingWebResponse response = this.IncomingRawResponse;
+ this.IncomingRawResponse = null;
return response;
}