diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2012-04-04 20:58:04 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2012-04-04 20:58:04 -0700 |
commit | 2fe0a3d03eac3d4a238347f023bb63fd579d1060 (patch) | |
tree | a8fb3dbae481a90349845fcaa396cb903a4249ed /src/DotNetOpenAuth.Test/OAuth/ChannelElements/OAuthChannelTests.cs | |
parent | 14f6007a7d0de2d3b1bfc2eb3cd75296924aa456 (diff) | |
download | DotNetOpenAuth-2fe0a3d03eac3d4a238347f023bb63fd579d1060.zip DotNetOpenAuth-2fe0a3d03eac3d4a238347f023bb63fd579d1060.tar.gz DotNetOpenAuth-2fe0a3d03eac3d4a238347f023bb63fd579d1060.tar.bz2 |
Replaced a bunch of TestCase attribute usages with simply Test.
Diffstat (limited to 'src/DotNetOpenAuth.Test/OAuth/ChannelElements/OAuthChannelTests.cs')
-rw-r--r-- | src/DotNetOpenAuth.Test/OAuth/ChannelElements/OAuthChannelTests.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/DotNetOpenAuth.Test/OAuth/ChannelElements/OAuthChannelTests.cs b/src/DotNetOpenAuth.Test/OAuth/ChannelElements/OAuthChannelTests.cs index 7999a44..f80935c 100644 --- a/src/DotNetOpenAuth.Test/OAuth/ChannelElements/OAuthChannelTests.cs +++ b/src/DotNetOpenAuth.Test/OAuth/ChannelElements/OAuthChannelTests.cs @@ -41,17 +41,17 @@ namespace DotNetOpenAuth.Test.OAuth.ChannelElements { this.channel.WebRequestHandler = this.webRequestHandler; } - [TestCase, ExpectedException(typeof(ArgumentException))] + [Test, ExpectedException(typeof(ArgumentException))] public void CtorNullSigner() { new OAuthConsumerChannel(null, this.nonceStore, new InMemoryTokenManager(), this.consumerSecuritySettings, new TestMessageFactory()); } - [TestCase, ExpectedException(typeof(ArgumentNullException))] + [Test, ExpectedException(typeof(ArgumentNullException))] public void CtorNullStore() { new OAuthConsumerChannel(new RsaSha1ServiceProviderSigningBindingElement(new InMemoryTokenManager()), null, new InMemoryTokenManager(), this.consumerSecuritySettings, new TestMessageFactory()); } - [TestCase, ExpectedException(typeof(ArgumentNullException))] + [Test, ExpectedException(typeof(ArgumentNullException))] public void CtorNullTokenManager() { new OAuthConsumerChannel(new RsaSha1ServiceProviderSigningBindingElement(new InMemoryTokenManager()), this.nonceStore, null, this.consumerSecuritySettings, new TestMessageFactory()); } @@ -157,18 +157,18 @@ namespace DotNetOpenAuth.Test.OAuth.ChannelElements { } } - [TestCase, ExpectedException(typeof(ArgumentNullException))] + [Test, ExpectedException(typeof(ArgumentNullException))] public void RequestNull() { this.channel.Request(null); } - [TestCase, ExpectedException(typeof(ArgumentException))] + [Test, ExpectedException(typeof(ArgumentException))] public void RequestNullRecipient() { IDirectedProtocolMessage message = new TestDirectedMessage(MessageTransport.Direct); this.channel.Request(message); } - [TestCase, ExpectedException(typeof(NotSupportedException))] + [Test, ExpectedException(typeof(NotSupportedException))] public void RequestBadPreferredScheme() { TestDirectedMessage message = new TestDirectedMessage(MessageTransport.Direct); message.Recipient = new Uri("http://localtest"); |