diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2010-06-06 17:53:24 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2010-06-06 17:53:24 -0700 |
commit | 58426aea21d0177f1e6fab883f5a96681d868827 (patch) | |
tree | 55eb68ae73aa4e38f156da3d3833ddd524247e34 /src/DotNetOpenAuth.Test/OAuthWrap/MessageFactoryTests.cs | |
parent | 54af44023fc542eed70c168adf281bd1bd94e8a2 (diff) | |
download | DotNetOpenAuth-58426aea21d0177f1e6fab883f5a96681d868827.zip DotNetOpenAuth-58426aea21d0177f1e6fab883f5a96681d868827.tar.gz DotNetOpenAuth-58426aea21d0177f1e6fab883f5a96681d868827.tar.bz2 |
Renamed RichApp messages to Device messages 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 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/DotNetOpenAuth.Test/OAuthWrap/MessageFactoryTests.cs b/src/DotNetOpenAuth.Test/OAuthWrap/MessageFactoryTests.cs index a9a696b..3d83df5 100644 --- a/src/DotNetOpenAuth.Test/OAuthWrap/MessageFactoryTests.cs +++ b/src/DotNetOpenAuth.Test/OAuthWrap/MessageFactoryTests.cs @@ -187,7 +187,7 @@ namespace DotNetOpenAuth.Test.OAuthWrap { { Protocol.client_id, "abc" }, }; IDirectedProtocolMessage request = this.messageFactory.GetNewRequestMessage(this.recipient, fields); - Assert.IsInstanceOf(typeof(RichAppRequest), request); + Assert.IsInstanceOf(typeof(DeviceRequest), request); // including optional parts fields = new Dictionary<string, string> { @@ -197,7 +197,7 @@ namespace DotNetOpenAuth.Test.OAuthWrap { { Protocol.scope, "abc" }, }; request = this.messageFactory.GetNewRequestMessage(this.recipient, fields); - Assert.IsInstanceOf(typeof(RichAppRequest), request); + Assert.IsInstanceOf(typeof(DeviceRequest), request); } [TestCase] @@ -207,7 +207,7 @@ namespace DotNetOpenAuth.Test.OAuthWrap { { Protocol.access_token, "abc" }, }; IDirectedProtocolMessage request = this.messageFactory.GetNewRequestMessage(this.recipient, fields); - Assert.IsInstanceOf(typeof(RichAppResponse), request); + Assert.IsInstanceOf(typeof(DeviceResponse), request); } [TestCase] @@ -218,7 +218,7 @@ namespace DotNetOpenAuth.Test.OAuthWrap { { Protocol.code, "abc" }, }; IDirectedProtocolMessage request = this.messageFactory.GetNewRequestMessage(this.recipient, fields); - Assert.IsInstanceOf(typeof(RichAppAccessTokenRequest), request); + Assert.IsInstanceOf(typeof(DeviceAccessTokenRequest), request); } #endregion |