diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2009-11-20 07:37:12 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2009-11-20 07:38:11 -0800 |
commit | fb7859c30960e142fc5e1c0a2ad0d6ca80ee23ad (patch) | |
tree | 78f531f7648c94b541df187391e85a47d69e0377 /src | |
parent | c81457905d6c91e77d494c04fe804914013bc215 (diff) | |
download | DotNetOpenAuth-fb7859c30960e142fc5e1c0a2ad0d6ca80ee23ad.zip DotNetOpenAuth-fb7859c30960e142fc5e1c0a2ad0d6ca80ee23ad.tar.gz DotNetOpenAuth-fb7859c30960e142fc5e1c0a2ad0d6ca80ee23ad.tar.bz2 |
Added some diagnostic logging to TestPublic test.
Diffstat (limited to 'src')
-rw-r--r-- | src/DotNetOpenAuth.Test/OpenId/DiffieHellmanTests.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth.Test/OpenId/DiffieHellmanTests.cs b/src/DotNetOpenAuth.Test/OpenId/DiffieHellmanTests.cs index fbbea71..426e19a 100644 --- a/src/DotNetOpenAuth.Test/OpenId/DiffieHellmanTests.cs +++ b/src/DotNetOpenAuth.Test/OpenId/DiffieHellmanTests.cs @@ -13,7 +13,7 @@ namespace DotNetOpenAuth.Test.OpenId { using Org.Mentalis.Security.Cryptography; [TestClass] - public class DiffieHellmanTests { + public class DiffieHellmanTests : OpenIdTestBase { [TestMethod] public void Test() { string s1 = Test1(); @@ -28,7 +28,9 @@ namespace DotNetOpenAuth.Test.OpenId { try { string line; + int lineNumber = 0; while ((line = reader.ReadLine()) != null) { + TestContext.WriteLine("\tLine {0}", ++lineNumber); string[] parts = line.Trim().Split(' '); byte[] x = Convert.FromBase64String(parts[0]); DiffieHellmanManaged dh = new DiffieHellmanManaged(AssociateDiffieHellmanRequest.DefaultMod, AssociateDiffieHellmanRequest.DefaultGen, x); |