diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2008-11-18 22:26:32 -0800 |
---|---|---|
committer | Andrew <andrewarnott@gmail.com> | 2008-11-18 22:26:32 -0800 |
commit | 9374f87b8e56f17a1b386547faf40ea5e5ffbd7d (patch) | |
tree | 902eec70793cc5e5cdf8e1a8120ae7c21ceefbff /src/DotNetOpenAuth.Test/OpenId/ChannelElements/KeyValueFormEncodingTests.cs | |
parent | 881003619a0b2fd3a9d61a7ee9df42d087dfdf27 (diff) | |
download | DotNetOpenAuth-9374f87b8e56f17a1b386547faf40ea5e5ffbd7d.zip DotNetOpenAuth-9374f87b8e56f17a1b386547faf40ea5e5ffbd7d.tar.gz DotNetOpenAuth-9374f87b8e56f17a1b386547faf40ea5e5ffbd7d.tar.bz2 |
FxCop message fixes.
Diffstat (limited to 'src/DotNetOpenAuth.Test/OpenId/ChannelElements/KeyValueFormEncodingTests.cs')
-rw-r--r-- | src/DotNetOpenAuth.Test/OpenId/ChannelElements/KeyValueFormEncodingTests.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/DotNetOpenAuth.Test/OpenId/ChannelElements/KeyValueFormEncodingTests.cs b/src/DotNetOpenAuth.Test/OpenId/ChannelElements/KeyValueFormEncodingTests.cs index fff1392..7b98ac2 100644 --- a/src/DotNetOpenAuth.Test/OpenId/ChannelElements/KeyValueFormEncodingTests.cs +++ b/src/DotNetOpenAuth.Test/OpenId/ChannelElements/KeyValueFormEncodingTests.cs @@ -35,9 +35,7 @@ namespace DotNetOpenAuth.Test.OpenId.ChannelElements { [TestMethod] public void BasicEncodingTest() { - var kvf = new KeyValueFormEncoding(); - - byte[] kvfBytes = kvf.GetBytes(this.sampleData); + byte[] kvfBytes = KeyValueFormEncoding.GetBytes(this.sampleData); string responseString = Encoding.UTF8.GetString(kvfBytes); Assert.IsFalse(responseString.Contains("\n\n")); @@ -66,7 +64,7 @@ namespace DotNetOpenAuth.Test.OpenId.ChannelElements { } } if ((mode & TestMode.Encoder) == TestMode.Encoder) { - var e = this.keyValueForm.GetBytes(dict); + var e = KeyValueFormEncoding.GetBytes(dict); Assert.IsTrue(MessagingUtilities.AreEquivalent(e, kvform), "Encoder did not produced expected result."); } } |