summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Test/OpenId/ChannelElements
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2008-11-11 20:27:50 -0800
committerAndrew <andrewarnott@gmail.com>2008-11-11 20:27:50 -0800
commit3e75e9c22a07a079103b53fc38a985ab66384d0d (patch)
tree2262fbdca4a861129743e9f7784cea061bf22b06 /src/DotNetOpenAuth.Test/OpenId/ChannelElements
parente8ab62f93adad1205fa572285a403e8b91e2ccf5 (diff)
downloadDotNetOpenAuth-3e75e9c22a07a079103b53fc38a985ab66384d0d.zip
DotNetOpenAuth-3e75e9c22a07a079103b53fc38a985ab66384d0d.tar.gz
DotNetOpenAuth-3e75e9c22a07a079103b53fc38a985ab66384d0d.tar.bz2
Added association messages.
Diffie-Hellman associations seem to be working according to the test. But lots of refactoring is probably in order.
Diffstat (limited to 'src/DotNetOpenAuth.Test/OpenId/ChannelElements')
-rw-r--r--src/DotNetOpenAuth.Test/OpenId/ChannelElements/KeyValueFormEncodingTests.cs2
-rw-r--r--src/DotNetOpenAuth.Test/OpenId/ChannelElements/OpenIdChannelTests.cs4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/DotNetOpenAuth.Test/OpenId/ChannelElements/KeyValueFormEncodingTests.cs b/src/DotNetOpenAuth.Test/OpenId/ChannelElements/KeyValueFormEncodingTests.cs
index e625499..fff1392 100644
--- a/src/DotNetOpenAuth.Test/OpenId/ChannelElements/KeyValueFormEncodingTests.cs
+++ b/src/DotNetOpenAuth.Test/OpenId/ChannelElements/KeyValueFormEncodingTests.cs
@@ -67,7 +67,7 @@ namespace DotNetOpenAuth.Test.OpenId.ChannelElements {
}
if ((mode & TestMode.Encoder) == TestMode.Encoder) {
var e = this.keyValueForm.GetBytes(dict);
- Assert.IsTrue(TestUtilities.AreEquivalent(e, kvform), "Encoder did not produced expected result.");
+ Assert.IsTrue(MessagingUtilities.AreEquivalent(e, kvform), "Encoder did not produced expected result.");
}
}
diff --git a/src/DotNetOpenAuth.Test/OpenId/ChannelElements/OpenIdChannelTests.cs b/src/DotNetOpenAuth.Test/OpenId/ChannelElements/OpenIdChannelTests.cs
index 898e1ce..ef0ec53 100644
--- a/src/DotNetOpenAuth.Test/OpenId/ChannelElements/OpenIdChannelTests.cs
+++ b/src/DotNetOpenAuth.Test/OpenId/ChannelElements/OpenIdChannelTests.cs
@@ -67,7 +67,7 @@ namespace DotNetOpenAuth.Test.OpenId.ChannelElements {
Assert.AreEqual(expectedContentType, directResponse.Headers[HttpResponseHeader.ContentType]);
byte[] actualBytes = new byte[directResponse.ResponseStream.Length];
directResponse.ResponseStream.Read(actualBytes, 0, actualBytes.Length);
- Assert.IsTrue(TestUtilities.AreEquivalent(expectedBytes, actualBytes));
+ Assert.IsTrue(MessagingUtilities.AreEquivalent(expectedBytes, actualBytes));
}
/// <summary>
@@ -83,7 +83,7 @@ namespace DotNetOpenAuth.Test.OpenId.ChannelElements {
Response response = new Response {
ResponseStream = new MemoryStream(kvf.GetBytes(fields)),
};
- Assert.IsTrue(TestUtilities.AreEquivalent(fields, this.accessor.ReadFromResponseInternal(response)));
+ Assert.IsTrue(MessagingUtilities.AreEquivalent(fields, this.accessor.ReadFromResponseInternal(response)));
}
}
}