aspnetcore/test
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
..
Microsoft.AspNetCore.Mvc.Abstractions.Test Pinning versions for 1.1.0 release 2016-11-18 12:12:52 -08:00
Microsoft.AspNetCore.Mvc.ApiExplorer.Test Pinning versions for 1.1.0 release 2016-11-18 12:12:52 -08:00
Microsoft.AspNetCore.Mvc.Core.Test Fix 5594 - ExceptionHandled + Result is broken 2017-02-13 07:58:32 -08:00
Microsoft.AspNetCore.Mvc.Cors.Test Pinning versions for 1.1.0 release 2016-11-18 12:12:52 -08:00
Microsoft.AspNetCore.Mvc.DataAnnotations.Test Pinning versions for 1.1.0 release 2016-11-18 12:12:52 -08:00
Microsoft.AspNetCore.Mvc.Formatters.Json.Test Pinning versions for 1.1.0 release 2016-11-18 12:12:52 -08:00
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test Pinning versions for 1.1.0 release 2016-11-18 12:12:52 -08:00
Microsoft.AspNetCore.Mvc.FunctionalTests Order IgnoreAntiforgeryTokenAttribute and add test (#5765) 2017-02-08 09:37:43 -08:00
Microsoft.AspNetCore.Mvc.IntegrationTests [Fixes #5698] Regression in 1.1 model binding for model types without default constructor 2017-02-10 11:10:02 -08:00
Microsoft.AspNetCore.Mvc.Localization.Test Pinning versions for 1.1.0 release 2016-11-18 12:12:52 -08:00
Microsoft.AspNetCore.Mvc.Razor.Host.Test Pinning versions for 1.1.0 release 2016-11-18 12:12:52 -08:00
Microsoft.AspNetCore.Mvc.Razor.Test Pinning versions for 1.1.0 release 2016-11-18 12:12:52 -08:00
Microsoft.AspNetCore.Mvc.TagHelpers.Test Pinning versions for 1.1.0 release 2016-11-18 12:12:52 -08:00
Microsoft.AspNetCore.Mvc.Test Pinning versions for 1.1.0 release 2016-11-18 12:12:52 -08:00
Microsoft.AspNetCore.Mvc.TestCommon Pinning versions for 1.1.0 release 2016-11-18 12:12:52 -08:00
Microsoft.AspNetCore.Mvc.TestDiagnosticListener.Sources Pinning versions for 1.1.0 release 2016-11-18 12:12:52 -08:00
Microsoft.AspNetCore.Mvc.ViewFeatures.Test Do not cache expressions containing method calls 2017-02-10 14:50:09 -08:00
Microsoft.AspNetCore.Mvc.WebApiCompatShimTest Pinning versions for 1.1.0 release 2016-11-18 12:12:52 -08:00
WebSites Order IgnoreAntiforgeryTokenAttribute and add test (#5765) 2017-02-08 09:37:43 -08:00