summaryrefslogtreecommitdiffstats
path: root/src/DotNetOpenAuth.Test/Messaging
Commit message (Collapse)AuthorAgeFilesLines
* Change number of iterations on test to 100000 so we are actually measuring ↵lcalabrese2015-08-071-1/+1
| | | | something significant.
* Test greenDavid Christiansen2015-01-052-3/+3
| | | | - Packages update
* Closes #356, Closes #357, Closes #358David Christiansen2015-01-043-6/+7
|
* Consolidates two OpenID memory app storesAndrew Arnott2013-03-281-1/+1
| | | | | | | The StandardRelyingPartyApplicationStore and StandardProviderApplicationStore were equivalent, and thus redundant. There was also nothing OpenID specific about them. So this consolidates and renames these types to better reflect their general purpose.
* Lots of StyleCop fixes.Andrew Arnott2013-03-261-31/+31
|
* Just 27 failures.Andrew Arnott2013-03-241-5/+4
|
* Fixes about a dozen more tests.Andrew Arnott2013-03-221-1/+1
|
* Fixes another unit testAndrew Arnott2013-03-221-15/+15
|
* Many more unit test build fixes and product touch-ups.Andrew Arnott2013-03-072-25/+33
|
* Unit test build break fixes.Andrew Arnott2013-03-066-263/+53
|
* Unit test compile error fixes.Andrew Arnott2013-03-034-47/+53
|
* Finished fixing build breaks except in test projects.Andrew Arnott2013-01-271-5/+0
|
* Replaces IDirectWebRequestHandler with HttpClient in DNOA.Core.Andrew Arnott2012-12-291-38/+0
| | | | Build breaks are everywhere outside of just this one project as a result.
* Removes more remnants of Code Contracts.Andrew Arnott2012-12-262-3/+2
|
* Replaces DNOA's internal Requires class with Validation NuGet package.Andrew Arnott2012-12-261-0/+1
|
* Merge branch 'v4.1'Andrew Arnott2012-12-021-0/+11
|\ | | | | | | | | | | | | Conflicts: src/DotNetOpenAuth.OAuth2.ResourceServer/OAuth2/StandardAccessTokenAnalyzer.cs src/DotNetOpenAuth.Test/OAuth2/OAuth2TestBase.cs src/version.txt
| * Fixes AsHttpResposneMessage() exception when response has no stream.Andrew Arnott2012-11-021-0/+11
| | | | | | | | Fixes #226
* | Merge branch 'v4.1'Andrew Arnott2012-10-141-1/+29
|\ \ | |/
| * Added OutgoingWebResponse.AsHttpResponseMessage extension method.Andrew Arnott2012-10-091-1/+29
| |
* | Fixing one more place it was missed, also changing to OPTIONSMatt Hawley2012-08-101-3/+3
| |
* | Adding PATCH and OPTION http verbsMatt Hawley2012-08-101-3/+9
|/
* Moved some JSON serialization logic to MessagingUtilities and added a unit test.Andrew Arnott2012-04-281-0/+22
|
* Fixes access denial errors from OAuth 2 resource servers so they include the ↵Andrew Arnott2012-04-221-1/+1
| | | | | | required parameters in their WWW-Authenticate headers. Fixes #124
* Replaced a bunch of TestCase attribute usages with simply Test.Andrew Arnott2012-04-0414-67/+67
|
* Applied all the StyleCop fixes necessary by the StyleCop 4.7 upgrade.Andrew Arnott2012-03-101-2/+2
|
* Replaced API requirements for HttpRequestInfo with HttpRequestBase (new in ↵Andrew Arnott2012-03-052-51/+15
| | | | | | .NET 3.5 SP1). This makes us more friendly to MVC as well as mock-based unit testing.
* Changed all uses of [TestCase] to [Test] to better emulate recommended NUnit ↵Andrew Arnott2012-02-2516-94/+94
| | | | patterns.
* Updated all copyright notices to reflect copyright assignment to Outercurve.Andrew Arnott2012-02-0519-38/+38
| | | | Fixes #66
* Added more support for HttpContextBase, HttpResponseBase, etc.Andrew Arnott2012-01-291-3/+3
|
* All product assemblies build without ccrewrite.exe now.Andrew Arnott2011-09-181-5/+5
|
* Trying to fix up configuration section code.Andrew Arnott2011-07-101-2/+2
|
* Added OutgoingWebResponse.Respond method to replace its Send method, and ↵Andrew Arnott2011-06-231-4/+4
| | | | | | avoid the ThreadAbortException that is no longer the recommended approach. Fixes #40
* FxCop fixes.Andrew Arnott2011-05-281-3/+3
|
* Merge branch 'v3.4' into oauth2Andrew Arnott2011-04-061-1/+1
|\ | | | | | | | | | | | | Conflicts: projecttemplates/RelyingPartyLogic/OAuthAuthorizationManager.cs samples/DotNetOpenAuth.ApplicationBlock/DotNetOpenAuth.ApplicationBlock.csproj samples/OAuthResourceServer/Code/OAuthAuthorizationManager.cs
| * Attempt to make a jittery test more reliable.Andrew Arnott2010-12-291-1/+1
| |
* | Merge branch 'v3.4' into oauth2Andrew Arnott2010-12-232-1/+3
|\ \ | |/ | | | | | | | | | | Conflicts: samples/OAuthServiceProvider/Code/DatabaseTokenManager.cs samples/OAuthServiceProvider/Code/OAuthToken.cs src/DotNetOpenAuth/Messaging/MessagingStrings.resx
| * Added a response stream to 301 redirect messages so that filters like ↵Andrew Arnott2010-10-201-0/+2
| | | | | | | | WebSense will let them through.
| * Increase constant time string equality check method tolerance to reduce ↵Andrew Arnott2010-08-111-1/+1
| | | | | | | | false test failures.
* | Merge branch 'v3.4' into oauth2Andrew Arnott2010-07-212-1/+78
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | Conflicts: projecttemplates/RelyingPartyDatabase/RelyingPartyDatabase.dbproj projecttemplates/RelyingPartyLogic/CreateDatabase.sql samples/OAuthConsumerWpf/OAuthConsumerWpf.csproj src/DotNetOpenAuth.Test/Messaging/MessagingUtilitiesTests.cs src/DotNetOpenAuth.Test/OAuth/ChannelElements/OAuthChannelTests.cs src/DotNetOpenAuth/Messaging/MessagingStrings.resx src/DotNetOpenAuth/Messaging/MessagingUtilities.cs src/DotNetOpenAuth/OAuth/ChannelElements/OAuthChannel.cs src/version.txt
| * Added NUnit runner to the repo.Andrew Arnott2010-07-191-1/+1
| |
| * StyleCop fixes.Andrew Arnott2010-07-191-8/+9
| |
| * Added a bit more timing text to the test.Andrew Arnott2010-07-161-0/+1
| |
| * Fixed message expiration check to also disallow post-dated timestamps.Andrew Arnott2010-07-151-1/+15
| | | | | | | | This is a security mitigation for those who are trying to brute force a message signature, and might otherwise give themselves a huge time window by setting a nonce date far into the future.
| * Fix for timing-dependent HMAC signature equality check.Andrew Arnott2010-07-141-2/+62
| |
* | Merge branch 'v3.4' into oauth2Andrew Arnott2010-07-091-2/+1
|\ \ | |/ | | | | | | | | | | Conflicts: samples/OAuthConsumer/Web.config src/DotNetOpenAuth/Configuration/DotNetOpenAuth.xsd src/DotNetOpenAuth/DotNetOpenAuth.csproj
| * Removed dependency on publicize.exe, which crashes now in some branches due ↵Andrew Arnott2010-07-091-2/+1
| | | | | | | | to bugs, and publicize.exe doesn't appear to be supported by Microsoft any more, so we might as well get off it.
* | Merge branch 'v3.4' into oauth2Andrew Arnott2010-06-081-2/+2
|\ \ | |/ | | | | | | | | Conflicts: src/DotNetOpenAuth/Configuration/MessagingElement.cs src/DotNetOpenAuth/Messaging/Reflection/MessagePart.cs
| * Fix for outgoing check_auth messages so they don't modify positive assertion ↵Andrew Arnott2010-05-281-2/+2
| | | | | | | | | | | | messages causing invalid signatures. Fixes Trac #198
* | JSON messages now work. :)Andrew Arnott2010-06-041-0/+31
| |
* | Added symmetric key encryption/decryption utility methods.Andrew Arnott2010-05-311-2/+13
| |
* | Merge branch 'v3.4' into oauthWRAPAndrew Arnott2010-05-171-1/+6
|\ \ | |/
| * Fix for UIRequest.Icon deserialization exception due to nullable struct types.Andrew Arnott2010-05-081-1/+6
| | | | | | | | Fixes Trac #195
* | StandardMessageFactory now has an initializing virtual method instead of ↵Andrew Arnott2010-02-221-13/+21
| | | | | | | | doing a bunch of hard-coded work in the constructor.
* | Added early version of StandardMessageFactory.Andrew Arnott2010-02-222-0/+180
|/
* Merge branch 'v3.3' into v3.4Andrew Arnott2010-02-132-1/+4
|\ | | | | | | | | | | Conflicts: lib/DotNetOpenAuth.BuildTasks.dll lib/DotNetOpenAuth.BuildTasks.pdb
| * Fixed parsing the Content-Type header in a couple places.Andrew Arnott2010-02-022-1/+4
| | | | | | | | Fixed a few failing unit tests.
* | Merge branch 'master' into master-Dev10Andrew Arnott2010-01-173-99/+85
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | Conflicts: build.proj lib/DotNetOpenAuth.BuildTasks.dll lib/DotNetOpenAuth.BuildTasks.pdb src/DotNetOpenAuth.Test/Messaging/MessagingUtilitiesTests.cs src/DotNetOpenAuth.Test/Messaging/MultiPartPostPartTests.cs src/DotNetOpenAuth.sln src/DotNetOpenAuth.vsmdi src/DotNetOpenAuth/OAuth/OAuthStrings.Designer.cs
| * OAuth now supports HEAD HTTP method, and won't throw unhandled exception on ↵Andrew Arnott2010-01-121-0/+46
| | | | | | | | | | | | unrecognized HTTP methods any more. Fixes Trac #169
| * Fixes StyleCop issues.Andrew Arnott2010-01-111-1/+1
| |
| * Fixed multipart POST method to indicate files are not form-data.Andrew Arnott2010-01-111-0/+9
| |
| * Fixed multipart POST so that it doesn't include a leading \r\n, which ↵Andrew Arnott2010-01-111-0/+30
| | | | | | | | apparently is NOT valid.
| * Ridding the duplicate file entry.Andrew Arnott2010-01-111-99/+0
| |
| * Merge branch 'v3.2' into v3.3Andrew Arnott2010-01-071-3/+3
| |\
| | * Merge branch 'v3.1' into v3.2Andrew Arnott2010-01-071-3/+3
| | |\
| | | * Merge branch 'v3.0' into v3.1Andrew Arnott2010-01-071-3/+3
| | | |\ | | | | | | | | | | | | | | | | | | | | Conflicts: src/DotNetOpenAuth.Test/Messaging/Reflection/MessageDictionaryTests.cs
| | | | * Fixed new StyleCop issues that cropped up (by installing Dev10?)Andrew Arnott2010-01-071-3/+3
| | | | |
| | * | | Merge branch 'v3.1' into v3.2Andrew Arnott2009-12-131-0/+56
| | |\ \ \ | | | |/ /
| | | * | Made the last commit's fix unit testable, added 4 unit tests, and satisfied ↵Andrew Arnott2009-12-091-0/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | StyleCop. Conflicts: src/DotNetOpenAuth/Messaging/HttpRequestInfo.cs
* | | | | Fixed a bunch of NUnit warnings.Andrew Arnott2010-01-092-3/+3
| | | | |
* | | | | Fixed new StyleCop issues that cropped up (by installing Dev10?)Andrew Arnott2010-01-061-3/+3
| | | | |
* | | | | Converted all the rest of the tests over to NUnit.Andrew Arnott2010-01-0619-209/+204
|/ / / /
* | | | Made the last commit's fix unit testable, added 4 unit tests, and satisfied ↵Andrew Arnott2009-12-091-0/+56
| | | | | | | | | | | | | | | | StyleCop.
* | | | Merge branch 'v3.2'Andrew Arnott2009-11-031-0/+36
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/DotNetOpenAuth.Test/DotNetOpenAuth.Test.csproj src/DotNetOpenAuth.sln src/DotNetOpenAuth/OpenId/Provider/IProviderBehavior.cs src/DotNetOpenAuth/OpenId/RelyingParty/IRelyingPartyBehavior.cs
| * | | Merge branch 'v3.1' into v3.2Andrew Arnott2009-11-031-0/+36
| |\ \ \ | | |/ / | | | | | | | | | | | | Conflicts: src/version.txt
| | * | Merge branch 'v3.0' into v3.1Andrew Arnott2009-11-031-0/+36
| | |\ \ | | | |/ | | | | | | | | | | | | Conflicts: src/version.txt
| | | * Suppress the byte order mark in direct response messages.Andrew Arnott2009-09-251-0/+36
| | | | | | | | | | | | | | | | Fixes trac #131.
* | | | Merge branch 'master' into openiduxAndrew Arnott2009-11-014-5/+10
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/DotNetOpenAuth.vsmdi src/DotNetOpenAuth/InfoCard/InfoCardSelector.cs src/DotNetOpenAuth/OAuth/ServiceProvider.cs src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdRelyingPartyAjaxControlBase.cs src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdRelyingPartyControlBase.cs
| * \ \ \ Merge branch 'master' into contractsAndrew Arnott2009-10-282-0/+198
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/DotNetOpenAuth.vsmdi src/DotNetOpenAuth/GlobalSuppressions.cs src/DotNetOpenAuth/InfoCard/Token/TokenUtility.cs src/DotNetOpenAuth/Messaging/MessagingStrings.resx src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdAjaxTextBox.cs src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdRelyingPartyControlBase.cs
| * \ \ \ \ Merge branch 'master' into contractsAndrew Arnott2009-09-012-1/+45
| |\ \ \ \ \ | | | |/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/DotNetOpenAuth.Test/Mocks/MockIdentifier.cs src/DotNetOpenAuth.Test/OpenId/Provider/OpenIdProviderTests.cs src/DotNetOpenAuth.vsmdi src/DotNetOpenAuth/DotNetOpenAuth.csproj src/DotNetOpenAuth/Messaging/MessageReceivingEndpoint.cs src/DotNetOpenAuth/OAuth/ChannelElements/OAuthServiceProviderMessageFactory.cs src/DotNetOpenAuth/OAuth/Protocol.cs src/DotNetOpenAuth/OAuth/ServiceProvider.cs src/DotNetOpenAuth/OpenId/Association.cs src/DotNetOpenAuth/OpenId/Behaviors/PpidGeneration.cs src/DotNetOpenAuth/OpenId/NoDiscoveryIdentifier.cs src/DotNetOpenAuth/OpenId/Provider/HostProcessedRequest.cs src/DotNetOpenAuth/OpenId/Provider/IDirectedIdentityIdentifierProvider.cs src/DotNetOpenAuth/OpenId/Provider/PrivatePersonalIdentifierProviderBase.cs src/DotNetOpenAuth/OpenId/Realm.cs src/DotNetOpenAuth/OpenId/RelyingParty/AuthenticationRequest.cs src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdAjaxTextBox.cs src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdRelyingPartyAjaxControlBase.cs src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdTextBox.cs src/DotNetOpenAuth/OpenId/RelyingParty/PositiveAuthenticationResponseSnapshot.cs src/DotNetOpenAuth/OpenId/UriIdentifier.cs src/DotNetOpenAuth/OpenId/XriIdentifier.cs src/DotNetOpenAuth/Util.cs
| * | | | | Fixed up all tests so they pass.Andrew Arnott2009-06-252-0/+2
| | | | | |
| * | | | | Merge branch 'master' into contractsAndrew Arnott2009-06-253-1/+132
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/DotNetOpenAuth.vsmdi src/DotNetOpenAuth/Configuration/TypeConfigurationCollection.cs src/DotNetOpenAuth/Configuration/TypeConfigurationElement.cs src/DotNetOpenAuth/DotNetOpenAuth.csproj src/DotNetOpenAuth/Messaging/HttpRequestInfo.cs src/DotNetOpenAuth/Messaging/Reflection/MessagePart.cs src/DotNetOpenAuth/Messaging/Reflection/ValueMapping.cs src/DotNetOpenAuth/OAuth/ChannelElements/OAuthChannel.cs src/DotNetOpenAuth/OAuth/ConsumerBase.cs src/DotNetOpenAuth/OAuth/Messages/MessageBase.cs src/DotNetOpenAuth/OAuth/Messages/UnauthorizedTokenResponse.cs src/DotNetOpenAuth/OAuth/ServiceProvider.cs src/DotNetOpenAuth/OpenId/Protocol.cs src/DotNetOpenAuth/OpenId/Provider/AutoResponsiveRequest.cs src/DotNetOpenAuth/OpenId/Provider/HostProcessedRequest.cs src/DotNetOpenAuth/OpenId/Provider/IHostProcessedRequest.cs src/DotNetOpenAuth/OpenId/Provider/Request.cs src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdRelyingParty.cs src/DotNetOpenAuth/OpenId/RelyingParty/ServiceEndpoint.cs
| * | | | | | Switched almost entirely over to Code Contracts across the entire library.Andrew Arnott2009-05-232-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | But some unit tests still fail, and there are other issues.
* | | | | | | Fixed build break introduced in 0f5556420674886b14723898890f3b492a3854a8.Andrew Arnott2009-10-291-1/+1
| |_|_|/ / / |/| | | | |
* | | | | | FxCop fixes.Andrew Arnott2009-10-272-12/+111
| | | | | |
* | | | | | Added multi-part POST unit tests.Andrew Arnott2009-09-181-0/+99
| |_|/ / / |/| | | | | | | | | | | | | | Still doesn't actually work against IIS though. Don't yet know why.
* | | | | Merge branch 'v3.1' into v3.2Andrew Arnott2009-08-312-1/+45
|\ \ \ \ \ | |_|/ / / |/| | / / | | |/ / | |/| | | | | | | | | | Conflicts: src/DotNetOpenAuth.Test/OpenId/AuthenticationTests.cs src/DotNetOpenAuth.vsmdi src/DotNetOpenAuth/OpenId/RelyingParty/OpenIdRelyingParty.cs
| * | | Fixed failing unit test due to recent new exception wrapping.Andrew Arnott2009-08-261-1/+1
| | | |
| * | | Fixed public facing URL parsing bug when IPv6 addresses are explicitly used ↵unknown2009-08-061-0/+44
| | | | | | | | | | | | | | | | by the RP.
* | | | Merge branch 'v3.1'Andrew Arnott2009-06-182-1/+2
|\ \ \ \ | |/ / /
| * | | Cleaned up distinction between public and rewritten request URLs.Andrew Arnott2009-06-182-1/+2
| |/ /
* | | Fixed build break in test library, and set correct text in sample OP login ↵Andrew Arnott2009-06-151-0/+1
| | | | | | | | | | | | button.
* | | Progress on moving OpenIdAjaxTextBox-like behavior into the common base class.Andrew Arnott2009-06-121-0/+129
|/ /
* | Merge branch 'v3.0' into v3.1Andrew Arnott2009-05-212-5/+25
|\ \ | |/
| * Fixes OpenID and OAuth URL data string encoding to follow RFC 3986 instead ↵Andrew Arnott2009-05-112-5/+25
| | | | | | | | | | | | of RFC 2396. While this probably won't fix any interop issues with OpenID, it IS anticipated to fix interop issues with OAuth since the generated signature base string will be different if any of these symbols show up in the string: !*'()
* | Turned on runtime contract checking for debug builds and fixed the errors ↵Andrew Arnott2009-04-191-3/+12
|/ | | | that it caught.
* Added convenience method for sending OutgoingWebResponse instances to an ↵Andrew Arnott2009-03-271-2/+7
| | | | HttpListenerResponse.
* Renamed a couple of methods:Andrew Arnott2009-03-152-8/+8
| | | | | PrepareMessageForSending -> ProcessOutgoingMessage VerifyMessageAfterReceiving -> ProcessIncomingMessage
* Renamed some methods on the Channel class to be more consistent.Andrew Arnott2009-03-151-1/+1
|
* Renamed UserAgentResponse to OutgoingWebResponse, and DirectWebResponse to ↵Andrew Arnott2009-03-152-4/+4
| | | | IncomingWebResponse.
* Refactored MessageDescription to be per-Channel instead of appdomain static.Andrew Arnott2009-03-143-37/+37
| | | | This allows for special scenarios (like OSIS tests) where individual tests might need to contrive special message serialization rules.