summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Test/OAuth/ChannelElements/OAuthChannelTests.cs
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2012-04-04 20:58:04 -0700
committerAndrew Arnott <andrewarnott@gmail.com>2012-04-04 20:58:04 -0700
commit2fe0a3d03eac3d4a238347f023bb63fd579d1060 (patch)
treea8fb3dbae481a90349845fcaa396cb903a4249ed /src/DotNetOpenAuth.Test/OAuth/ChannelElements/OAuthChannelTests.cs
parent14f6007a7d0de2d3b1bfc2eb3cd75296924aa456 (diff)
downloadDotNetOpenAuth-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.cs12
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");