diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2008-12-21 10:22:23 -0800 |
---|---|---|
committer | Andrew <andrewarnott@gmail.com> | 2008-12-21 10:22:23 -0800 |
commit | 08ab45d4b14b9360cfe2ad9b667cf7c0acf86c98 (patch) | |
tree | a7e4659613a3b05874df95fdbbcccafceabf1539 /src/DotNetOpenAuth.Test/OpenId/Extensions/SimpleRegistrationTests.cs | |
parent | 9d7dcf58fe0974d0beb7ca29608827b3efdab051 (diff) | |
download | DotNetOpenAuth-08ab45d4b14b9360cfe2ad9b667cf7c0acf86c98.zip DotNetOpenAuth-08ab45d4b14b9360cfe2ad9b667cf7c0acf86c98.tar.gz DotNetOpenAuth-08ab45d4b14b9360cfe2ad9b667cf7c0acf86c98.tar.bz2 |
Cleaned up hundreds of StyleCop warnings.
Diffstat (limited to 'src/DotNetOpenAuth.Test/OpenId/Extensions/SimpleRegistrationTests.cs')
-rw-r--r-- | src/DotNetOpenAuth.Test/OpenId/Extensions/SimpleRegistrationTests.cs | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/src/DotNetOpenAuth.Test/OpenId/Extensions/SimpleRegistrationTests.cs b/src/DotNetOpenAuth.Test/OpenId/Extensions/SimpleRegistrationTests.cs index 7f2592e..c41ccb8 100644 --- a/src/DotNetOpenAuth.Test/OpenId/Extensions/SimpleRegistrationTests.cs +++ b/src/DotNetOpenAuth.Test/OpenId/Extensions/SimpleRegistrationTests.cs @@ -1,20 +1,27 @@ -namespace DotNetOpenAuth.Test.OpenId.Extensions {
+//-----------------------------------------------------------------------
+// <copyright file="SimpleRegistrationTests.cs" company="Andrew Arnott">
+// Copyright (c) Andrew Arnott. All rights reserved.
+// </copyright>
+//-----------------------------------------------------------------------
+
+namespace DotNetOpenAuth.Test.OpenId.Extensions {
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
+ using DotNetOpenAuth.OpenId;
using DotNetOpenAuth.OpenId.Extensions.SimpleRegistration;
using Microsoft.VisualStudio.TestTools.UnitTesting;
- using DotNetOpenAuth.OpenId;
[TestClass]
public class SimpleRegistrationTests : ExtensionTestBase {
[TestMethod]
public void Simple() {
- Roundtrip(Protocol.Default,
- new[] { new ClaimsRequest() { Nickname = DemandLevel.Request } },
- new[] { new ClaimsResponse() { Nickname = "Andrew" } });
+ ClaimsRequest request = new ClaimsRequest() { Nickname = DemandLevel.Request };
+ ClaimsResponse response = new ClaimsResponse(Constants.sreg_ns);
+ response.Nickname = "Andrew";
+ Roundtrip(Protocol.Default, new[] { request }, new[] { response });
}
////[TestMethod]
|