diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2010-02-22 16:29:01 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2010-02-22 16:29:01 -0800 |
commit | a02284b55e149e7399e3e027cab703b945ed3c98 (patch) | |
tree | a5907ffb109076b48068048d7292a53e8055ca7f /src/DotNetOpenAuth.Test/OAuthWrap/OAuthWrapChannelTests.cs | |
parent | 1b3fac76d3f63830d2a5fbe07b90fbcfb2bb8b8b (diff) | |
download | DotNetOpenAuth-a02284b55e149e7399e3e027cab703b945ed3c98.zip DotNetOpenAuth-a02284b55e149e7399e3e027cab703b945ed3c98.tar.gz DotNetOpenAuth-a02284b55e149e7399e3e027cab703b945ed3c98.tar.bz2 |
Swapped out the custom OAuth WRAP factory for the new StandardMessageFactory class.
Added first WRAP unit test, which although it's empty it actually verifies that the channel can be initialized.
Diffstat (limited to 'src/DotNetOpenAuth.Test/OAuthWrap/OAuthWrapChannelTests.cs')
-rw-r--r-- | src/DotNetOpenAuth.Test/OAuthWrap/OAuthWrapChannelTests.cs | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/DotNetOpenAuth.Test/OAuthWrap/OAuthWrapChannelTests.cs b/src/DotNetOpenAuth.Test/OAuthWrap/OAuthWrapChannelTests.cs new file mode 100644 index 0000000..1f76e8f --- /dev/null +++ b/src/DotNetOpenAuth.Test/OAuthWrap/OAuthWrapChannelTests.cs @@ -0,0 +1,34 @@ +//----------------------------------------------------------------------- +// <copyright file="OAuthWrapChannelTests.cs" company="Andrew Arnott"> +// Copyright (c) Andrew Arnott. All rights reserved. +// </copyright> +//----------------------------------------------------------------------- + +namespace DotNetOpenAuth.Test.OAuthWrap { + using System; + using System.Collections.Generic; + using System.Linq; + using System.Text; + using DotNetOpenAuth.Messaging; + using DotNetOpenAuth.OAuthWrap.ChannelElements; + using NUnit.Framework; + + [TestFixture] + public class OAuthWrapChannelTests : OAuthWrapTestBase { + private OAuthWrapChannel channel; + + public override void SetUp() { + base.SetUp(); + + this.channel = new OAuthWrapChannel(); + } + + /// <summary> + /// Verifies that the WRAP message types are initialized. + /// </summary> + [TestCase] + public void MessageFactory() { + // TODO: code here + } + } +} |