summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Test/Mocks/CoordinatingOutgoingWebResponse.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2013-03-06 17:42:12 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2013-03-06 17:42:12 -0800
commit5c50924246387b6d9a5ce668fb389b5ec7d93434 (patch)
treef86d6f629609450619e30533b1c0c4629111050b /src/DotNetOpenAuth.Test/Mocks/CoordinatingOutgoingWebResponse.cs
parentab1e20ef732e482706cf5cea47e371f90476c8f3 (diff)
downloadDotNetOpenAuth-5c50924246387b6d9a5ce668fb389b5ec7d93434.zip
DotNetOpenAuth-5c50924246387b6d9a5ce668fb389b5ec7d93434.tar.gz
DotNetOpenAuth-5c50924246387b6d9a5ce668fb389b5ec7d93434.tar.bz2
Unit test build break fixes.
Diffstat (limited to 'src/DotNetOpenAuth.Test/Mocks/CoordinatingOutgoingWebResponse.cs')
-rw-r--r--src/DotNetOpenAuth.Test/Mocks/CoordinatingOutgoingWebResponse.cs47
1 files changed, 0 insertions, 47 deletions
diff --git a/src/DotNetOpenAuth.Test/Mocks/CoordinatingOutgoingWebResponse.cs b/src/DotNetOpenAuth.Test/Mocks/CoordinatingOutgoingWebResponse.cs
deleted file mode 100644
index 9df791c..0000000
--- a/src/DotNetOpenAuth.Test/Mocks/CoordinatingOutgoingWebResponse.cs
+++ /dev/null
@@ -1,47 +0,0 @@
-//-----------------------------------------------------------------------
-// <copyright file="CoordinatingOutgoingWebResponse.cs" company="Outercurve Foundation">
-// Copyright (c) Outercurve Foundation. All rights reserved.
-// </copyright>
-//-----------------------------------------------------------------------
-
-namespace DotNetOpenAuth.Test.Mocks {
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Linq;
- using System.Text;
- using DotNetOpenAuth.Messaging;
- using Validation;
-
- internal class CoordinatingOutgoingWebResponse : OutgoingWebResponse {
- private CoordinatingChannel receivingChannel;
-
- private CoordinatingChannel sendingChannel;
-
- /// <summary>
- /// Initializes a new instance of the <see cref="CoordinatingOutgoingWebResponse"/> class.
- /// </summary>
- /// <param name="message">The direct response message to send to the remote channel. This message will be cloned.</param>
- /// <param name="receivingChannel">The receiving channel.</param>
- /// <param name="sendingChannel">The sending channel.</param>
- internal CoordinatingOutgoingWebResponse(IProtocolMessage message, CoordinatingChannel receivingChannel, CoordinatingChannel sendingChannel) {
- Requires.NotNull(message, "message");
- Requires.NotNull(receivingChannel, "receivingChannel");
- Requires.NotNull(sendingChannel, "sendingChannel");
-
- this.receivingChannel = receivingChannel;
- this.sendingChannel = sendingChannel;
- this.OriginalMessage = message;
- }
-
- [EditorBrowsable(EditorBrowsableState.Never)]
- public override void Send() {
- this.Respond();
- }
-
- public override void Respond() {
- this.sendingChannel.SaveCookies(this.Cookies);
- this.receivingChannel.PostMessage(this.OriginalMessage);
- }
- }
-}