summaryrefslogtreecommitdiffstats
path: root/src/DotNetOAuth.Test/Mocks/TestBadChannel.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/DotNetOAuth.Test/Mocks/TestBadChannel.cs')
-rw-r--r--src/DotNetOAuth.Test/Mocks/TestBadChannel.cs54
1 files changed, 0 insertions, 54 deletions
diff --git a/src/DotNetOAuth.Test/Mocks/TestBadChannel.cs b/src/DotNetOAuth.Test/Mocks/TestBadChannel.cs
deleted file mode 100644
index 781d65b..0000000
--- a/src/DotNetOAuth.Test/Mocks/TestBadChannel.cs
+++ /dev/null
@@ -1,54 +0,0 @@
-//-----------------------------------------------------------------------
-// <copyright file="TestBadChannel.cs" company="Andrew Arnott">
-// Copyright (c) Andrew Arnott. All rights reserved.
-// </copyright>
-//-----------------------------------------------------------------------
-
-namespace DotNetOAuth.Test.Mocks {
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using DotNetOAuth.Messaging;
-
- /// <summary>
- /// A Channel derived type that passes null to the protected constructor.
- /// </summary>
- internal class TestBadChannel : Channel {
- internal TestBadChannel(bool badConstructorParam)
- : base(badConstructorParam ? null : new TestMessageTypeProvider()) {
- }
-
- internal new void Create301RedirectResponse(IDirectedProtocolMessage message, IDictionary<string, string> fields) {
- base.Create301RedirectResponse(message, fields);
- }
-
- internal new void CreateFormPostResponse(IDirectedProtocolMessage message, IDictionary<string, string> fields) {
- base.CreateFormPostResponse(message, fields);
- }
-
- internal new void SendIndirectMessage(IDirectedProtocolMessage message) {
- base.SendIndirectMessage(message);
- }
-
- internal new IProtocolMessage Receive(Dictionary<string, string> fields, MessageReceivingEndpoint recipient) {
- return base.Receive(fields, recipient);
- }
-
- internal new IProtocolMessage ReadFromRequest(HttpRequestInfo request) {
- return base.ReadFromRequest(request);
- }
-
- protected override IProtocolMessage RequestInternal(IDirectedProtocolMessage request) {
- throw new NotImplementedException();
- }
-
- protected override IProtocolMessage ReadFromResponseInternal(System.IO.Stream responseStream) {
- throw new NotImplementedException();
- }
-
- protected override Response SendDirectMessageResponse(IProtocolMessage response) {
- throw new NotImplementedException();
- }
- }
-}