diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2010-01-06 19:30:01 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2010-01-06 19:30:01 -0800 |
commit | b4f047fc7af40f40149a84b58d8f3ad1632a48d5 (patch) | |
tree | 78ff419559a0496dbce02dc0140bd230218b79f8 /src/DotNetOpenAuth.Test/OAuth/ProtocolTests.cs | |
parent | 408d636335d73d5520bc1f9fbfdab224d492b7cf (diff) | |
download | DotNetOpenAuth-b4f047fc7af40f40149a84b58d8f3ad1632a48d5.zip DotNetOpenAuth-b4f047fc7af40f40149a84b58d8f3ad1632a48d5.tar.gz DotNetOpenAuth-b4f047fc7af40f40149a84b58d8f3ad1632a48d5.tar.bz2 |
Converted all the rest of the tests over to NUnit.
Diffstat (limited to 'src/DotNetOpenAuth.Test/OAuth/ProtocolTests.cs')
-rw-r--r-- | src/DotNetOpenAuth.Test/OAuth/ProtocolTests.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/DotNetOpenAuth.Test/OAuth/ProtocolTests.cs b/src/DotNetOpenAuth.Test/OAuth/ProtocolTests.cs index ce8070b..f866990 100644 --- a/src/DotNetOpenAuth.Test/OAuth/ProtocolTests.cs +++ b/src/DotNetOpenAuth.Test/OAuth/ProtocolTests.cs @@ -6,27 +6,27 @@ namespace DotNetOpenAuth.Test { using DotNetOpenAuth.OAuth; - using Microsoft.VisualStudio.TestTools.UnitTesting; + using NUnit.Framework; - [TestClass] + [TestFixture] public class ProtocolTests { - [TestMethod] + [TestCase] public void Default() { Assert.AreSame(Protocol.V10a, Protocol.Default); } - [TestMethod] + [TestCase] public void DataContractNamespace() { Assert.AreEqual("http://oauth.net/core/1.0/", Protocol.V10.DataContractNamespace); Assert.AreEqual("http://oauth.net/core/1.0/", Protocol.DataContractNamespaceV10); } - [TestMethod] + [TestCase] public void AuthorizationHeaderScheme() { Assert.AreEqual("OAuth", Protocol.AuthorizationHeaderScheme); } - [TestMethod] + [TestCase] public void ParameterPrefix() { Assert.AreEqual("oauth_", Protocol.ParameterPrefix); } |