diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2010-06-06 17:56:41 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2010-06-06 17:56:41 -0700 |
commit | eb81c74d8c7c8cc155a56eb7d5b36c5076f88b1f (patch) | |
tree | 9400f89824278951a005b50b9746c2840b839a22 /src/DotNetOpenAuth.Test/OAuthWrap/MessageFactoryTests.cs | |
parent | 58426aea21d0177f1e6fab883f5a96681d868827 (diff) | |
download | DotNetOpenAuth-eb81c74d8c7c8cc155a56eb7d5b36c5076f88b1f.zip DotNetOpenAuth-eb81c74d8c7c8cc155a56eb7d5b36c5076f88b1f.tar.gz DotNetOpenAuth-eb81c74d8c7c8cc155a56eb7d5b36c5076f88b1f.tar.bz2 |
Renamed WebApp messages to WebServer to match OAuth 2.0 flow names.
Diffstat (limited to 'src/DotNetOpenAuth.Test/OAuthWrap/MessageFactoryTests.cs')
-rw-r--r-- | src/DotNetOpenAuth.Test/OAuthWrap/MessageFactoryTests.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/DotNetOpenAuth.Test/OAuthWrap/MessageFactoryTests.cs b/src/DotNetOpenAuth.Test/OAuthWrap/MessageFactoryTests.cs index 3d83df5..827027e 100644 --- a/src/DotNetOpenAuth.Test/OAuthWrap/MessageFactoryTests.cs +++ b/src/DotNetOpenAuth.Test/OAuthWrap/MessageFactoryTests.cs @@ -73,7 +73,7 @@ namespace DotNetOpenAuth.Test.OAuthWrap { { Protocol.redirect_uri, "abc" }, }; IDirectedProtocolMessage request = this.messageFactory.GetNewRequestMessage(this.recipient, fields); - Assert.IsInstanceOf(typeof(WebAppRequest), request); + Assert.IsInstanceOf(typeof(WebServerRequest), request); } [TestCase] @@ -81,9 +81,9 @@ namespace DotNetOpenAuth.Test.OAuthWrap { var fields = new Dictionary<string, string> { { Protocol.error, "user_denied" }, }; - var request = new WebAppRequest(this.recipient.Location, Protocol.Default.Version); + var request = new WebServerRequest(this.recipient.Location, Protocol.Default.Version); Assert.IsInstanceOf( - typeof(WebAppFailedResponse), + typeof(WebServerFailedResponse), this.messageFactory.GetNewResponseMessage(request, fields)); } @@ -92,9 +92,9 @@ namespace DotNetOpenAuth.Test.OAuthWrap { var fields = new Dictionary<string, string> { { Protocol.code, "abc" }, }; - var request = new WebAppRequest(this.recipient.Location, Protocol.Default.Version); + var request = new WebServerRequest(this.recipient.Location, Protocol.Default.Version); Assert.IsInstanceOf( - typeof(WebAppSuccessResponse), + typeof(WebServerSuccessResponse), this.messageFactory.GetNewResponseMessage(request, fields)); } @@ -107,7 +107,7 @@ namespace DotNetOpenAuth.Test.OAuthWrap { { Protocol.redirect_uri, "abc" }, }; IDirectedProtocolMessage request = this.messageFactory.GetNewRequestMessage(this.recipient, fields); - Assert.IsInstanceOf(typeof(WebAppAccessTokenRequest), request); + Assert.IsInstanceOf(typeof(WebServerAccessTokenRequest), request); } [TestCase, Ignore("Not implemented")] |