aspnetcore/test/Microsoft.AspNet.Mvc.Core.Test
Ryan Nowak 7aa5967cd4 Fix #2859 - Correct UrlHelper for special tokens
This change restores a link generation behavior from MVC5 and earlier
where 'action' and 'controller' values are special cased-when using
Url.Action(...).

The change is that in-effect 'action' and 'controller' are always included
in the route values given to the routing system. Passing a null value into
the Url.Action(...) method means that the ambient value for that token
should be used explicitly. This means that the 'action' and 'controller'
tokens become sticky, even when something to the lexical left in the URL
(like area) changes.
2015-08-13 17:04:21 -07:00
..
ApplicationModel
Authorization
Internal
ModelBinding Remove IScopedInstance - use AsyncLocal for ActionContext and 2015-08-13 15:58:29 -07:00
Properties
Routing
TestFiles
ActionExecutorTests.cs
ActionFilterAttributeTests.cs
BadRequestObjectResultTests.cs
BadRequestResultTests.cs
BindAttributeTest.cs
ChallengeResultTest.cs
ConsumesAttributeTests.cs
ContentResultTest.cs
ControllerActionArgumentBinderTests.cs
ControllerActionDescriptorBuilderTest.cs Fix #2837 - Make it easier to get ParameterInfo/PropertyInfo 2015-08-03 10:53:33 -07:00
ControllerActionDescriptorProviderTests.cs
ControllerActionInvokerTest.cs Remove IScopedInstance - use AsyncLocal for ActionContext and 2015-08-13 15:58:29 -07:00
CreatedAtActionResultTests.cs Remove IScopedInstance - use AsyncLocal for ActionContext and 2015-08-13 15:58:29 -07:00
CreatedAtRouteResultTests.cs Remove IScopedInstance - use AsyncLocal for ActionContext and 2015-08-13 15:58:29 -07:00
CreatedResultTests.cs Remove IScopedInstance - use AsyncLocal for ActionContext and 2015-08-13 15:58:29 -07:00
DefaultActionSelectorTests.cs
DefaultAssemblyProviderTests.cs react to DNX renames 2015-07-31 13:48:22 -07:00
DefaultControllerActivatorTest.cs
DefaultControllerFactoryTest.cs Remove IScopedInstance - use AsyncLocal for ActionContext and 2015-08-13 15:58:29 -07:00
DefaultControllerTypeProviderTest.cs
DefaultFilterProviderTest.cs
EmptyResultTests.cs
ExcludeTypeValidationFilterExtensionsTests.cs
FilePathResultTest.cs
FileResultTest.cs
FileStreamResultTest.cs
FilterCollectionExtensionsTest.cs
FlushReportingStream.cs
FormatFilterTest.cs Remove IScopedInstance - use AsyncLocal for ActionContext and 2015-08-13 15:58:29 -07:00
FormatterMappingsTest.cs
HttpMethodProviderAttributesTests.cs
HttpNotFoundObjectResultTest.cs Remove IScopedInstance - use AsyncLocal for ActionContext and 2015-08-13 15:58:29 -07:00
HttpNotFoundResultTests.cs
HttpOkObjectResultTest.cs Remove IScopedInstance - use AsyncLocal for ActionContext and 2015-08-13 15:58:29 -07:00
HttpOkResultTest.cs
HttpResponseStreamWriterTest.cs
HttpStatusCodeResultTests.cs
HttpUnauthorizedResultTests.cs
KnownRouteValueConstraintTests.cs
Microsoft.AspNet.Mvc.Core.Test.xproj
MockMvcOptionsAccessor.cs
ModelBindingHelperTest.cs
MvcCoreServiceCollectionExtensionsTest.cs React to namespace change in DI. 2015-08-11 14:10:30 -07:00
MvcOptionsTest.cs
MvcRouteHandlerTests.cs Remove IScopedInstance - use AsyncLocal for ActionContext and 2015-08-13 15:58:29 -07:00
NoContentFormatterTests.cs
NonDisposableStreamTest.cs
ObjectResultTests.cs Remove IScopedInstance - use AsyncLocal for ActionContext and 2015-08-13 15:58:29 -07:00
OutputFormatterTests.cs
ProducesAttributeTests.cs
RedirectResultTest.cs Remove IScopedInstance - use AsyncLocal for ActionContext and 2015-08-13 15:58:29 -07:00
RedirectToActionResultTest.cs Make saving TempData operate via a filter 2015-08-07 16:53:11 -07:00
RedirectToRouteResultTest.cs Make saving TempData operate via a filter 2015-08-07 16:53:11 -07:00
RequireHttpsAttributeTests.cs
ResponseCacheAttributeTest.cs
ResponseCacheFilterTest.cs
ResultFilterAttributeTest.cs
RouteDataActionConstraintTest.cs
RouteTemplateProviderAttributesTest.cs
SerializableErrorTests.cs
ServiceBasedControllerActivatorTest.cs
SimpleTypeExcludeFilterTest.cs
StreamOutputFormatterTest.cs
StringOutputFormatterTests.cs
TestController.cs
UrlHelperTest.cs Fix #2859 - Correct UrlHelper for special tokens 2015-08-13 17:04:21 -07:00
project.json