diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2010-01-07 08:54:52 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2010-01-07 08:54:52 -0800 |
commit | 1767c767e5e52cb28cf8e0bdeebdfe051caa1fd2 (patch) | |
tree | fd31e926fdfd22ec8819469a23b743d4253c07b0 /src/DotNetOpenAuth.Test/Messaging/Reflection/MessageDictionaryTests.cs | |
parent | 36bb738e4cc937a8b04321ef85b098d16d0793c8 (diff) | |
parent | bbbebebce7d9306c48247f44be5b649c908b7a67 (diff) | |
download | DotNetOpenAuth-1767c767e5e52cb28cf8e0bdeebdfe051caa1fd2.zip DotNetOpenAuth-1767c767e5e52cb28cf8e0bdeebdfe051caa1fd2.tar.gz DotNetOpenAuth-1767c767e5e52cb28cf8e0bdeebdfe051caa1fd2.tar.bz2 |
Merge branch 'v3.3'
Diffstat (limited to 'src/DotNetOpenAuth.Test/Messaging/Reflection/MessageDictionaryTests.cs')
-rw-r--r-- | src/DotNetOpenAuth.Test/Messaging/Reflection/MessageDictionaryTests.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/DotNetOpenAuth.Test/Messaging/Reflection/MessageDictionaryTests.cs b/src/DotNetOpenAuth.Test/Messaging/Reflection/MessageDictionaryTests.cs index 24171e1..b9e7436 100644 --- a/src/DotNetOpenAuth.Test/Messaging/Reflection/MessageDictionaryTests.cs +++ b/src/DotNetOpenAuth.Test/Messaging/Reflection/MessageDictionaryTests.cs @@ -300,7 +300,7 @@ namespace DotNetOpenAuth.Test.Messaging.Reflection { [TestMethod] public void CopyTo() { ICollection<KeyValuePair<string, string>> target = this.MessageDescriptions.GetAccessor(this.message); - IDictionary<string, string> targetAsDictionary = ((IDictionary<string, string>)target); + IDictionary<string, string> targetAsDictionary = (IDictionary<string, string>)target; KeyValuePair<string, string>[] array = new KeyValuePair<string, string>[target.Count + 1]; int arrayIndex = 1; target.CopyTo(array, arrayIndex); @@ -317,7 +317,7 @@ namespace DotNetOpenAuth.Test.Messaging.Reflection { [TestMethod] public void ContainsKeyValuePair() { ICollection<KeyValuePair<string, string>> target = this.MessageDescriptions.GetAccessor(this.message); - IDictionary<string, string> targetAsDictionary = ((IDictionary<string, string>)target); + IDictionary<string, string> targetAsDictionary = (IDictionary<string, string>)target; Assert.IsFalse(target.Contains(new KeyValuePair<string, string>("age", "1"))); Assert.IsTrue(target.Contains(new KeyValuePair<string, string>("age", "0"))); @@ -333,7 +333,7 @@ namespace DotNetOpenAuth.Test.Messaging.Reflection { [TestMethod] public void ClearValues() { MessageDictionary target = this.MessageDescriptions.GetAccessor(this.message); - IDictionary<string, string> targetAsDictionary = ((IDictionary<string, string>)target); + IDictionary<string, string> targetAsDictionary = (IDictionary<string, string>)target; this.message.Name = "Andrew"; this.message.Age = 15; targetAsDictionary["extra"] = "value"; |