aspnetcore/test/Microsoft.AspNetCore.Mvc.Co.../Internal
Ryan Nowak 531c11df2a Fix 5594 - ExceptionHandled + Result is broken
This change ensures that setting ExceptionContext.Result will always
execute if set. The problem with 1.1.0 is that when we had a real short
circuit the wrong set of conditions were checked. I suspect that when you
set ExceptionFilter.Result and didn't short circuit that result filters
were also running (which is a bug).

Added a few tests that verify that the result doesn't trigger result
filters.

I did some general cleanup on this code path to make the state transitions
more clear.

No exception was thrown -> BeginResult
Exception was handled -> ExceptionHandled
Exception was not handled -> gets rethrown
2017-02-13 07:58:32 -08:00
..
AcceptHeaderParserTest.cs Fixes a parsing bug with the AcceptHeaderParser 2017-01-23 13:12:40 -08:00
ActionConstraintCacheTest.cs
AttributeRouteTest.cs
AttributeRoutingTest.cs Updating to netcoreapp1.1 2016-10-13 11:21:09 -07:00
AuthorizationApplicationModelProviderTest.cs
ClientValidatorCacheTest.cs
ControllerActionDescriptorBuilderTest.cs
ControllerActionDescriptorProviderTests.cs
ControllerActionInvokerCacheTest.cs
ControllerActionInvokerTest.cs Fix 5594 - ExceptionHandled + Result is broken 2017-02-13 07:58:32 -08:00
DefaultApplicationModelProviderTest.cs [Fixes #5352] When replacing Controller.Dispose with an explicit implementation the base Dispose is an action 2016-11-04 09:34:30 -07:00
DefaultAssemblyPartDiscoveryProviderTest.cs Modified exception message for duplicate keys exception in CandidateResolver 2016-11-07 11:16:11 -08:00
DefaultBindingMetadataProviderTest.cs
DefaultCollectionValidationStrategyTest.cs
DefaultComplexObjectValidationStrategyTest.cs
DefaultControllerArgumentBinderTests.cs
DefaultModelValidatorProviderTest.cs
DefaultObjectValidatorTests.cs Replace HashSet with a Hybrid HashSet/List 2016-10-24 14:47:49 -07:00
ElementalValueProviderTests.cs
ExplicitIndexCollectionValidationStrategyTest.cs
FilterProviderTest.cs
HttpMethodActionConstraintTest.cs
MiddlewareFilterBuilderTest.cs
MiddlewareFilterConfigurationProviderTest.cs Throw an exception if configurationType to CreateConfigureDelegate is abstract/has no parameterless ctor 2016-11-08 14:16:03 -08:00
MiddlewareFilterTest.cs
ObjectMethodExecutorTest.cs
PrefixContainerTest.cs
ReferenceEqualityComparerTest.cs
ResponseCacheFilterTest.cs Add support for VaryByQueryKey #2894 2016-10-18 12:31:04 -07:00
ResponseContentTypeHelperTest.cs
ShortFormDictionaryValidationStrategyTest.cs
ValidatorCacheTest.cs