diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2008-05-26 23:15:21 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2008-05-26 23:15:21 -0700 |
commit | 24bcd4604eef4e77c0db3408df65ea3f7ff33e0e (patch) | |
tree | 2c7fddddd0351473966ecaa27cef9ec1836ab072 /src/DotNetOpenId.Test/UtilTest.cs | |
parent | ea26f06c67848867d693c178335dad579e987154 (diff) | |
download | DotNetOpenAuth-24bcd4604eef4e77c0db3408df65ea3f7ff33e0e.zip DotNetOpenAuth-24bcd4604eef4e77c0db3408df65ea3f7ff33e0e.tar.gz DotNetOpenAuth-24bcd4604eef4e77c0db3408df65ea3f7ff33e0e.tar.bz2 |
Breaking changes! OpenID indirect messages larger than 2KB are now sent via form POST instead of GET.
Refactored public API to allow for form POST responses.
This scenario is not being tested.
Diffstat (limited to 'src/DotNetOpenId.Test/UtilTest.cs')
-rw-r--r-- | src/DotNetOpenId.Test/UtilTest.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/DotNetOpenId.Test/UtilTest.cs b/src/DotNetOpenId.Test/UtilTest.cs index 2f995c5..f6a3dbe 100644 --- a/src/DotNetOpenId.Test/UtilTest.cs +++ b/src/DotNetOpenId.Test/UtilTest.cs @@ -24,5 +24,15 @@ namespace DotNetOpenId.Test { IDictionary<string, string> dict = Util.NameValueCollectionToDictionary(nvc);
Assert.IsTrue(dict["a"] == "b");
}
+
+ [Test]
+ public void NameValueCollectionToDictionaryNull() {
+ Assert.IsNull(Util.NameValueCollectionToDictionary(null));
+ }
+
+ [Test]
+ public void DictionaryToNameValueCollectionNull() {
+ Assert.IsNull(Util.DictionaryToNameValueCollection(null));
+ }
}
}
|