summaryrefslogtreecommitdiffstats
path: root/src/DotNetOAuth.Test/Mocks/TestChannel.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2008-09-02 21:00:56 -0700
committerAndrew <andrewarnott@gmail.com>2008-09-02 21:00:56 -0700
commit14073d6440b506a526e4bf8d8900530130431746 (patch)
tree83158b5bad0a48f8fd76e9e00ccebe1e37c8e425 /src/DotNetOAuth.Test/Mocks/TestChannel.cs
parent0cb15a44b3b5f818a402046f13bc217a8a1e8b22 (diff)
downloadDotNetOpenAuth-14073d6440b506a526e4bf8d8900530130431746.zip
DotNetOpenAuth-14073d6440b506a526e4bf8d8900530130431746.tar.gz
DotNetOpenAuth-14073d6440b506a526e4bf8d8900530130431746.tar.bz2
Finished up the Channel stack and started with channel tests.
Diffstat (limited to 'src/DotNetOAuth.Test/Mocks/TestChannel.cs')
-rw-r--r--src/DotNetOAuth.Test/Mocks/TestChannel.cs35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/DotNetOAuth.Test/Mocks/TestChannel.cs b/src/DotNetOAuth.Test/Mocks/TestChannel.cs
new file mode 100644
index 0000000..c280243
--- /dev/null
+++ b/src/DotNetOAuth.Test/Mocks/TestChannel.cs
@@ -0,0 +1,35 @@
+//-----------------------------------------------------------------------
+// <copyright file="TestChannel.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;
+
+ internal class TestChannel : Channel {
+ internal TestChannel()
+ : base(new TestMessageTypeProvider()) {
+ }
+
+ protected override IProtocolMessage Request(IDirectedProtocolMessage request) {
+ throw new NotImplementedException();
+ }
+
+ protected override void SendDirectMessageResponse(IProtocolMessage response) {
+ throw new NotImplementedException();
+ }
+
+ protected override void ReportErrorToUser(ProtocolException exception) {
+ throw new NotImplementedException();
+ }
+
+ protected override void ReportErrorAsDirectResponse(ProtocolException exception) {
+ throw new NotImplementedException();
+ }
+ }
+}